diff options
author | glebius <glebius@FreeBSD.org> | 2006-09-15 15:16:12 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-09-15 15:16:12 +0000 |
commit | c9a02b4657ff2eeb566e1489ac274bcdacf12668 (patch) | |
tree | 69edc872873edac42ece52bd5922cb495478b655 /sys/dev/cs/if_csvar.h | |
parent | 22cf0fa876e1bd0643da9ca4b3a6166f8ddd4e42 (diff) | |
download | FreeBSD-src-c9a02b4657ff2eeb566e1489ac274bcdacf12668.zip FreeBSD-src-c9a02b4657ff2eeb566e1489ac274bcdacf12668.tar.gz |
- Consistently use if_printf() only in interface methods: if_start(),
if_watchdog, etc., or in functions used only in these methods.
In all other functions in the driver use device_printf().
- Use __func__ instead of typing function name.
Submitted by: Alex Lyashkov <umka sevcity.net>
Diffstat (limited to 'sys/dev/cs/if_csvar.h')
-rw-r--r-- | sys/dev/cs/if_csvar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/cs/if_csvar.h b/sys/dev/cs/if_csvar.h index 57ee29d..ba3c7d0 100644 --- a/sys/dev/cs/if_csvar.h +++ b/sys/dev/cs/if_csvar.h @@ -37,6 +37,7 @@ struct cs_softc { /* Ethernet common code */ struct ifnet *ifp; + device_t dev; /* Configuration words from EEPROM */ int auto_neg_cnf; /* AutoNegotitation configuration */ |