14 #ifndef __IDE_CTRL_CFG_H__ 15 #define __IDE_CTRL_CFG_H__ 32 #define ATA_MODES_PIO3 0x001 33 #define ATA_MODES_PIO4 0x002 35 #define ATA_MODES_PIO 0x003 37 #define ATA_MODES_DMA0 0x004 38 #define ATA_MODES_DMA1 0x008 39 #define ATA_MODES_DMA2 0x010 41 #define ATA_MODES_UDMA0 0x020 42 #define ATA_MODES_UDMA1 0x040 43 #define ATA_MODES_UDMA2 0x080 44 #define ATA_MODES_UDMA3 0x100 45 #define ATA_MODES_UDMA4 0x200 46 #define ATA_MODES_UDMA5 0x400 48 #define ATA_MODES_UDMA 0x7e0 49 #define ATA_MODES_DMA 0x7fc 58 bool (*ctrl_probe)(
int minor);
59 void (*ctrl_initialize)(
int minor);
60 int (*ctrl_control)(
int minor, uint32_t command,
67 void (*ctrl_reg_read)(
int minor,
int regist, uint16_t *value);
68 void (*ctrl_reg_write)(
int minor,
int regist, uint16_t value);
74 void (*ctrl_read_block)(
int minor, uint32_t block_size,
77 void (*ctrl_write_block)(
int minor, uint32_t block_size,
82 uint16_t modes_available);
93 bool (*probe)(
int minor);
110 extern unsigned long IDE_Controller_Count;
113 #define IDE_CTRL_MAX_MINOR_NUMBER 4 115 #define IDE_CTRL_NON_INITIALIZED 0 116 #define IDE_CTRL_INITIALIZED 1 Definition: ide_ctrl_cfg.h:89
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
rtems_status_code
Classic API Status.
Definition: status.h:43
Block device scatter or gather buffer structure.
Definition: blkdev.h:68
Definition: ide_ctrl_cfg.h:57