diff options
author | joe <joe@FreeBSD.org> | 2002-04-01 20:23:50 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2002-04-01 20:23:50 +0000 |
commit | 06c2b31c464b6e27a45ee87cafac7b800d942e26 (patch) | |
tree | de9702ca0952badbf41405250402add8da180c84 /sys | |
parent | 1bcafdd12907747f0c52e3be2b2aeb3606796de2 (diff) | |
download | FreeBSD-src-06c2b31c464b6e27a45ee87cafac7b800d942e26.zip FreeBSD-src-06c2b31c464b6e27a45ee87cafac7b800d942e26.tar.gz |
MFNetBSD:
revision 1.58
date: 2000/06/24 04:12:53; author: thorpej; state: Exp; lines: +5 -2
Kill SPLUSBCHECK -- it's not portable, and quite annoying on some
platforms which otherwise function just fine.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/usbdivar.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h index 95a7323..1946eaf 100644 --- a/sys/dev/usb/usbdivar.h +++ b/sys/dev/usb/usbdivar.h @@ -1,4 +1,4 @@ -/* $NetBSD: usbdivar.h,v 1.57 2000/06/01 14:29:03 augustss Exp $ */ +/* $NetBSD: usbdivar.h,v 1.58 2000/06/24 04:12:53 thorpej Exp $ */ /* $FreeBSD$ */ /* @@ -243,7 +243,10 @@ void usb_disconnect_port(struct usbd_port *up, device_ptr_t); 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", \ |