summaryrefslogtreecommitdiff
path: root/linux/src
diff options
context:
space:
mode:
Diffstat (limited to 'linux/src')
-rw-r--r--linux/src/drivers/block/ide.c3
-rw-r--r--linux/src/include/linux/pci.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/linux/src/drivers/block/ide.c b/linux/src/drivers/block/ide.c
index 7ab790d..0f3fd01 100644
--- a/linux/src/drivers/block/ide.c
+++ b/linux/src/drivers/block/ide.c
@@ -302,6 +302,8 @@
#include <linux/genhd.h>
#include <linux/malloc.h>
+#include <ahci.h>
+
#include <asm/byteorder.h>
#include <asm/irq.h>
#include <asm/segment.h>
@@ -3682,6 +3684,7 @@ static void probe_for_hwifs (void)
#ifdef CONFIG_BLK_DEV_PROMISE
init_dc4030();
#endif
+ ahci_probe_pci();
}
static int hwif_init (int h)
diff --git a/linux/src/include/linux/pci.h b/linux/src/include/linux/pci.h
index 3508979..8aad3d5 100644
--- a/linux/src/include/linux/pci.h
+++ b/linux/src/include/linux/pci.h
@@ -140,6 +140,8 @@
#define PCI_CLASS_STORAGE_FLOPPY 0x0102
#define PCI_CLASS_STORAGE_IPI 0x0103
#define PCI_CLASS_STORAGE_RAID 0x0104
+#define PCI_CLASS_STORAGE_SATA 0x0106
+#define PCI_CLASS_STORAGE_SATA_AHCI 0x010601
#define PCI_CLASS_STORAGE_OTHER 0x0180
#define PCI_BASE_CLASS_NETWORK 0x02