Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 04:46:49 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292248 - head/sys/dev/etherswitch/arswitch
Message-ID:  <201512150446.tBF4knLr088863@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512150446.tBF4knLr088863>