3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
24 #include <IndustryStandard/Usb.h>
28 // Bulk Only device protocol
33 UINT32 dCBWDataTransferLength
;
43 UINT32 dCSWDataResidue
;
49 #define USB_BOT_DEVICE_SIGNATURE EFI_SIGNATURE_32 ('u', 'b', 'o', 't')
53 EFI_DEVICE_PATH_PROTOCOL
*DevicePath
;
54 EFI_USB_ATAPI_PROTOCOL UsbAtapiProtocol
;
55 EFI_USB_IO_PROTOCOL
*UsbIo
;
56 EFI_USB_INTERFACE_DESCRIPTOR
*InterfaceDescriptor
;
57 EFI_USB_ENDPOINT_DESCRIPTOR
*BulkInEndpointDescriptor
;
58 EFI_USB_ENDPOINT_DESCRIPTOR
*BulkOutEndpointDescriptor
;
59 EFI_UNICODE_STRING_TABLE
*ControllerNameTable
;
62 #define USB_BOT_DEVICE_FROM_THIS(a) \
63 CR(a, USB_BOT_DEVICE, UsbAtapiProtocol, USB_BOT_DEVICE_SIGNATURE)
66 // Status code, see Usb Bot device spec
68 #define CSWSIG 0x53425355
69 #define CBWSIG 0x43425355
74 extern EFI_DRIVER_BINDING_PROTOCOL gUsbBotDriverBinding
;
75 extern EFI_COMPONENT_NAME_PROTOCOL gUsbBotComponentName
;
76 extern EFI_GUID gUsbBotDriverGuid
;