diff options
Diffstat (limited to 'include/ata_drive.h')
-rw-r--r-- | include/ata_drive.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/include/ata_drive.h b/include/ata_drive.h index 6b8915c9cb..e840d89f4a 100644 --- a/include/ata_drive.h +++ b/include/ata_drive.h @@ -67,7 +67,12 @@ enum { ATA_ID_MWDMA_MODES = 63, ATA_ID_PIO_MODES = 64, ATA_ID_QUEUE_DEPTH = 75, + ATA_ID_SATA_CAPAB_1 = 76, + ATA_ID_SATA_CAPAB_2 = 77, + ATA_ID_SATA_FEAT_SUPP = 78, + ATA_ID_SATA_FEAT_ENABLE = 79, ATA_ID_MAJOR_VER = 80, + ATA_ID_MINOR_VER = 81, ATA_ID_COMMAND_SET_1 = 82, ATA_ID_COMMAND_SET_2 = 83, ATA_ID_CFSSE = 84, @@ -123,14 +128,15 @@ struct ata_port_operations { struct ata_port { struct ata_port_operations *ops; - struct device_d *dev; - struct device_d class_dev; + struct device *dev; + struct device class_dev; const char *devname; void *drvdata; struct block_device blk; uint16_t *id; - int lba48; - int initialized; + bool lba48; + bool initialized; + bool ahci; int probe; }; @@ -143,7 +149,7 @@ int ide_port_register(struct ide_port *ide); int ata_port_register(struct ata_port *port); int ata_port_detect(struct ata_port *port); -struct device_d; +struct device; /** * @file |