svn commit: r356923 - stable/11/sys/dev/uart

2020-01-20 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jan 20 18:54:19 2020 New Revision: 356923 URL: https://svnweb.freebsd.org/changeset/base/356923 Log: MFC r336623 by mmacy: Fixes the interrupt storm in UART during the boot on ARMADA38X. The missing attribution of ns8250->busy_detect breaks the UART support.

svn commit: r356065 - head/sys/arm/arm

2019-12-24 Thread Luiz Otavio O Souza
Author: loos Date: Tue Dec 24 23:43:29 2019 New Revision: 356065 URL: https://svnweb.freebsd.org/changeset/base/356065 Log: Initialize the bounce pages list in armv[4|6] DMA maps. Fixes the crash on the first use of STAILQ_INSERT_TAIL() in add_bounce_page(). Sponsored by: Rubicon

svn commit: r356064 - stable/11/sys/arm/arm

2019-12-24 Thread Luiz Otavio O Souza
Author: loos Date: Tue Dec 24 23:20:18 2019 New Revision: 356064 URL: https://svnweb.freebsd.org/changeset/base/356064 Log: MFC r320001 by zbb: Fix typo in "Marvell" string Change Marwell to Marvell Pointed out by: Ravi Pokala Sponsored by: Rubicon Communications, LLC

svn commit: r355462 - in head/sys: conf dev/gpio

2019-12-06 Thread Luiz Otavio O Souza
Author: loos Date: Fri Dec 6 20:21:07 2019 New Revision: 355462 URL: https://svnweb.freebsd.org/changeset/base/355462 Log: Add a GPIO based MDIO bit-banging bus driver. Uses two GPIO pins as MDC (clock) and MDIO (bidirectional I/O), relies on mii_bitbang. Tested on SG-3200 where

Re: svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Luiz Otavio O Souza
On Fri, Dec 6, 2019 at 12:57 PM Hans Petter Selasky wrote: > > On 2019-12-06 13:55, Luiz Otavio O Souza wrote: > > Author: loos > > Date: Fri Dec 6 12:55:39 2019 > > New Revision: 355444 > > URL: https://svnweb.freebsd.org/changeset/base/355444 > >

Re: svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Luiz Otavio O Souza
On Fri, Dec 6, 2019 at 1:58 PM Ian Lepore wrote: > > On Fri, 2019-12-06 at 12:55 +, Luiz Otavio O Souza wrote: > > Author: loos > > Date: Fri Dec 6 12:55:39 2019 > > New Revision: 355444 > > URL: https://svnweb.freebsd.org/changeset/base/355444 > &g

svn commit: r355461 - head/sys/arm/mv

2019-12-06 Thread Luiz Otavio O Souza
Author: loos Date: Fri Dec 6 20:05:08 2019 New Revision: 355461 URL: https://svnweb.freebsd.org/changeset/base/355461 Log: Fix the ARM64 build, include the necessary header. While here, call device_delete_children() to detach and dealloc all the existent children and handle the child's

svn commit: r355444 - in head/sys: arm/mv arm64/conf conf

2019-12-06 Thread Luiz Otavio O Souza
Author: loos Date: Fri Dec 6 12:55:39 2019 New Revision: 355444 URL: https://svnweb.freebsd.org/changeset/base/355444 Log: Add the SPI driver for the Marvell Armada 37x0 SoC. Interrupt based driver, implements SPI mode and clock configuration. Tested on espressobin and SG-3200.

svn commit: r355409 - head/sys/arm/mv

2019-12-04 Thread Luiz Otavio O Souza
Author: loos Date: Thu Dec 5 02:01:47 2019 New Revision: 355409 URL: https://svnweb.freebsd.org/changeset/base/355409 Log: Fix the build, use the correct include path. Pointy hat to:loos Modified: head/sys/arm/mv/a37x0_iic.c Modified: head/sys/arm/mv/a37x0_iic.c

svn commit: r355408 - in head/sys: arm/mv arm64/conf conf

2019-12-04 Thread Luiz Otavio O Souza
Author: loos Date: Thu Dec 5 00:56:03 2019 New Revision: 355408 URL: https://svnweb.freebsd.org/changeset/base/355408 Log: Add the I2C driver for the Armada 37x0. This controller is a bit tricky as the STOP condition must be indicated in the last tranferred byte, some devices will not

svn commit: r355387 - stable/11/sys/dev/iicbus/twsi

2019-12-04 Thread Luiz Otavio O Souza
Author: loos Date: Wed Dec 4 13:28:17 2019 New Revision: 355387 URL: https://svnweb.freebsd.org/changeset/base/355387 Log: MFC r320159: Add the ofw_bus_get_node() callback in mv_twsi, it is mandatory for the ofw_iicbus usage. Sponsored by: Rubicon Communications, LLC (Netgate)

svn commit: r349578 - head/sys/dev/etherswitch/e6000sw

