summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_axe.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-09-07 00:06:42 +0000
committerimp <imp@FreeBSD.org>2006-09-07 00:06:42 +0000
commit28b388f478a97f7ac5d608085d2de2299b5f4940 (patch)
tree6be1b34cd1d3af5d631e1a8c39ca0dd5d0165f89 /sys/dev/usb/if_axe.c
parentfb77a38eda0f5fdd90d8c7321017465e50859e84 (diff)
downloadFreeBSD-src-28b388f478a97f7ac5d608085d2de2299b5f4940.zip
FreeBSD-src-28b388f478a97f7ac5d608085d2de2299b5f4940.tar.gz
More removing compatibility macros.
md5 still the same. "Dave, stop. I feel my mind slipping away." -- hal
Diffstat (limited to 'sys/dev/usb/if_axe.c')
-rw-r--r--sys/dev/usb/if_axe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index 416e4a3..8921919 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -444,7 +444,7 @@ USB_ATTACH(axe)
usbd_devinfo(uaa->device, 0, devinfo);
device_set_desc_copy(self, devinfo);
- printf("%s: %s\n", USBDEVNAME(self), devinfo);
+ printf("%s: %s\n", device_get_nameunit(self), devinfo);
/* Find endpoints. */
for (i = 0; i < id->bNumEndpoints; i++) {
@@ -599,7 +599,7 @@ axe_rxstart(struct ifnet *ifp)
c->ue_mbuf = usb_ether_newbuf();
if (c->ue_mbuf == NULL) {
printf("%s: no memory for rx list "
- "-- packet dropped!\n", USBDEVNAME(sc->axe_dev));
+ "-- packet dropped!\n", device_get_nameunit(sc->axe_dev));
ifp->if_ierrors++;
AXE_UNLOCK(sc);
return;
OpenPOWER on IntegriCloud