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:
Josef Karthauser 2002-04-07 10:59:02 +00:00
parent bcfc7cc136
commit 3b0f6960df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94067

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 */