2019-07-01 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jul 1 13:41:37 2019 New Revision: 349578 URL: https://svnweb.freebsd.org/changeset/base/349578 Log: Add support for the Marvell 88E6190 11 ports switch. With more ports, some of the registers are shifted a bit to accommodate. This switch also adds two high

svn commit: r349521 - head/sys/dev/etherswitch/e6000sw

2019-06-28 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 28 22:19:50 2019 New Revision: 349521 URL: https://svnweb.freebsd.org/changeset/base/349521 Log: Add the 802.1q support for the Marvell e6000 series of ethernet switches. Tested on:espressobin, Clearfog, SG-3100 and others Sponsored by: Rubicon

svn commit: r349520 - in head: sbin/etherswitchcfg sys/dev/etherswitch

2019-06-28 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 28 22:12:43 2019 New Revision: 349520 URL: https://svnweb.freebsd.org/changeset/base/349520 Log: Add the 'drop tagged' flag support for ethernet switch ports. This is intended to drop all 802.1q tagged packets on a port. Sponsored by: Rubicon

Re: svn commit: r348882 - head/sys/dev/sdhci

2019-06-21 Thread Luiz Otavio O Souza
On Fri, 14 Jun 2019 at 05:25, Bjoern A. Zeeb wrote: > > On 10 Jun 2019, at 21:50, Luiz Otavio O Souza wrote: > > > Author: loos > > Date: Mon Jun 10 21:50:07 2019 > > New Revision: 348882 > > URL: https://svnweb.freebsd.org/changeset/base/348882 > > > >

svn commit: r348882 - head/sys/dev/sdhci

2019-06-10 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jun 10 21:50:07 2019 New Revision: 348882 URL: https://svnweb.freebsd.org/changeset/base/348882 Log: Add support for the GPIO SD Card VCC regulator/switch and the GPIO SD Card detection pins to the Marvell Xenon SDHCI controller. These features are enable by

svn commit: r348880 - in head/sys: arm/mv arm64/conf conf

2019-06-10 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jun 10 21:27:21 2019 New Revision: 348880 URL: https://svnweb.freebsd.org/changeset/base/348880 Log: Add the GPIO driver for the North/South bridge in Marvell Armada 37x0. The A3700 has a different GPIO controller and thus, do not use the old (and shared) code for

svn commit: r348762 - head/sys/dev/etherswitch/e6000sw

2019-06-06 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jun 6 21:25:46 2019 New Revision: 348762 URL: https://svnweb.freebsd.org/changeset/base/348762 Log: Do not overwrite the RGMII bits in the CPU port register of Switch. Fixes the network on Espressobin. The GENERIC kernel now boots over NFS. Sponsored by:

svn commit: r348759 - head/sys/dev/gpio

2019-06-06 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jun 6 20:54:09 2019 New Revision: 348759 URL: https://svnweb.freebsd.org/changeset/base/348759 Log: Zero the GPIO regulator pins memory. This fixes a panic in Espressobin when gpioregulator fails to allocate the GPIO pin (the GPIO controller is not there).

svn commit: r340458 - head/sys/arm/mv

2018-11-15 Thread Luiz Otavio O Souza
Author: loos Date: Thu Nov 15 17:05:02 2018 New Revision: 340458 URL: https://svnweb.freebsd.org/changeset/base/340458 Log: Set the SPI clock speed and polarity on each transfer to catch up with recent changes in spibus and allow the use of different SPI modes on the same bus. Reported

svn commit: r340456 - head/sys/arm/conf

2018-11-15 Thread Luiz Otavio O Souza
Author: loos Date: Thu Nov 15 16:29:27 2018 New Revision: 340456 URL: https://svnweb.freebsd.org/changeset/base/340456 Log: Comment MD_ROOT and remove 'device re' which is not part of the system and can be loaded as module. Modified: head/sys/arm/conf/ARMADA38X Modified:

svn commit: r340432 - in head/sys/arm: conf mv

2018-11-14 Thread Luiz Otavio O Souza
Author: loos Date: Wed Nov 14 14:26:32 2018 New Revision: 340432 URL: https://svnweb.freebsd.org/changeset/base/340432 Log: Add the driver for the SPI controller on ARMADA38X. Tested on Clearfog (Pro) and SG-3100. Sponsored by: Rubicon Communications, LLC (Netgate) Added:

Re: svn commit: r338371 - in head/sys: arm/nvidia dev/sdhci

2018-08-29 Thread Luiz Otavio O Souza
On Wed, Aug 29, 2018 at 11:01 AM Emmanuel Vadot wrote: > > Author: manu > Date: Wed Aug 29 14:01:27 2018 > New Revision: 338371 > URL: https://svnweb.freebsd.org/changeset/base/338371 > > Log: > arm64: GENERIC-MMCCAM: Fix build and module depend > > Fix the build of the GENERIC-MMCCAM kernel

svn commit: r338082 - stable/11/sys/netpfil/ipfw

