summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_vrreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-10-27 21:18:37 +0000
committerjhb <jhb@FreeBSD.org>2005-10-27 21:18:37 +0000
commit6034c52fb7b00595c543066768d02175be7400c3 (patch)
treec827f1c3fc1640e5dd6550edb0e3b40bcc7e9dec /sys/pci/if_vrreg.h
parentc08a62eaa2d862633a4ac6fb6bdad9993b14c17a (diff)
downloadFreeBSD-src-6034c52fb7b00595c543066768d02175be7400c3.zip
FreeBSD-src-6034c52fb7b00595c543066768d02175be7400c3.tar.gz
- 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.
Diffstat (limited to 'sys/pci/if_vrreg.h')
-rw-r--r--sys/pci/if_vrreg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/pci/if_vrreg.h b/sys/pci/if_vrreg.h
index 7d42656..7b43c0b 100644
--- a/sys/pci/if_vrreg.h
+++ b/sys/pci/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 */
OpenPOWER on IntegriCloud