diff options
author | imp <imp@FreeBSD.org> | 2007-06-12 19:40:20 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-06-12 19:40:20 +0000 |
commit | bed92e37b990e7d96eecf2017d1eb53cfcf0eb4b (patch) | |
tree | 408dfdf4d19cb2980934e832dd0e70d9983b1c71 /sys/dev/usb/usbdivar.h | |
parent | ac79d73e564811041d31e1a7c080c7dbc1040b97 (diff) | |
download | FreeBSD-src-bed92e37b990e7d96eecf2017d1eb53cfcf0eb4b.zip FreeBSD-src-bed92e37b990e7d96eecf2017d1eb53cfcf0eb4b.tar.gz |
First pass at removing __OtherBSD__. We can't blindly remove all of
them in bulk because there is at least one feature that's
unimplemented on FreeBSD that needs to be done and these are good
placeholders.
Diffstat (limited to 'sys/dev/usb/usbdivar.h')
-rw-r--r-- | sys/dev/usb/usbdivar.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h index 1c8386a..eeb386c 100644 --- a/sys/dev/usb/usbdivar.h +++ b/sys/dev/usb/usbdivar.h @@ -38,10 +38,6 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#if defined(__NetBSD__) -#include <sys/callout.h> -#endif - /* From usb_mem.h */ struct usb_dma_block; typedef struct { @@ -297,9 +293,6 @@ void usb_schedsoftintr(struct usbd_bus *); /* Locator stuff. */ -#if defined(__NetBSD__) -#include "locators.h" -#elif defined(__FreeBSD__) || defined(__OpenBSD__) /* XXX these values are used to statically bind some elements in the USB tree * to specific driver instances. This should be somehow emulated in FreeBSD * but can be done later on. @@ -311,16 +304,6 @@ void usb_schedsoftintr(struct usbd_bus *); #define UHUBCF_VENDOR_DEFAULT -1 #define UHUBCF_PRODUCT_DEFAULT -1 #define UHUBCF_RELEASE_DEFAULT -1 -#endif - -#if defined (__OpenBSD__) -#define UHUBCF_PORT 0 -#define UHUBCF_CONFIGURATION 1 -#define UHUBCF_INTERFACE 2 -#define UHUBCF_VENDOR 3 -#define UHUBCF_PRODUCT 4 -#define UHUBCF_RELEASE 5 -#endif #define uhubcf_port cf_loc[UHUBCF_PORT] #define uhubcf_configuration cf_loc[UHUBCF_CONFIGURATION] |