File indexing completed on 2025-05-11 08:23:43
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef __ATA_H__
0015 #define __ATA_H__
0016
0017 #include <rtems.h>
0018 #include <sys/ioctl.h>
0019
0020 #include <rtems/blkdev.h>
0021
0022 #ifdef __cplusplus
0023 extern "C" {
0024 #endif
0025
0026 rtems_device_driver rtems_ata_initialize(
0027 rtems_device_major_number major,
0028 rtems_device_minor_number minor,
0029 void *args);
0030
0031 #define ATA_DRIVER_TABLE_ENTRY \
0032 { rtems_ata_initialize, NULL, NULL, NULL, NULL, NULL }
0033
0034
0035 #define ATAIO_SET_MULTIPLE_MODE _IO('A', 1)
0036
0037
0038
0039
0040
0041 #define ATA_DRIVER_MESSAGE_QUEUE_SIZE 50
0042 #define ATA_DRIVER_TASK_STACK_SIZE 16*1024
0043 #define ATA_DRIVER_TASK_DEFAULT_PRIORITY 140
0044 extern rtems_task_priority rtems_ata_driver_task_priority;
0045 #ifdef __cplusplus
0046 }
0047 #endif
0048
0049
0050 #endif