diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 1999-05-03 23:18:11 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 1999-05-03 23:18:11 +0000 |
| commit | 0bf852535418d48950bb2805946653b585cf1b4c (patch) | |
| tree | 509e50eb46be04f0e2d4bf88d1f1ba52ba50da9e | |
| parent | f99abb25a657c9aee27c3cfc5aa573cc8ad46077 (diff) | |
Notes
| -rw-r--r-- | sys/dev/usb/usb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 0cf7304018f4..514630e0904f 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -228,7 +228,8 @@ typedef struct { #define UE_OUT 0x00 #define UE_ADDR 0x0f #define UE_GET_ADDR(a) ((a) & UE_ADDR) -#define UE_GET_IN(a) (((a) >> 7) & 1) +#define UE_GET_IN(a) (((a) >> 7) & 1) /* XXX should be removed */ +#define UE_GET_DIR(a) ((a) & UE_DIR) uByte bmAttributes; #define UE_XFERTYPE 0x03 #define UE_CONTROL 0x00 |
