ata_status_t
ATA Status Bits.
Definition: ata_types.h:23
ata_dma_command_t
DMA specific commands.
Definition: ata_types.h:59
ata_device_type_t
Types of ATA devices.
Definition: ata_types.h:43
ata_identity_command_t
ATA identity commands.
Definition: ata_types.h:67
ata_error_t
ATA Error Bits.
Definition: ata_types.h:11
ata_control_t
ATA Control Bits.
Definition: ata_types.h:35
ata_bus_mastering_command_t
Values used to manage bus mastering.
Definition: ata_types.h:53
@ ata_status_rdy
Bit is clear when drive is spun down, or after an error. Set otherwise.
Definition: ata_types.h:30
@ ata_status_err
Indicates an error occurred.
Definition: ata_types.h:24
@ ata_status_df
Drive Fault Error (does not set ERR).
Definition: ata_types.h:29
@ ata_status_bsy
The drive is preparing to send/receive data (wait for it to clear).
Definition: ata_types.h:31
@ ata_status_srv
Overlapped Mode Service Request.
Definition: ata_types.h:28
@ ata_status_idx
Index. Always set to zero.
Definition: ata_types.h:25
@ ata_status_drq
Set when the drive has PIO data to transfer, or is ready to accept PIO data.
Definition: ata_types.h:27
@ ata_status_corr
Corrected data. Always set to zero.
Definition: ata_types.h:26
@ ata_dma_command_write_no_retry
Write DMA without retries (28 bit LBA).
Definition: ata_types.h:63
@ ata_dma_command_read
Read DMA with retries (28 bit LBA).
Definition: ata_types.h:60
@ ata_dma_command_read_no_retry
Read DMA without retries (28 bit LBA).
Definition: ata_types.h:61
@ ata_dma_command_write
Write DMA with retries (28 bit LBA).
Definition: ata_types.h:62
@ ata_dev_type_satapi
Serial ATAPI drive.
Definition: ata_types.h:49
@ ata_dev_type_no_device
No device detected.
Definition: ata_types.h:45
@ ata_dev_type_pata
Parallel ATA drive.
Definition: ata_types.h:46
@ ata_dev_type_unknown
Device type not recognized.
Definition: ata_types.h:44
@ ata_dev_type_sata
Serial ATA drive.
Definition: ata_types.h:47
@ ata_dev_type_patapi
Parallel ATAPI drive.
Definition: ata_types.h:48
@ ata_command_pata_ident
Identify Device.
Definition: ata_types.h:68
@ ata_command_patapi_ident
Identify Device.
Definition: ata_types.h:69
@ ata_err_amnf
Address mark not found.
Definition: ata_types.h:12
@ ata_err_mc
Media changed.
Definition: ata_types.h:17
@ ata_err_unc
Uncorrectable data error.
Definition: ata_types.h:18
@ ata_err_idnf
ID not found.
Definition: ata_types.h:16
@ ata_err_tkznf
Track zero not found.
Definition: ata_types.h:13
@ ata_err_mcr
Media change request.
Definition: ata_types.h:15
@ ata_err_abrt
Aborted command.
Definition: ata_types.h:14
@ ata_err_bbk
Bad Block detected.
Definition: ata_types.h:19
@ ata_control_zero
Always set to zero.
Definition: ata_types.h:36
@ ata_control_nien
Set this to stop the current device from sending interrupts.
Definition: ata_types.h:37
@ ata_control_srst
Set, then clear (after 5us), this to do a "Software Reset" on all ATA drives on a bus,...
Definition: ata_types.h:38
@ ata_control_hob
Set this to read back the High Order Byte (HOB) of the last LBA48 value sent to an IO port.
Definition: ata_types.h:39
@ ata_bm_start_bus_master
Enables bus master operation of the controller.
Definition: ata_types.h:55
@ ata_bm_stop_bus_master
Halts bus master operations of the controller.
Definition: ata_types.h:54