From 0eaa3a34bffde2afb0b8f5f5e3b6ad6820564007 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 11 May 2015 14:56:46 +0100 Subject: [usb] Add USB_INTERRUPT_OUT internal type Signed-off-by: Michael Brown --- src/include/ipxe/usb.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/usb.h b/src/include/ipxe/usb.h index 0b27d02cb..ab060b8f4 100644 --- a/src/include/ipxe/usb.h +++ b/src/include/ipxe/usb.h @@ -277,8 +277,11 @@ struct usb_endpoint_descriptor { /** Bulk IN endpoint (internal) type */ #define USB_BULK_IN ( USB_ENDPOINT_ATTR_BULK | USB_DIR_IN ) -/** Interrupt endpoint (internal) type */ -#define USB_INTERRUPT ( USB_ENDPOINT_ATTR_INTERRUPT | USB_DIR_IN ) +/** Interrupt IN endpoint (internal) type */ +#define USB_INTERRUPT_IN ( USB_ENDPOINT_ATTR_INTERRUPT | USB_DIR_IN ) + +/** Interrupt OUT endpoint (internal) type */ +#define USB_INTERRUPT_OUT ( USB_ENDPOINT_ATTR_INTERRUPT | USB_DIR_OUT ) /** USB endpoint MTU */ #define USB_ENDPOINT_MTU(sizes) ( ( (sizes) >> 0 ) & 0x07ff ) -- cgit v1.2.3-55-g7522