diff options
author | brooks <brooks@FreeBSD.org> | 2002-10-21 02:54:50 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2002-10-21 02:54:50 +0000 |
commit | 47c985c054a501011cc732b9c5d0bd68498f3a41 (patch) | |
tree | c9254133581736316c12e3b1f94279230fdfde44 /sys/pci/if_tlreg.h | |
parent | 3eee68d184a79ab4f055e04fa5d389eba13fbd0a (diff) | |
download | FreeBSD-src-47c985c054a501011cc732b9c5d0bd68498f3a41.zip FreeBSD-src-47c985c054a501011cc732b9c5d0bd68498f3a41.tar.gz |
Use if_printf(ifp, "blah") and device_printf(dev, "blah") instead of
printf("%s%d: blah", ifp->if_name, ifp->if_xname). This eliminates the
need to store the unit number in the softc.
Diffstat (limited to 'sys/pci/if_tlreg.h')
-rw-r--r-- | sys/pci/if_tlreg.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/pci/if_tlreg.h b/sys/pci/if_tlreg.h index bd7ea5b..fe711ac 100644 --- a/sys/pci/if_tlreg.h +++ b/sys/pci/if_tlreg.h @@ -118,7 +118,6 @@ struct tl_softc { struct resource *tl_res; device_t tl_miibus; struct tl_type *tl_dinfo; /* ThunderLAN adapter info */ - u_int8_t tl_unit; /* interface number */ u_int8_t tl_eeaddr; struct tl_list_data *tl_ldata; /* TX/RX lists and mbufs */ struct tl_chain_data tl_cdata; |