From: David van Moolenbroek Date: Thu, 1 Jul 2010 09:20:36 +0000 (+0000) Subject: PCI: add AHCI T3 and subclass values X-Git-Tag: v3.1.8~302 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doxygen.png?a=commitdiff_plain;h=06a0260c3c27d3caf9b8e4fc76f0fb11d5a7f6e0;p=minix.git PCI: add AHCI T3 and subclass values --- diff --git a/drivers/pci/pci_table.c b/drivers/pci/pci_table.c index 0291a7574..47d38a476 100644 --- a/drivers/pci/pci_table.c +++ b/drivers/pci/pci_table.c @@ -206,6 +206,7 @@ struct pci_subclass pci_subclass_table[]= { 0x01, 0x02, 0x00, "Floppy disk controller" }, { 0x01, 0x03, 0x00, "IPI controller" }, { 0x01, 0x04, 0x00, "RAID controller" }, + { 0x01, 0x06, 0x01, "AHCI controller" }, { 0x01, 0x80, 0x00, "Other mass storage controller" }, { 0x02, 0x00, 0x00, "Ethernet controller" }, diff --git a/include/arch/i386/pci.h b/include/arch/i386/pci.h index cf71c6b6b..16113d837 100644 --- a/include/arch/i386/pci.h +++ b/include/arch/i386/pci.h @@ -123,6 +123,7 @@ Created: Jan 2000 by Philip Homburg /* Device type values as ([PCI_BCR] << 16) | ([PCI_SCR] << 8) | [PCI_PIFR] */ #define PCI_T3_VGA_OLD 0x000100 /* OLD VGA class code */ #define PCI_T3_RAID 0x010400 /* RAID controller */ +#define PCI_T3_AHCI 0x010601 /* AHCI controller */ #define PCI_T3_VGA 0x030000 /* VGA-compatible video card */ #define PCI_T3_ISA 0x060100 /* ISA bridge */ #define PCI_T3_PCI2PCI 0x060400 /* PCI-to-PCI Bridge device */