2018-08-19 Thread Luiz Otavio O Souza
Author: loos Date: Mon Aug 20 01:38:48 2018 New Revision: 338082 URL: https://svnweb.freebsd.org/changeset/base/338082 Log: MFC r321316, r337860: Fix a few typos in comments. Modified: stable/11/sys/netpfil/ipfw/ip_dn_io.c stable/11/sys/netpfil/ipfw/ip_fw_table.c Directory Properties:

svn commit: r338081 - in stable/11/sys: net netinet netinet6

2018-08-19 Thread Luiz Otavio O Souza
Author: loos Date: Mon Aug 20 01:01:33 2018 New Revision: 338081 URL: https://svnweb.freebsd.org/changeset/base/338081 Log: MFC r312770 and r337854: After the in_control() changes in r257692, an existing address is (intentionally) deleted first and then completely added again (so all the

svn commit: r337860 - head/sys/netpfil/ipfw

2018-08-15 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 15 16:36:29 2018 New Revision: 337860 URL: https://svnweb.freebsd.org/changeset/base/337860 Log: Fix a typo in comment. MFC after:3 days X-MFC with: r321316 Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r337859 - stable/11/sys/net

2018-08-15 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 15 16:34:31 2018 New Revision: 337859 URL: https://svnweb.freebsd.org/changeset/base/337859 Log: MFC r321649: Remove the unused mutex since r273220. Sponsored by: Rubicon Communications, LLC (Netgate) Modified: stable/11/sys/net/if_stf.c Directory

svn commit: r337858 - stable/11/sys/dev/sdhci

2018-08-15 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 15 16:27:52 2018 New Revision: 337858 URL: https://svnweb.freebsd.org/changeset/base/337858 Log: MFC r317800: Add support for the no-1-8-v and wp-inverted properties in generic SDHCI FDT glue. Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r337856 - stable/11/sys/dev/vmware/vmxnet3

2018-08-15 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 15 16:16:59 2018 New Revision: 337856 URL: https://svnweb.freebsd.org/changeset/base/337856 Log: MFC r313911: Spell VMXNET3_LEGACY_TX correctly. Modified: stable/11/sys/dev/vmware/vmxnet3/if_vmxvar.h Directory Properties: stable/11/ (props changed)

svn commit: r337855 - stable/11/sys/net

2018-08-15 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 15 16:12:13 2018 New Revision: 337855 URL: https://svnweb.freebsd.org/changeset/base/337855 Log: MFC r312953: The stf(4) interface name does not conform with the default naming convention for interfaces, because only one stf(4) interface can exist in the

svn commit: r337854 - head/sys/netinet

2018-08-15 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 15 15:44:30 2018 New Revision: 337854 URL: https://svnweb.freebsd.org/changeset/base/337854 Log: Late style follow up on r312770. Submitted by: glebius X-MFC with: r312770 MFC after:3 days Modified: head/sys/netinet/in.c Modified:

svn commit: r337844 - head/sys/netgraph

2018-08-15 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 15 13:42:22 2018 New Revision: 337844 URL: https://svnweb.freebsd.org/changeset/base/337844 Log: The interface name must be sanitized before the search to match the existing netgraph node. Fixes the search (and use) of VLANs with dot notation. Obtained

svn commit: r337811 - head/sys/dev/neta

2018-08-14 Thread Luiz Otavio O Souza
Author: loos Date: Tue Aug 14 18:58:16 2018 New Revision: 337811 URL: https://svnweb.freebsd.org/changeset/base/337811 Log: Disable the auto negotiation if the port is set to fixed-link. Tested on SG-3100 (ARMADA38X) and Espresso.bin (A37x0). Fixes the network on espresso.bin.

svn commit: r337772 - in head/sys: arm64/conf conf dev/sdhci

2018-08-14 Thread Luiz Otavio O Souza
Author: loos Date: Tue Aug 14 16:33:30 2018 New Revision: 337772 URL: https://svnweb.freebsd.org/changeset/base/337772 Log: Add support to the Marvell Xenon SDHCI controller. Tested on Espresso.bin (37x0) and Macchiato.bin (8k) with SD cards and eMMCs. Obtained from:pfSense

svn commit: r337759 - head/sys/arm64/arm64

2018-08-14 Thread Luiz Otavio O Souza
Author: loos Date: Tue Aug 14 15:27:50 2018 New Revision: 337759 URL: https://svnweb.freebsd.org/changeset/base/337759 Log: Use the correct PTE when changing the attribute of multiple pages. Submitted by: andrew (long time ago) Sponsored by: Rubicon Communications, LLC (Netgate)

svn commit: r337752 - head/sys/dev/psci

2018-08-14 Thread Luiz Otavio O Souza
Author: loos Date: Tue Aug 14 13:56:49 2018 New Revision: 337752 URL: https://svnweb.freebsd.org/changeset/base/337752 Log: Fix a typo on the PSCI smc call wrapper. Looks good from: andrew Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sys/dev/psci/psci_arm.S

svn commit: r321989 - head/usr.bin/calendar/calendars

