From owner-svn-src-head@FreeBSD.ORG Sat Mar 1 00:02:10 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4AB4983A; Sat, 1 Mar 2014 00:02:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 36F1B1823; Sat, 1 Mar 2014 00:02:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2102Ajj055731; Sat, 1 Mar 2014 00:02:10 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2102A1k055730; Sat, 1 Mar 2014 00:02:10 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201403010002.s2102A1k055730@svn.freebsd.org> From: Adrian Chadd Date: Sat, 1 Mar 2014 00:02:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262632 - head/sys/dev/etherswitch/arswitch X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Mar 2014 00:02:10 -0000 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);