USB mass storage driver.
More...
#include <stdint.h>
#include <ipxe/usb.h>
#include <ipxe/scsi.h>
#include <ipxe/interface.h>
Go to the source code of this file.
USB mass storage driver.
Definition in file usbblk.h.
◆ USB_CLASS_MSC
| #define USB_CLASS_MSC 0x08 |
Mass storage class code.
Definition at line 19 of file usbblk.h.
◆ USB_SUBCLASS_MSC_SCSI
| #define USB_SUBCLASS_MSC_SCSI 0x06 |
SCSI command set subclass code.
Definition at line 22 of file usbblk.h.
◆ USB_PROTOCOL_MSC_BULK
| #define USB_PROTOCOL_MSC_BULK 0x50 |
Bulk-only transport protocol.
Definition at line 25 of file usbblk.h.
◆ USBBLK_RESET
Value: USB_REQUEST_TYPE ( 255 ) )
#define USB_RECIP_INTERFACE
Request recipient is an interface.
#define USB_DIR_OUT
Data transfer is from host to device.
#define USB_TYPE_CLASS
Class-specific request type.
Mass storage reset command.
Definition at line 28 of file usbblk.h.
◆ USBBLK_COMMAND_SIGNATURE
| #define USBBLK_COMMAND_SIGNATURE 0x43425355UL |
Command block wrapper signature.
Definition at line 50 of file usbblk.h.
◆ USBBLK_STATUS_SIGNATURE
| #define USBBLK_STATUS_SIGNATURE 0x53425355UL |
Command status wrapper signature.
Definition at line 65 of file usbblk.h.
◆ USBBLK_TAG_MAGIC
| #define USBBLK_TAG_MAGIC 0x18ae0000 |
Command tag magic.
This is a policy decision.
Definition at line 108 of file usbblk.h.
◆ USBBLK_MAX_LEN
| #define USBBLK_MAX_LEN 2048 |
Maximum length of USB data block.
This is a policy decision.
Definition at line 114 of file usbblk.h.
◆ USBBLK_MAX_FILL
| #define USBBLK_MAX_FILL 4 |
Maximum endpoint fill level.
This is a policy decision.
Definition at line 120 of file usbblk.h.
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL |
| ) |
|
◆ FILE_SECBOOT()
| FILE_SECBOOT |
( |
PERMITTED |
| ) |
|