2017-08-03 Thread Luiz Otavio O Souza
rmany, 1963 +03/10 Luiz Otavio O Souza <l...@freebsd.org> born in Bauru, Sao Paulo, Brazil, 1978 03/10 Nikolai Lifanov <lifa...@freebsd.org> born in Moscow, Russian Federation, 1989 03/11 Soeren Straarup <xr...@freebsd.org> born in Andst, Denmark, 1978 03/12 Greg Lewis &

svn commit: r321649 - head/sys/net

2017-07-27 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 28 04:41:57 2017 New Revision: 321649 URL: https://svnweb.freebsd.org/changeset/base/321649 Log: Remove the unused mutex since r273220. MFC after:1 week Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sys/net/if_stf.c Modified:

svn commit: r321602 - head/sys/dev/etherswitch/e6000sw

2017-07-26 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jul 27 02:38:53 2017 New Revision: 321602 URL: https://svnweb.freebsd.org/changeset/base/321602 Log: Fix the port vlan support in e6000 based switches. Reduce the use of local copies of switch register data. The switch now works with the upstream dsa node (i.e.

svn commit: r321321 - head/sys/dev/netmap

2017-07-20 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 21 03:59:56 2017 New Revision: 321321 URL: https://svnweb.freebsd.org/changeset/base/321321 Log: Restore the changes done in r313982: Replace zero with NULL for pointers. Spotted by: Harry Schmalzbauer MFC after:1 week Sponsored by: Rubicon

svn commit: r321319 - head/sys/net

2017-07-20 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 21 03:42:09 2017 New Revision: 321319 URL: https://svnweb.freebsd.org/changeset/base/321319 Log: Update netmap_user.h with the current version of netmap. This file should have been committed together with r319881. MFC after:1 week MFC with: r319881

svn commit: r321317 - head/sys/dev/netmap

2017-07-20 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 21 03:28:35 2017 New Revision: 321317 URL: https://svnweb.freebsd.org/changeset/base/321317 Log: Do not allow the use of the loopback interface in netmap. The generic support in netmap send the packets using if_transmit() and the loopback do not support packets

svn commit: r321316 - head/sys/netpfil/ipfw

2017-07-20 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 21 03:04:55 2017 New Revision: 321316 URL: https://svnweb.freebsd.org/changeset/base/321316 Log: Fix a couple of typos in a comment. MFC after:1 week Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sys/netpfil/ipfw/ip_fw_table.c

svn commit: r320161 - head/sys/dev/iicbus/twsi

2017-06-20 Thread Luiz Otavio O Souza
Author: loos Date: Tue Jun 20 18:38:51 2017 New Revision: 320161 URL: https://svnweb.freebsd.org/changeset/base/320161 Log: Always ignore the START and STOP bits whenever the control register is being overwritten, they are set only bits (cleared by hardware). Disable the Acknowledge of

svn commit: r320159 - in head/sys/dev/iicbus: . twsi

2017-06-20 Thread Luiz Otavio O Souza
Author: loos Date: Tue Jun 20 18:25:27 2017 New Revision: 320159 URL: https://svnweb.freebsd.org/changeset/base/320159 Log: Make ofw_iicbus attach to twsi I2C controllers. Add the ofw_bus_get_node() callback in mv_twsi, it is mandatory for the ofw_iicbus usage. Sponsored by: Rubicon

svn commit: r320158 - head/sys/dev/neta

2017-06-20 Thread Luiz Otavio O Souza
Author: loos Date: Tue Jun 20 18:14:56 2017 New Revision: 320158 URL: https://svnweb.freebsd.org/changeset/base/320158 Log: Allow the use of extended media types with if_mvneta, so it can report 2.5G speeds properly. While here remove a couple of stray white spaces. Sponsored by:

svn commit: r320157 - head/sys/dev/etherswitch/e6000sw

2017-06-20 Thread Luiz Otavio O Souza
Author: loos Date: Tue Jun 20 18:11:23 2017 New Revision: 320157 URL: https://svnweb.freebsd.org/changeset/base/320157 Log: Add support to 2.5G uplink for the MV88E6141 and MV88E6341 switches. Force the switch port settings for fixed media types. Tested with: 88E6176, 88E6141

svn commit: r319886 - head/sys/dev/etherswitch/e6000sw

2017-06-12 Thread Luiz Otavio O Souza
Author: loos Date: Tue Jun 13 00:42:23 2017 New Revision: 319886 URL: https://svnweb.freebsd.org/changeset/base/319886 Log: Add the initial support for the Marvell 88E6141 and 88E6341 switches. Right now the driver only supports port VLANs, so make sure etherswitch_getinfo() return the

svn commit: r319881 - head/sys/dev/netmap

2017-06-12 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jun 12 22:53:18 2017 New Revision: 319881 URL: https://svnweb.freebsd.org/changeset/base/319881 Log: Update the current version of netmap to bring it in sync with the github version. This commit contains mostly refactoring, a few fixes and minor added

svn commit: r319760 - head/sys/dev/etherswitch/e6000sw

