summaryrefslogtreecommitdiffstats
path: root/sys/dev/de/if_devar.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-09-15 15:16:12 +0000
committerglebius <glebius@FreeBSD.org>2006-09-15 15:16:12 +0000
commitc9a02b4657ff2eeb566e1489ac274bcdacf12668 (patch)
tree69edc872873edac42ece52bd5922cb495478b655 /sys/dev/de/if_devar.h
parent22cf0fa876e1bd0643da9ca4b3a6166f8ddd4e42 (diff)
downloadFreeBSD-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/de/if_devar.h')
-rw-r--r--sys/dev/de/if_devar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/de/if_devar.h b/sys/dev/de/if_devar.h
index 5c2e37d..8b7e3ce 100644
--- a/sys/dev/de/if_devar.h
+++ b/sys/dev/de/if_devar.h
@@ -507,6 +507,7 @@ struct tulip_perfstat {
* Per-driver-instance state.
*/
struct tulip_softc {
+ device_t tulip_dev;
struct ifmedia tulip_ifmedia;
int tulip_unit;
struct ifnet *tulip_ifp;
OpenPOWER on IntegriCloud