From aa88acd003e5172fc885f16bdd66647d1812eb85 Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sat, 23 Dec 2006 02:39:58 +0000 Subject: [PATCH] added define for SATA AHCI git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19611 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/drivers/PCI.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/headers/os/drivers/PCI.h b/headers/os/drivers/PCI.h index 3cfd6eae5b..a38ac35574 100644 --- a/headers/os/drivers/PCI.h +++ b/headers/os/drivers/PCI.h @@ -285,8 +285,20 @@ struct pci_module_info { #define PCI_floppy 0x02 /* floppy disk controller */ #define PCI_ipi 0x03 /* IPI bus controller */ #define PCI_raid 0x04 /* RAID controller */ +#define PCI_ata 0x05 /* ATA controller with ADMA interface */ +#define PCI_sata 0x06 /* Serial ATA controller */ +#define PCI_sas 0x07 /* Serial Attached SCSI controller */ #define PCI_mass_storage_other 0x80 /* other mass storage controller */ +/* --- + values of the class_api field for + class_base = 0x01 (mass storage) + class_sub = 0x06 (Serial ATA controller) +--- */ + +#define PCI_sata_other 0x00 /* vendor specific interface */ +#define PCI_sata_ahci 0x01 /* AHCI interface */ + /* --- values for the class_sub field for class_base = 0x02 (network)