2017-06-09 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 9 20:38:18 2017 New Revision: 319760 URL: https://svnweb.freebsd.org/changeset/base/319760 Log: Remove an unnecessary variable from the switch softc structure and make the functions that are used as booleans return real boolean values. Sponsored by: Rubicon

svn commit: r319498 - head/sys/dev/etherswitch/e6000sw

2017-06-02 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 2 15:12:32 2017 New Revision: 319498 URL: https://svnweb.freebsd.org/changeset/base/319498 Log: style(9) fixes, remove unnecessary headers, remove duplicate #defines and in some cases, shuffle the code around to simplify locking. No functional changes.

svn commit: r318791 - stable/11/sys/dev/sdhci

2017-05-24 Thread Luiz Otavio O Souza
Author: loos Date: Wed May 24 16:39:19 2017 New Revision: 318791 URL: https://svnweb.freebsd.org/changeset/base/318791 Log: MFC r312346: Set the the wp_disabled flag when asked to. While here, add the missing new line. Sponsored by: Rubicon Communications, LLC (Netgate)

svn commit: r318428 - head/sys/boot/fdt/dts/arm

2017-05-17 Thread Luiz Otavio O Souza
Author: loos Date: Wed May 17 22:05:07 2017 New Revision: 318428 URL: https://svnweb.freebsd.org/changeset/base/318428 Log: Fix the offset for the CPU0 MPIC registers. Please note that only a subset of CPU0 registers are exported. CPU1 registers are not touched. Obtained from:

svn commit: r318426 - head/sys/arm/mv

2017-05-17 Thread Luiz Otavio O Souza
Author: loos Date: Wed May 17 21:14:27 2017 New Revision: 318426 URL: https://svnweb.freebsd.org/changeset/base/318426 Log: Use the MACROS to access the Global mpic registers. Makes the code consistent and easier to read. While here, remove two unused static functions and fix a unused

svn commit: r318404 - head/sys/arm/mv

2017-05-17 Thread Luiz Otavio O Souza
Author: loos Date: Wed May 17 15:13:01 2017 New Revision: 318404 URL: https://svnweb.freebsd.org/changeset/base/318404 Log: Move the IO Window Control Register defines out of the ARMADA38X ifdef. Fixes the build of Marvell kernels (other than ARMADA38X) after r318336. Reported by:

svn commit: r318337 - in head/sys: arm/conf arm/mv/armada38x dev/sdhci

2017-05-15 Thread Luiz Otavio O Souza
Author: loos Date: Tue May 16 05:10:15 2017 New Revision: 318337 URL: https://svnweb.freebsd.org/changeset/base/318337 Log: Add the Marvell SDHCI controller to the list of supported devices in sdhci_fdt. Enable the SDHCI controller, bus and devices on ARMADA38X kernel. Tested on:

svn commit: r318336 - head/sys/arm/mv

2017-05-15 Thread Luiz Otavio O Souza
Author: loos Date: Tue May 16 04:47:50 2017 New Revision: 318336 URL: https://svnweb.freebsd.org/changeset/base/318336 Log: Add the SDHCI Address Decoder registers and routines for ARMADA 38X. Tested on:ClearFog Pro Reviewed by: Marcin Wojtas Sponsored by: Rubicon Communications,

svn commit: r318095 - head/sys/dev/sdhci

2017-05-09 Thread Luiz Otavio O Souza
Author: loos Date: Tue May 9 19:01:57 2017 New Revision: 318095 URL: https://svnweb.freebsd.org/changeset/base/318095 Log: Add a new SDHCI quirk, SDHCI_QUIRK_BROKEN_AUTO_STOP, to workaround controllers that do not support or have broken ACMD12 implementations. Reviewed by: jmcneill

svn commit: r318068 - in head/sys: arm/conf modules/dtb/mv

2017-05-09 Thread Luiz Otavio O Souza
Author: loos Date: Tue May 9 18:12:05 2017 New Revision: 318068 URL: https://svnweb.freebsd.org/changeset/base/318068 Log: Disable the build of the static/embedded DTB for the ARMADA38X kernel. Build the supported DTBs as part of modules build. MFC after:2 weeks Sponsored by:

svn commit: r317800 - head/sys/dev/sdhci

2017-05-04 Thread Luiz Otavio O Souza
Author: loos Date: Thu May 4 18:56:11 2017 New Revision: 317800 URL: https://svnweb.freebsd.org/changeset/base/317800 Log: Add support for the no-1-8-v and wp-inverted properties in generic SDHCI FDT glue. MFC after:2 weeks Sponsored by: Rubicon Communications, LLC (Netgate)

svn commit: r317605 - head/sys/dev/etherswitch/e6000sw

2017-04-30 Thread Luiz Otavio O Souza
Author: loos Date: Sun Apr 30 07:51:31 2017 New Revision: 317605 URL: https://svnweb.freebsd.org/changeset/base/317605 Log: When the switch is set to operate in the Multi Chip Addressing Mode we cannot access the GLOBAL2 register directly. Despite the comment in code (which was

