Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 00:02:10 +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: r262632 - head/sys/dev/etherswitch/arswitch
Message-ID:  <201403010002.s2102A1k055730@svn.freebsd.org>

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



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