From 6034c52fb7b00595c543066768d02175be7400c3 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 27 Oct 2005 21:18:37 +0000 Subject: - Use if_printf() and device_printf() and remove vr_unit from the softc. I had to initialize the ifnet a bit earlier in attach so that the if_printf()'s in vr_reset() didn't explode with a page fault. - Use M_ZERO with contigmalloc() rather than an explicit bzero. --- sys/dev/vr/if_vrreg.h | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/vr/if_vrreg.h') diff --git a/sys/dev/vr/if_vrreg.h b/sys/dev/vr/if_vrreg.h index 7d42656..7b43c0b 100644 --- a/sys/dev/vr/if_vrreg.h +++ b/sys/dev/vr/if_vrreg.h @@ -460,7 +460,6 @@ struct vr_softc { void *vr_intrhand; device_t vr_miibus; struct vr_type *vr_info; /* Rhine adapter info */ - u_int8_t vr_unit; /* interface number */ u_int8_t vr_type; u_int8_t vr_revid; /* Rhine chip revision */ u_int8_t vr_flags; /* See VR_F_* below */ -- cgit v1.1