svn commit: r317604 - head/sys/dev/fdt

2017-04-30 Thread Luiz Otavio O Souza
Author: loos Date: Sun Apr 30 07:31:48 2017 New Revision: 317604 URL: https://svnweb.freebsd.org/changeset/base/317604 Log: Set the correct default for #address-cells variable when the property does not exist. This has never caused any issue because #address-cells is mandatory.

svn commit: r315060 - stable/10/sys/dev/e1000

2017-03-10 Thread Luiz Otavio O Souza
Author: loos Date: Sat Mar 11 07:54:05 2017 New Revision: 315060 URL: https://svnweb.freebsd.org/changeset/base/315060 Log: MFC of r314281: Disable the driver managed queue for igb(4) when the legacy transmit interface is used. The legacy API (IGB_LEGACY_TX) is enabled when ALTQ is

svn commit: r314281 - stable/11/sys/dev/e1000

2017-02-25 Thread Luiz Otavio O Souza
Author: loos Date: Sat Feb 25 20:21:39 2017 New Revision: 314281 URL: https://svnweb.freebsd.org/changeset/base/314281 Log: Disable the driver managed queue for igb(4) when the legacy transmit interface is used. The legacy API (IGB_LEGACY_TX) is enabled when ALTQ is built into kernel.

svn commit: r313911 - head/sys/dev/vmware/vmxnet3

2017-02-17 Thread Luiz Otavio O Souza
Author: loos Date: Sat Feb 18 06:18:14 2017 New Revision: 313911 URL: https://svnweb.freebsd.org/changeset/base/313911 Log: Spell VMXNET3_LEGACY_TX correctly. Obtained from:pfSense MFC after:2 weeks Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r312979 - head/sys/net

2017-01-29 Thread Luiz Otavio O Souza
Author: loos Date: Mon Jan 30 03:04:33 2017 New Revision: 312979 URL: https://svnweb.freebsd.org/changeset/base/312979 Log: Do not update the lagg link layer address when destroying a lagg clone. This would enqueue an event to send the gratuitous arp on a dying lagg interface without any

svn commit: r312953 - head/sys/net

2017-01-29 Thread Luiz Otavio O Souza
Author: loos Date: Sun Jan 29 18:41:09 2017 New Revision: 312953 URL: https://svnweb.freebsd.org/changeset/base/312953 Log: The stf(4) interface name does not conform with the default naming convention for interfaces, because only one stf(4) interface can exist in the system. This

svn commit: r312943 - head/sys/netpfil/pf

2017-01-28 Thread Luiz Otavio O Souza
Author: loos Date: Sun Jan 29 02:17:52 2017 New Revision: 312943 URL: https://svnweb.freebsd.org/changeset/base/312943 Log: Do not run the pf purge thread while the VNET variables are not initialized, this can cause a divide by zero (if the VNET initialization takes to long to complete).

svn commit: r312783 - stable/11/sys/dev/netmap

2017-01-25 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 25 21:35:15 2017 New Revision: 312783 URL: https://svnweb.freebsd.org/changeset/base/312783 Log: Fix a crash in netmap when using the emulated mode. This is a direct commit to stable/11 as the -head version was already fixed by a recent import of a new netmap

svn commit: r312770 - in head/sys: net netinet netinet6

2017-01-25 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 25 19:04:08 2017 New Revision: 312770 URL: https://svnweb.freebsd.org/changeset/base/312770 Log: After the in_control() changes in r257692, an existing address is (intentionally) deleted first and then completely added again (so all the events, announces and hooks

svn commit: r312762 - stable/11/sys/arm/ti/cpsw

2017-01-25 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 25 16:18:40 2017 New Revision: 312762 URL: https://svnweb.freebsd.org/changeset/base/312762 Log: MFC r312604 and r312605: Simplify the handling of small packets padding in cpsw: - Pad small packets to 60 bytes and not 64 (exclude the CRC bytes); - Pad the

svn commit: r312761 - stable/11/sys/arm/ti/cpsw

2017-01-25 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 25 16:10:35 2017 New Revision: 312761 URL: https://svnweb.freebsd.org/changeset/base/312761 Log: MFC r312411: Handle the set capabilities ioctl, letting the hardware checksum be disabled (Hi netmap!). Only remove the CRC bytes from packets when the

svn commit: r312757 - stable/11/sys/arm/ti/cpsw

2017-01-25 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 25 15:27:05 2017 New Revision: 312757 URL: https://svnweb.freebsd.org/changeset/base/312757 Log: MFC r312408: The port number and the to_port_en flag are valid only on SOP descriptor. Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r312756 - in stable/11/sys: boot/fdt/dts/arm modules/dtb/am335x

2017-01-25 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 25 14:49:42 2017 New Revision: 312756 URL: https://svnweb.freebsd.org/changeset/base/312756 Log: MFC r308458, r311157 and r312347: Add the DTS for the Netgate SG-1000 (micro-Firewall). Remove a GPL licensed DTS. The micro-Firewall DTS is now a single

