Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Tell usbd_set_config_no() to be verbose. It's n...
details: https://anonhg.NetBSD.org/src/rev/02c482d0c759
branches: trunk
changeset: 498440:02c482d0c759
user: augustss <augustss%NetBSD.org@localhost>
date: Tue Oct 24 14:53:59 2000 +0000
description:
Tell usbd_set_config_no() to be verbose. It's nice to know whyit fails.
diffstat:
sys/dev/usb/if_aue.c | 4 ++--
sys/dev/usb/if_cue.c | 4 ++--
sys/dev/usb/if_kue.c | 6 +++---
sys/dev/usb/if_upl.c | 4 ++--
sys/dev/usb/ugen.c | 4 ++--
sys/dev/usb/urio.c | 4 ++--
sys/dev/usb/uscanner.c | 4 ++--
7 files changed, 15 insertions(+), 15 deletions(-)
diffs (135 lines):
diff -r 1dcbb325d9b8 -r 02c482d0c759 sys/dev/usb/if_aue.c
--- a/sys/dev/usb/if_aue.c Tue Oct 24 14:51:51 2000 +0000
+++ b/sys/dev/usb/if_aue.c Tue Oct 24 14:53:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aue.c,v 1.46 2000/10/12 22:51:20 augustss Exp $ */
+/* $NetBSD: if_aue.c,v 1.47 2000/10/24 14:53:59 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -754,7 +754,7 @@
USB_ATTACH_SETUP;
printf("%s: %s\n", USBDEVNAME(sc->aue_dev), devinfo);
- err = usbd_set_config_no(dev, AUE_CONFIG_NO, 0);
+ err = usbd_set_config_no(dev, AUE_CONFIG_NO, 1);
if (err) {
printf("%s: setting config no failed\n",
USBDEVNAME(sc->aue_dev));
diff -r 1dcbb325d9b8 -r 02c482d0c759 sys/dev/usb/if_cue.c
--- a/sys/dev/usb/if_cue.c Tue Oct 24 14:51:51 2000 +0000
+++ b/sys/dev/usb/if_cue.c Tue Oct 24 14:53:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cue.c,v 1.24 2000/10/01 23:32:45 thorpej Exp $ */
+/* $NetBSD: if_cue.c,v 1.25 2000/10/24 14:53:59 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -599,7 +599,7 @@
USB_ATTACH_SETUP;
printf("%s: %s\n", USBDEVNAME(sc->cue_dev), devinfo);
- err = usbd_set_config_no(dev, CUE_CONFIG_NO, 0);
+ err = usbd_set_config_no(dev, CUE_CONFIG_NO, 1);
if (err) {
printf("%s: setting config no failed\n",
USBDEVNAME(sc->cue_dev));
diff -r 1dcbb325d9b8 -r 02c482d0c759 sys/dev/usb/if_kue.c
--- a/sys/dev/usb/if_kue.c Tue Oct 24 14:51:51 2000 +0000
+++ b/sys/dev/usb/if_kue.c Tue Oct 24 14:53:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_kue.c,v 1.30 2000/10/01 23:32:45 thorpej Exp $ */
+/* $NetBSD: if_kue.c,v 1.31 2000/10/24 14:53:59 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -484,7 +484,7 @@
DPRINTFN(5,("%s: %s: enter\n", USBDEVNAME(sc->kue_dev), __FUNCTION__));
- err = usbd_set_config_no(sc->kue_udev, KUE_CONFIG_NO, 0);
+ err = usbd_set_config_no(sc->kue_udev, KUE_CONFIG_NO, 1);
if (err)
printf("%s: reset failed\n", USBDEVNAME(sc->kue_dev));
@@ -539,7 +539,7 @@
USB_ATTACH_SETUP;
printf("%s: %s\n", USBDEVNAME(sc->kue_dev), devinfo);
- err = usbd_set_config_no(dev, KUE_CONFIG_NO, 0);
+ err = usbd_set_config_no(dev, KUE_CONFIG_NO, 1);
if (err) {
printf("%s: setting config no failed\n",
USBDEVNAME(sc->kue_dev));
diff -r 1dcbb325d9b8 -r 02c482d0c759 sys/dev/usb/if_upl.c
--- a/sys/dev/usb/if_upl.c Tue Oct 24 14:51:51 2000 +0000
+++ b/sys/dev/usb/if_upl.c Tue Oct 24 14:53:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_upl.c,v 1.8 2000/10/01 11:35:29 itojun Exp $ */
+/* $NetBSD: if_upl.c,v 1.9 2000/10/24 14:53:59 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -248,7 +248,7 @@
USB_ATTACH_SETUP;
printf("%s: %s\n", USBDEVNAME(sc->sc_dev), devinfo);
- err = usbd_set_config_no(dev, UPL_CONFIG_NO, 0);
+ err = usbd_set_config_no(dev, UPL_CONFIG_NO, 1);
if (err) {
printf("%s: setting config no failed\n",
USBDEVNAME(sc->sc_dev));
diff -r 1dcbb325d9b8 -r 02c482d0c759 sys/dev/usb/ugen.c
--- a/sys/dev/usb/ugen.c Tue Oct 24 14:51:51 2000 +0000
+++ b/sys/dev/usb/ugen.c Tue Oct 24 14:53:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ugen.c,v 1.42 2000/09/08 01:27:12 augustss Exp $ */
+/* $NetBSD: ugen.c,v 1.43 2000/10/24 14:53:59 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ugen.c,v 1.26 1999/11/17 22:33:41 n_hibma Exp $ */
/*
@@ -244,7 +244,7 @@
USBDEVNAME(sc->sc_dev), configno, sc));
/* Avoid setting the current value. */
if (usbd_get_config_descriptor(dev)->bConfigurationValue != configno) {
- err = usbd_set_config_no(dev, configno, 0);
+ err = usbd_set_config_no(dev, configno, 1);
if (err)
return (err);
}
diff -r 1dcbb325d9b8 -r 02c482d0c759 sys/dev/usb/urio.c
--- a/sys/dev/usb/urio.c Tue Oct 24 14:51:51 2000 +0000
+++ b/sys/dev/usb/urio.c Tue Oct 24 14:53:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: urio.c,v 1.4 2000/09/14 03:13:21 augustss Exp $ */
+/* $NetBSD: urio.c,v 1.5 2000/10/24 14:53:59 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -163,7 +163,7 @@
USB_ATTACH_SETUP;
printf("%s: %s\n", USBDEVNAME(sc->sc_dev), devinfo);
- err = usbd_set_config_no(dev, URIO_CONFIG_NO, 0);
+ err = usbd_set_config_no(dev, URIO_CONFIG_NO, 1);
if (err) {
printf("%s: setting config no failed\n",
USBDEVNAME(sc->sc_dev));
diff -r 1dcbb325d9b8 -r 02c482d0c759 sys/dev/usb/uscanner.c
--- a/sys/dev/usb/uscanner.c Tue Oct 24 14:51:51 2000 +0000
+++ b/sys/dev/usb/uscanner.c Tue Oct 24 14:53:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uscanner.c,v 1.6 2000/10/13 18:16:36 augustss Exp $ */
+/* $NetBSD: uscanner.c,v 1.7 2000/10/24 14:53:59 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -258,7 +258,7 @@
sc->sc_udev = uaa->device;
- err = usbd_set_config_no(uaa->device, 1, 0); /* XXX */
+ err = usbd_set_config_no(uaa->device, 1, 1); /* XXX */
if (err) {
printf("%s: setting config no failed\n",
USBDEVNAME(sc->sc_dev));
Home |
Main Index |
Thread Index |
Old Index