Better debug message.

This commit is contained in:
augustss 2001-10-24 15:30:17 +00:00
parent 5b191935e3
commit 97d4315865
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: uhub.c,v 1.50 2001/09/28 23:42:16 augustss Exp $ */
/* $NetBSD: uhub.c,v 1.51 2001/10/24 15:30:17 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
/*
@ -344,8 +344,8 @@ uhub_explore(usbd_device_handle dev)
}
status = UGETW(up->status.wPortStatus);
change = UGETW(up->status.wPortChange);
DPRINTFN(3,("uhub_explore: port %d status 0x%04x 0x%04x\n",
port, status, change));
DPRINTFN(3,("uhub_explore: %s port %d status 0x%04x 0x%04x\n",
USBDEVNAME(sc->sc_dev), port, status, change));
if (change & UPS_C_PORT_ENABLED) {
DPRINTF(("uhub_explore: C_PORT_ENABLED\n"));
usbd_clear_port_feature(dev, port, UHF_C_PORT_ENABLE);