svn commit: r312637 - head/sys/arm/ti/cpsw

2017-01-22 Thread Luiz Otavio O Souza
Author: loos Date: Sun Jan 22 17:24:00 2017 New Revision: 312637 URL: https://svnweb.freebsd.org/changeset/base/312637 Log: Be a little more pedantic here, the TRM says the hardware is supposed to only clean the OWNER bit on SOP descriptors. MFC after:3 days Sponsored by: Rubicon

svn commit: r312636 - head/sys/arm/ti/cpsw

2017-01-22 Thread Luiz Otavio O Souza
Author: loos Date: Sun Jan 22 17:07:37 2017 New Revision: 312636 URL: https://svnweb.freebsd.org/changeset/base/312636 Log: Properly assemble an mbuf chain out of received fragments. Remove the rx_batch hack, it makes no difference now that most of bugs have been sorted out.

svn commit: r312608 - head/sys/arm/ti/cpsw

2017-01-21 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 21 23:07:15 2017 New Revision: 312608 URL: https://svnweb.freebsd.org/changeset/base/312608 Log: Handle the rx queue stall while reading the packets from NIC (when the descriptor state will not change anymore). This seems to eliminate the race where we can miss a

svn commit: r312605 - head/sys/arm/ti/cpsw

2017-01-21 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 21 19:56:28 2017 New Revision: 312605 URL: https://svnweb.freebsd.org/changeset/base/312605 Log: Commit the struture changes for the padding of small packets on if_cpsw. Should have been committed together with r312604. MFC with: r312604 Modified:

svn commit: r312604 - head/sys/arm/ti/cpsw

2017-01-21 Thread Luiz Otavio O Souza
Author: loos Date: Sat Jan 21 19:49:39 2017 New Revision: 312604 URL: https://svnweb.freebsd.org/changeset/base/312604 Log: Simplify the handling of small packets padding in cpsw: - Pad small packets to 60 bytes and not 64 (exclude the CRC bytes); - Pad the packet using m_append(9), if

svn commit: r312411 - head/sys/arm/ti/cpsw

2017-01-19 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jan 19 14:58:55 2017 New Revision: 312411 URL: https://svnweb.freebsd.org/changeset/base/312411 Log: Handle the set capabilities ioctl, letting the hardware checksum be disabled (Hi netmap!). Only remove the CRC bytes from packets when the hardware tell us to do

svn commit: r312408 - head/sys/arm/ti/cpsw

2017-01-19 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jan 19 14:05:49 2017 New Revision: 312408 URL: https://svnweb.freebsd.org/changeset/base/312408 Log: The port number and the to_port_en flag are valid only on SOP descriptor. Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r312347 - head/sys/boot/fdt/dts/arm

2017-01-17 Thread Luiz Otavio O Souza
Author: loos Date: Tue Jan 17 18:04:13 2017 New Revision: 312347 URL: https://svnweb.freebsd.org/changeset/base/312347 Log: The write-protect is not wired on uFW, disable it to allow writes to SD card. Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r312346 - head/sys/dev/sdhci

2017-01-17 Thread Luiz Otavio O Souza
Author: loos Date: Tue Jan 17 17:41:14 2017 New Revision: 312346 URL: https://svnweb.freebsd.org/changeset/base/312346 Log: Set the the wp_disabled flag when asked to. While here, add the missing new line. MFC after:3 days Sponsored by: Rubicon Communications, LLC (Netgate)

svn commit: r312006 - stable/11/sys/dev/gpio

2017-01-12 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jan 13 03:12:00 2017 New Revision: 312006 URL: https://svnweb.freebsd.org/changeset/base/312006 Log: MFC r311701: Convert gpioc to use the make_dev_s(9) KPI. This fix a possible race where si_drv1 can be accessed before it gets set. This was inspired on

svn commit: r312005 - stable/11/sys/dev/etherswitch

2017-01-12 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jan 13 03:08:05 2017 New Revision: 312005 URL: https://svnweb.freebsd.org/changeset/base/312005 Log: MFC r311700: Convert etherswitch to use the make_dev_s(9) KPI. This fix a possible race where si_drv1 can be accessed before it gets set. Suggested by: kib

svn commit: r312004 - stable/11/sbin/pfctl

2017-01-12 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jan 13 03:05:44 2017 New Revision: 312004 URL: https://svnweb.freebsd.org/changeset/base/312004 Log: MFC r310707: Fix the parsing of NPt binat rules. In this specific case the src address can be set to any, which was not accepted prior to this commit.

svn commit: r311701 - head/sys/dev/gpio

2017-01-08 Thread Luiz Otavio O Souza
Author: loos Date: Sun Jan 8 20:41:32 2017 New Revision: 311701 URL: https://svnweb.freebsd.org/changeset/base/311701 Log: Convert gpioc to use the make_dev_s(9) KPI. This fix a possible race where si_drv1 can be accessed before it gets set. This is inspired on r311700. MFC after:

