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/de/if_devar.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/de/if_devar.h')
-rw-r--r-- | sys/dev/de/if_devar.h | 1 |
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; |