Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Pretend we can detach. Then we can at least the...
details: https://anonhg.NetBSD.org/src/rev/43eb4045a010
branches: trunk
changeset: 480718:43eb4045a010
user: augustss <augustss%NetBSD.org@localhost>
date: Tue Jan 18 19:46:55 2000 +0000
description:
Pretend we can detach. Then we can at least the detach the device
if the attach fails in the middle.
diffstat:
sys/dev/usb/if_aue.c | 5 ++---
sys/dev/usb/if_cue.c | 5 ++---
sys/dev/usb/if_kue.c | 5 ++---
3 files changed, 6 insertions(+), 9 deletions(-)
diffs (60 lines):
diff -r 6d46cd3cc8e7 -r 43eb4045a010 sys/dev/usb/if_aue.c
--- a/sys/dev/usb/if_aue.c Tue Jan 18 19:46:07 2000 +0000
+++ b/sys/dev/usb/if_aue.c Tue Jan 18 19:46:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aue.c,v 1.12 2000/01/17 13:23:05 augustss Exp $ */
+/* $NetBSD: if_aue.c,v 1.13 2000/01/18 19:46:55 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -911,9 +911,8 @@
* to the ifnet.
*/
if_delref(sc->aue_ec.ec_if);
+#else
return (0);
-#else
- return (EBUSY);
#endif
#endif /* defined(__NetBSD__) || defined(__OpenBSD__) */
diff -r 6d46cd3cc8e7 -r 43eb4045a010 sys/dev/usb/if_cue.c
--- a/sys/dev/usb/if_cue.c Tue Jan 18 19:46:07 2000 +0000
+++ b/sys/dev/usb/if_cue.c Tue Jan 18 19:46:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cue.c,v 1.1 2000/01/17 17:12:20 augustss Exp $ */
+/* $NetBSD: if_cue.c,v 1.2 2000/01/18 19:46:55 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -685,9 +685,8 @@
* to the ifnet.
*/
if_delref(sc->cue_ec.ec_if);
+#else
return (0);
-#else
- return (EBUSY);
#endif
#endif /* defined(__NetBSD__) || defined(__OpenBSD__) */
diff -r 6d46cd3cc8e7 -r 43eb4045a010 sys/dev/usb/if_kue.c
--- a/sys/dev/usb/if_kue.c Tue Jan 18 19:46:07 2000 +0000
+++ b/sys/dev/usb/if_kue.c Tue Jan 18 19:46:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_kue.c,v 1.2 2000/01/17 13:25:22 augustss Exp $ */
+/* $NetBSD: if_kue.c,v 1.3 2000/01/18 19:46:55 augustss Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
* Bill Paul <wpaul%ee.columbia.edu@localhost>. All rights reserved.
@@ -742,9 +742,8 @@
* to the ifnet.
*/
if_delref(sc->kue_ec.ec_if);
+#else
return (0);
-#else
- return (EBUSY);
#endif
#endif /* defined(__NetBSD__) || defined(__OpenBSD__) */
Home |
Main Index |
Thread Index |
Old Index