From owner-svn-src-all@FreeBSD.ORG Mon May 18 06:05:50 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A9851065670; Mon, 18 May 2009 06:05:50 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 79DD88FC14; Mon, 18 May 2009 06:05:50 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4I65odB051425; Mon, 18 May 2009 06:05:50 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4I65oVp051424; Mon, 18 May 2009 06:05:50 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <200905180605.n4I65oVp051424@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 18 May 2009 06:05:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192289 - head/sys/dev/nge X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 06:05:51 -0000 Author: yongari Date: Mon May 18 06:05:50 2009 New Revision: 192289 URL: http://svn.freebsd.org/changeset/base/192289 Log: Remove register keyword. Modified: head/sys/dev/nge/if_nge.c Modified: head/sys/dev/nge/if_nge.c ============================================================================== --- head/sys/dev/nge/if_nge.c Mon May 18 06:02:54 2009 (r192288) +++ head/sys/dev/nge/if_nge.c Mon May 18 06:05:50 2009 (r192289) @@ -257,7 +257,7 @@ nge_delay(struct nge_softc *sc) static void nge_eeprom_idle(struct nge_softc *sc) { - register int i; + int i; SIO_SET(NGE_MEAR_EE_CSEL); nge_delay(sc); @@ -286,7 +286,7 @@ nge_eeprom_idle(struct nge_softc *sc) static void nge_eeprom_putbyte(struct nge_softc *sc, int addr) { - register int d, i; + int d, i; d = addr | NGE_EECMD_READ; @@ -315,7 +315,7 @@ nge_eeprom_putbyte(struct nge_softc *sc, static void nge_eeprom_getword(struct nge_softc *sc, int addr, u_int16_t *dest) { - register int i; + int i; u_int16_t word = 0; /* Force EEPROM to idle state. */ @@ -381,7 +381,7 @@ nge_read_eeprom(struct nge_softc *sc, ca static void nge_mii_sync(struct nge_softc *sc) { - register int i; + int i; SIO_SET(NGE_MEAR_MII_DIR|NGE_MEAR_MII_DATA); @@ -702,7 +702,7 @@ nge_setmulti(struct nge_softc *sc) static void nge_reset(struct nge_softc *sc) { - register int i; + int i; NGE_SETBIT(sc, NGE_CSR, NGE_CSR_RESET); @@ -2043,7 +2043,7 @@ nge_watchdog(struct ifnet *ifp) static void nge_stop(struct nge_softc *sc) { - register int i; + int i; struct ifnet *ifp; struct mii_data *mii;