Avoid redefining stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20513 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -45,13 +45,17 @@ typedef struct _s_usb_serial_line_coding{
|
|||||||
#define CLS_LINE_RTS 0x0002
|
#define CLS_LINE_RTS 0x0002
|
||||||
|
|
||||||
/* "forgotten" attributes etc ...*/
|
/* "forgotten" attributes etc ...*/
|
||||||
|
#ifndef USB_EP_ADDR_DIR_IN
|
||||||
#define USB_EP_ADDR_DIR_IN 0x80
|
#define USB_EP_ADDR_DIR_IN 0x80
|
||||||
#define USB_EP_ADDR_DIR_OUT 0x00
|
#define USB_EP_ADDR_DIR_OUT 0x00
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USB_EP_ATTR_CONTROL
|
||||||
#define USB_EP_ATTR_CONTROL 0x00
|
#define USB_EP_ATTR_CONTROL 0x00
|
||||||
#define USB_EP_ATTR_ISOCHRONOUS 0x01
|
#define USB_EP_ATTR_ISOCHRONOUS 0x01
|
||||||
#define USB_EP_ATTR_BULK 0x02
|
#define USB_EP_ATTR_BULK 0x02
|
||||||
#define USB_EP_ATTR_INTERRUPT 0x03
|
#define USB_EP_ATTR_INTERRUPT 0x03
|
||||||
|
#endif
|
||||||
/* USB class - communication devices */
|
/* USB class - communication devices */
|
||||||
#define USB_DEV_CLASS_COMM 0x02
|
#define USB_DEV_CLASS_COMM 0x02
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user