svn commit: r262632 - head/sys/dev/etherswitch/arswitch
Adrian Chadd
adrian at FreeBSD.org
Sat Mar 1 00:02:10 UTC 2014
Author: adrian
Date: Sat Mar 1 00:02:09 2014
New Revision: 262632
URL: http://svnweb.freebsd.org/changeset/base/262632
Log:
Remove now dead code.
Modified:
head/sys/dev/etherswitch/arswitch/arswitch_8327.c
Modified: head/sys/dev/etherswitch/arswitch/arswitch_8327.c
==============================================================================
--- head/sys/dev/etherswitch/arswitch/arswitch_8327.c Sat Mar 1 00:01:40 2014 (r262631)
+++ head/sys/dev/etherswitch/arswitch/arswitch_8327.c Sat Mar 1 00:02:09 2014 (r262632)
@@ -653,16 +653,6 @@ ar8327_port_init(struct arswitch_softc *
else if (port == 6)
t = sc->ar8327.port6_status;
else
-#if 0
- /* XXX DB120 - hard-code port0 to 1000/full */
- if (port == 0) {
- t = AR8X16_PORT_STS_SPEED_1000;
- t |= AR8X16_PORT_STS_TXMAC | AR8X16_PORT_STS_RXMAC;
- t |= AR8X16_PORT_STS_DUPLEX;
- t |= AR8X16_PORT_STS_RXFLOW;
- t |= AR8X16_PORT_STS_TXFLOW;
- } else
-#endif
t = AR8X16_PORT_STS_LINK_AUTO;
arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_STATUS(port), t);
More information about the svn-src-all
mailing list