MFNetBSD:

revision 1.55
    date: 2001/11/16 02:21:54;  author: augustss;  state: Exp;  lines: +4 -4
    Better error message.
This commit is contained in:
joe 2002-04-07 10:59:02 +00:00
parent 2e68b74266
commit 8adf5dd9d9

View File

@ -1,4 +1,4 @@
/* $NetBSD: uhub.c,v 1.54 2001/11/16 01:57:47 augustss Exp $ */ /* $NetBSD: uhub.c,v 1.55 2001/11/16 02:21:54 augustss Exp $ */
/* $FreeBSD$ */ /* $FreeBSD$ */
/* /*
@ -439,8 +439,8 @@ uhub_explore(usbd_device_handle dev)
/* Reset port, which implies enabling it. */ /* Reset port, which implies enabling it. */
if (usbd_reset_port(dev, port, &up->status)) { if (usbd_reset_port(dev, port, &up->status)) {
printf("uhub_explore: port=%d reset failed\n", printf("%s: port %d reset failed\n",
port); USBDEVNAME(sc->sc_dev), port);
continue; continue;
} }
/* Get port status again, it might have changed during reset */ /* Get port status again, it might have changed during reset */