summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi_util.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-10 17:46:28 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-10 17:46:28 +0000
commit6d81e40a10cdca42ea68ce7111a2caaa60f7f185 (patch)
tree56c000163fa0fe63df31ea1445f2f97eb62fbbc0 /sys/dev/usb/usbdi_util.c
parenteca662797b306fe6394bf09e596f4184f133c3d5 (diff)
Get rid of the USBDEVPTRNAME macro.
No binary change. ok jsg.
Diffstat (limited to 'sys/dev/usb/usbdi_util.c')
-rw-r--r--sys/dev/usb/usbdi_util.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/usbdi_util.c b/sys/dev/usb/usbdi_util.c
index 5d2f4c3a2cf..6e578f65916 100644
--- a/sys/dev/usb/usbdi_util.c
+++ b/sys/dev/usb/usbdi_util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi_util.c,v 1.21 2007/06/09 12:03:39 mbalmer Exp $ */
+/* $OpenBSD: usbdi_util.c,v 1.22 2007/06/10 17:46:27 mbalmer Exp $ */
/* $NetBSD: usbdi_util.c,v 1.40 2002/07/11 21:14:36 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi_util.c,v 1.14 1999/11/17 22:33:50 n_hibma Exp $ */
@@ -506,17 +506,17 @@ usbd_intr_transfer(usbd_xfer_handle xfer, usbd_pipe_handle pipe,
void
usb_detach_wait(device_ptr_t dv)
{
- DPRINTF(("usb_detach_wait: waiting for %s\n", USBDEVPTRNAME(dv)));
+ DPRINTF(("usb_detach_wait: waiting for %s\n", dv->dv_xname));
if (tsleep(dv, PZERO, "usbdet", hz * 60))
printf("usb_detach_wait: %s didn't detach\n",
- USBDEVPTRNAME(dv));
- DPRINTF(("usb_detach_wait: %s done\n", USBDEVPTRNAME(dv)));
+ dv->dv_xname);
+ DPRINTF(("usb_detach_wait: %s done\n", dv->dv_xname));
}
void
usb_detach_wakeup(device_ptr_t dv)
{
- DPRINTF(("usb_detach_wakeup: for %s\n", USBDEVPTRNAME(dv)));
+ DPRINTF(("usb_detach_wakeup: for %s\n", dv->dv_xname));
wakeup(dv);
}