summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tlreg.h
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2002-10-21 02:54:50 +0000
committerbrooks <brooks@FreeBSD.org>2002-10-21 02:54:50 +0000
commit47c985c054a501011cc732b9c5d0bd68498f3a41 (patch)
treec9254133581736316c12e3b1f94279230fdfde44 /sys/pci/if_tlreg.h
parent3eee68d184a79ab4f055e04fa5d389eba13fbd0a (diff)
downloadFreeBSD-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.h1
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;
OpenPOWER on IntegriCloud