Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/usb Pull up rev. 1.58:



details:   https://anonhg.NetBSD.org/src/rev/491df45861f7
branches:  netbsd-1-5
changeset: 488289:491df45861f7
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jun 27 19:28:19 2000 +0000

description:
Pull up rev. 1.58:
Kill SPLUSBCHECK -- it's not portable, and quite annoying on some
platforms which otherwise function just fine.

diffstat:

 sys/dev/usb/usbdivar.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 921d9368a96b -r 491df45861f7 sys/dev/usb/usbdivar.h
--- a/sys/dev/usb/usbdivar.h    Tue Jun 27 18:55:55 2000 +0000
+++ b/sys/dev/usb/usbdivar.h    Tue Jun 27 19:28:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdivar.h,v 1.57 2000/06/01 14:29:03 augustss Exp $   */
+/*     $NetBSD: usbdivar.h,v 1.57.2.1 2000/06/27 19:28:19 thorpej Exp $        */
 /*     $FreeBSD: src/sys/dev/usb/usbdivar.h,v 1.11 1999/11/17 22:33:51 n_hibma Exp $   */
 
 /*
@@ -243,7 +243,10 @@
 void           usb_needs_explore(usbd_bus_handle);
 void           usb_schedsoftintr(struct usbd_bus *);
 
-#ifdef DIAGNOSTIC
+/*
+ * XXX This check is extremely bogus. Bad Bad Bad.
+ */
+#if defined(DIAGNOSTIC) && 0
 #define SPLUSBCHECK \
        do { int _s = splusb(), _su = splusb(); \
              if (!cold && _s != _su) printf("SPLUSBCHECK failed 0x%x!=0x%x, %s:%d\n", \



Home | Main Index | Thread Index | Old Index