From c9a02b4657ff2eeb566e1489ac274bcdacf12668 Mon Sep 17 00:00:00 2001 From: glebius Date: Fri, 15 Sep 2006 15:16:12 +0000 Subject: - 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 --- sys/dev/de/if_devar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/de/if_devar.h') 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; -- cgit v1.1