MentOS  0.8.0
The Mentoring Operating System
Enumerations
ata_types.h File Reference

Data types for managing Advanced Technology Attachment (ATA) devices. More...

Go to the source code of this file.

Enumerations

enum  ata_error_t {
  ata_err_amnf = (1 << 0) , ata_err_tkznf = (1 << 1) , ata_err_abrt = (1 << 2) , ata_err_mcr = (1 << 3) ,
  ata_err_idnf = (1 << 4) , ata_err_mc = (1 << 5) , ata_err_unc = (1 << 6) , ata_err_bbk = (1 << 7)
}
 ATA Error Bits. More...
 
enum  ata_status_t {
  ata_status_err = (1 << 0) , ata_status_idx = (1 << 1) , ata_status_corr = (1 << 2) , ata_status_drq = (1 << 3) ,
  ata_status_srv = (1 << 4) , ata_status_df = (1 << 5) , ata_status_rdy = (1 << 6) , ata_status_bsy = (1 << 7)
}
 ATA Status Bits. More...
 
enum  ata_control_t { ata_control_zero = 0x00 , ata_control_nien = 0x02 , ata_control_srst = 0x04 , ata_control_hob = 0x80 }
 ATA Control Bits. More...
 
enum  ata_device_type_t {
  ata_dev_type_unknown , ata_dev_type_no_device , ata_dev_type_pata , ata_dev_type_sata ,
  ata_dev_type_patapi , ata_dev_type_satapi
}
 Types of ATA devices. More...
 
enum  ata_bus_mastering_command_t { ata_bm_stop_bus_master = 0x00 , ata_bm_start_bus_master = 0x01 }
 Values used to manage bus mastering. More...
 
enum  ata_dma_command_t { ata_dma_command_read = 0xC8 , ata_dma_command_read_no_retry = 0xC9 , ata_dma_command_write = 0xCA , ata_dma_command_write_no_retry = 0xCB }
 DMA specific commands. More...
 
enum  ata_identity_command_t { ata_command_pata_ident = 0xEC , ata_command_patapi_ident = 0xA1 }
 ATA identity commands. More...
 

Detailed Description

Data types for managing Advanced Technology Attachment (ATA) devices.