summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-05 09:02:05 +0000
committerphk <phk@FreeBSD.org>2005-01-05 09:02:05 +0000
commit889527823153cab712a16532feaa4607a0173fef (patch)
tree187abac42270a4c14194a79384508e25880e8db1 /sys/pci
parentdca5910ce3d128c0065ba996f6ca9b8245323a01 (diff)
downloadFreeBSD-src-889527823153cab712a16532feaa4607a0173fef.zip
FreeBSD-src-889527823153cab712a16532feaa4607a0173fef.tar.gz
Don't declare variables "register", the compiler ought to know what to do.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_sis.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index aab5ca8..4776559 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -290,7 +290,7 @@ static void
sis_eeprom_idle(sc)
struct sis_softc *sc;
{
- register int i;
+ int i;
SIO_SET(SIS_EECTL_CSEL);
sis_delay(sc);
@@ -321,7 +321,7 @@ sis_eeprom_putbyte(sc, addr)
struct sis_softc *sc;
int addr;
{
- register int d, i;
+ int d, i;
d = addr | SIS_EECMD_READ;
@@ -353,7 +353,7 @@ sis_eeprom_getword(sc, addr, dest)
int addr;
u_int16_t *dest;
{
- register int i;
+ int i;
u_int16_t word = 0;
/* Force EEPROM to idle state. */
@@ -522,7 +522,7 @@ sis_read_mac(sc, dev, dest)
static void sis_mii_sync(sc)
struct sis_softc *sc;
{
- register int i;
+ int i;
SIO_SET(SIS_MII_DIR|SIS_MII_DATA);
@@ -972,7 +972,7 @@ static void
sis_reset(sc)
struct sis_softc *sc;
{
- register int i;
+ int i;
SIS_SETBIT(sc, SIS_CSR, SIS_CSR_RESET);
@@ -2347,7 +2347,7 @@ static void
sis_stop(sc)
struct sis_softc *sc;
{
- register int i;
+ int i;
struct ifnet *ifp;
if (sc->sis_stopped)
OpenPOWER on IntegriCloud