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.
This commit is contained in:
joe 2002-04-01 20:23:50 +00:00
parent 1bcafdd129
commit 06c2b31c46

View File

@ -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$ */ /* $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_needs_explore(usbd_bus_handle);
void usb_schedsoftintr(struct usbd_bus *); void usb_schedsoftintr(struct usbd_bus *);
#ifdef DIAGNOSTIC /*
* XXX This check is extremely bogus. Bad Bad Bad.
*/
#if defined(DIAGNOSTIC) && 0
#define SPLUSBCHECK \ #define SPLUSBCHECK \
do { int _s = splusb(), _su = splusb(); \ do { int _s = splusb(), _su = splusb(); \
if (!cold && _s != _su) printf("SPLUSBCHECK failed 0x%x!=0x%x, %s:%d\n", \ if (!cold && _s != _su) printf("SPLUSBCHECK failed 0x%x!=0x%x, %s:%d\n", \