diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-04-25 12:58:30 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-04-25 12:58:30 +0000 |
| commit | c628479a5735d24174af296c70b3367b015fa8f5 (patch) | |
| tree | f64b9157a4f9d6525beac64045a3e033e019f78d /sys/dev/usb/usb_subr.c | |
| parent | 8e0c4b389294be352514552a6c22d5b9788d4654 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb_subr.c')
| -rw-r--r-- | sys/dev/usb/usb_subr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index ed516e30ae2b..dec294530471 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: usb_subr.c,v 1.96 2001/11/22 21:59:33 augustss Exp $ */ +/* $NetBSD: usb_subr.c,v 1.98 2002/02/20 20:30:13 christos Exp $ */ /* $FreeBSD$ */ /* @@ -672,6 +672,7 @@ usbd_set_config_index(usbd_device_handle dev, int index, int msg) #endif power = cdp->bMaxPower * 2; if (power > dev->powersrc->power) { + DPRINTF(("power exceeded %d %d\n", power,dev->powersrc->power)); /* XXX print nicer message. */ if (msg) printf("%s: device addr %d (config %d) exceeds power " |
