diff options
author | jhb <jhb@FreeBSD.org> | 2005-10-27 21:18:37 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-10-27 21:18:37 +0000 |
commit | 6034c52fb7b00595c543066768d02175be7400c3 (patch) | |
tree | c827f1c3fc1640e5dd6550edb0e3b40bcc7e9dec /sys/dev/vr/if_vrreg.h | |
parent | c08a62eaa2d862633a4ac6fb6bdad9993b14c17a (diff) | |
download | FreeBSD-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/dev/vr/if_vrreg.h')
-rw-r--r-- | sys/dev/vr/if_vrreg.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 */ |