Revision f3571b1a hw/usb-net.c
b/hw/usb-net.c | ||
---|---|---|
71 | 71 |
#define USB_DT_CS_INTERFACE 0x24 |
72 | 72 |
#define USB_DT_CS_ENDPOINT 0x25 |
73 | 73 |
|
74 |
#define ClassInterfaceRequest \ |
|
75 |
((USB_DIR_IN | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) |
|
76 |
#define ClassInterfaceOutRequest \ |
|
77 |
((USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE) << 8) |
|
78 |
|
|
79 | 74 |
#define USB_CDC_SEND_ENCAPSULATED_COMMAND 0x00 |
80 | 75 |
#define USB_CDC_GET_ENCAPSULATED_RESPONSE 0x01 |
81 | 76 |
#define USB_CDC_REQ_SET_LINE_CODING 0x20 |
Also available in: Unified diff