svn commit: r311700 - head/sys/dev/etherswitch

2017-01-08 Thread Luiz Otavio O Souza
Author: loos Date: Sun Jan 8 20:37:41 2017 New Revision: 311700 URL: https://svnweb.freebsd.org/changeset/base/311700 Log: Convert etherswitch to use the make_dev_s(9) KPI. This fix a possible race where si_drv1 can be accessed before it gets set. MFC after:3 days Suggested by:

svn commit: r311205 - stable/11/sys/dev/rccgpio

2017-01-03 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 4 00:25:22 2017 New Revision: 311205 URL: https://svnweb.freebsd.org/changeset/base/311205 Log: MFC of r310887: Fix rcc_gpio_modify_bits(). Obviously (1 << 0) is not the same as 0. Pointy hat to:loos Modified: stable/11/sys/dev/rccgpio/rccgpio.c

svn commit: r311203 - stable/11/sys/arm/ti/am335x

2017-01-03 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 4 00:18:38 2017 New Revision: 311203 URL: https://svnweb.freebsd.org/changeset/base/311203 Log: Fixes the sensor initialization, always reset the digital outputs on start. Obtained from:pfSense Sponsored by: Rubicon Communications, LLC (Netgate)

svn commit: r311157 - head/sys/boot/fdt/dts/arm

2017-01-03 Thread Luiz Otavio O Souza
Author: loos Date: Tue Jan 3 16:46:51 2017 New Revision: 311157 URL: https://svnweb.freebsd.org/changeset/base/311157 Log: Remove a GPL licensed DTS. The micro-Firewall DTS is now a single BSD licensed file. Reported by: manu Obtained from:pfSense MFC after:2 weeks

svn commit: r310887 - head/sys/dev/rccgpio

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 02:23:15 2016 New Revision: 310887 URL: https://svnweb.freebsd.org/changeset/base/310887 Log: Fix rcc_gpio_modify_bits(). Obviously (1 << 0) is not the same as 0. Pointy hat to:loos MFC after:3 days Modified: head/sys/dev/rccgpio/rccgpio.c

svn commit: r310886 - head/sys/arm/ti/am335x

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 02:18:08 2016 New Revision: 310886 URL: https://svnweb.freebsd.org/changeset/base/310886 Log: Fixes the sensor initialization, always reset the digital outputs to start. Obtained from:pfSense MFC after:3 days Sponsored by: Rubicon

svn commit: r310885 - stable/11/sys/dev/gpio

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 02:02:42 2016 New Revision: 310885 URL: https://svnweb.freebsd.org/changeset/base/310885 Log: MFC r31: Remove a too strict test and instead, just filter the passed flags with the supported capabilities. Spotted by: yamori...@yahoo.co.jp (Hiroki

svn commit: r310884 - stable/11/sys/net

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 02:00:51 2016 New Revision: 310884 URL: https://svnweb.freebsd.org/changeset/base/310884 Log: MFC r309717: Fix the typos and style(9) in comment. Modified: stable/11/sys/net/route.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r310883 - stable/11/sys/dev/etherswitch

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 01:58:04 2016 New Revision: 310883 URL: https://svnweb.freebsd.org/changeset/base/310883 Log: MFC r309461: Allow simultaneous access to switch device, there is no reason to prevent it. Remove bogus wrappers and use the kernel defaults. While here,

svn commit: r310882 - stable/11/sys/arm/ti/cpsw

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 01:54:48 2016 New Revision: 310882 URL: https://svnweb.freebsd.org/changeset/base/310882 Log: MFC r309345: The RX_FREEBUFFER registers are a write to increment field. Writing the full queue size to it every time was makeing it overflow with a lot of bogus

svn commit: r310881 - in stable/11/sys: arm/ti/cpsw conf

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Sat Dec 31 01:51:41 2016 New Revision: 310881 URL: https://svnweb.freebsd.org/changeset/base/310881 Log: MFC r309113: Add the etherswitch(4) support for TI CPSW. Adds VLAN and port management abilities for etherswitchcfg(8). The code is conditionally enabled for

svn commit: r310862 - stable/11/sys/arm/ti

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Fri Dec 30 20:48:22 2016 New Revision: 310862 URL: https://svnweb.freebsd.org/changeset/base/310862 Log: MFC r308692: Fix ti_gpio_detach() to avoid crashing if something goes wrong. Sponsored by: Rubicon Communication, LLC (Netgate) Modified:

svn commit: r310861 - stable/11/sys/contrib/vchiq/interface/compat

2016-12-30 Thread Luiz Otavio O Souza
Author: loos Date: Fri Dec 30 20:45:27 2016 New Revision: 310861 URL: https://svnweb.freebsd.org/changeset/base/310861 Log: MFC r308659: Reduce dmesg verbosity. Modified: stable/11/sys/contrib/vchiq/interface/compat/vchi_bsd.c Directory Properties: stable/11/ (props changed)

  1   2   3   4   5   6   >