Author: adrian
Date: Tue Dec 15 04:46:48 2015
New Revision: 292248
URL: https://svnweb.freebsd.org/changeset/base/292248

Log:
  [arswitch] bump the number of ports on the ar934x internal switch.
  
  It indeed has more ports by default.

Modified:
  head/sys/dev/etherswitch/arswitch/arswitch_9340.c

Modified: head/sys/dev/etherswitch/arswitch/arswitch_9340.c
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitch_9340.c   Tue Dec 15 04:45:00 
2015        (r292247)
+++ head/sys/dev/etherswitch/arswitch/arswitch_9340.c   Tue Dec 15 04:46:48 
2015        (r292248)
@@ -154,10 +154,10 @@ ar9340_hw_global_setup(struct arswitch_s
                arswitch_modifyreg(sc->sc_dev, AR934X_REG_OPER_MODE1,
                    AR934X_REG_OPER_MODE1_PHY4_MII_EN,
                    AR934X_REG_OPER_MODE1_PHY4_MII_EN);
-               sc->info.es_nports = 4;
+               sc->info.es_nports = 5;
        } else {
                device_printf(sc->sc_dev, "%s: PHY4 - Local\n", __func__);
-               sc->info.es_nports = 5;
+               sc->info.es_nports = 6;
        }
 
        /* Settle time */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to