diff options
author | imp <imp@FreeBSD.org> | 2007-06-21 14:42:34 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-06-21 14:42:34 +0000 |
commit | d4fd7053d478e89ca3be425ced1a36ebf68d553e (patch) | |
tree | ed0dd4914af2fd4bc48d4d26d7e7b701359acf47 /sys/dev/usb/usb_quirks.h | |
parent | ac6798a72c8fe23cdd0de3feb6488518edba738c (diff) | |
download | FreeBSD-src-d4fd7053d478e89ca3be425ced1a36ebf68d553e.zip FreeBSD-src-d4fd7053d478e89ca3be425ced1a36ebf68d553e.tar.gz |
Latest round of usb cleanups:
o Consistently use device_foo_t and bus_foo_t for functions implementing
device_foo and bus_foo respectively. Adjust those routines that were wrong
(we should do this throughout the tree).
o make all the modules depend on usb. Otherwise these modules won't
load.
o ucycom doesn't need usb_port.h
o Minor unifdefing
o uhub, umass, ums, urio, uscanner conversion complete.
o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940). NetBSD removed
their check and setting the proto a long time ago.
o umodem panic fixed. UQ_ASSUME_CM_OVER_DATA quirk removed because I've never
seen a umodem that needed this rejection for proection (this gets rid of
~20% of the quirks).
Approved by: re@ (kensmith)
PR: 77940
Diffstat (limited to 'sys/dev/usb/usb_quirks.h')
-rw-r--r-- | sys/dev/usb/usb_quirks.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_quirks.h b/sys/dev/usb/usb_quirks.h index cb140b9..d152bfb 100644 --- a/sys/dev/usb/usb_quirks.h +++ b/sys/dev/usb/usb_quirks.h @@ -40,7 +40,6 @@ struct usbd_quirks { u_int32_t uq_flags; /* Device problems: */ -#define UQ_NO_SET_PROTO 0x0001 /* cannot handle SET PROTOCOL. */ #define UQ_SWAP_UNICODE 0x0002 /* has some Unicode strings swapped. */ #define UQ_MS_REVZ 0x0004 /* mouse has Z-axis reversed */ #define UQ_NO_STRINGS 0x0008 /* string descriptors are broken. */ @@ -52,12 +51,10 @@ struct usbd_quirks { #define UQ_POWER_CLAIM 0x0200 /* hub lies about power status */ #define UQ_AU_NO_FRAC 0x0400 /* don't adjust for fractional samples */ #define UQ_AU_INP_ASYNC 0x0800 /* input is async despite claim of adaptive */ -#define UQ_ASSUME_CM_OVER_DATA 0x1000 /* modem device breaks on cm over data */ #define UQ_BROKEN_BIDIR 0x2000 /* printer has broken bidir mode */ #define UQ_OPEN_CLEARSTALL 0x4000 /* device needs clear endpoint stall */ #define UQ_HID_IGNORE 0x8000 /* device should be ignored by hid class */ #define UQ_KBD_IGNORE 0x18000 /* device should be ignored by both kbd and hid class */ - }; extern const struct usbd_quirks usbd_no_quirk; |