Changeset View
Changeset View
Standalone View
Standalone View
head/sys/cam/ata/ata_all.h
Show All 40 Lines | |||||
struct ata_cmd { | struct ata_cmd { | ||||
u_int8_t flags; /* ATA command flags */ | u_int8_t flags; /* ATA command flags */ | ||||
#define CAM_ATAIO_48BIT 0x01 /* Command has 48-bit format */ | #define CAM_ATAIO_48BIT 0x01 /* Command has 48-bit format */ | ||||
#define CAM_ATAIO_FPDMA 0x02 /* FPDMA command */ | #define CAM_ATAIO_FPDMA 0x02 /* FPDMA command */ | ||||
#define CAM_ATAIO_CONTROL 0x04 /* Control, not a command */ | #define CAM_ATAIO_CONTROL 0x04 /* Control, not a command */ | ||||
#define CAM_ATAIO_NEEDRESULT 0x08 /* Request requires result. */ | #define CAM_ATAIO_NEEDRESULT 0x08 /* Request requires result. */ | ||||
#define CAM_ATAIO_DMA 0x10 /* DMA command */ | #define CAM_ATAIO_DMA 0x10 /* DMA command */ | ||||
#define CAM_ATAIO_AUX_HACK 0x20 /* Kludge to make FPDMA DSM TRIM work */ | |||||
u_int8_t command; | u_int8_t command; | ||||
u_int8_t features; | u_int8_t features; | ||||
u_int8_t lba_low; | u_int8_t lba_low; | ||||
u_int8_t lba_mid; | u_int8_t lba_mid; | ||||
u_int8_t lba_high; | u_int8_t lba_high; | ||||
u_int8_t device; | u_int8_t device; | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |