diff options
author | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-11-11 05:08:33 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2010-11-11 05:08:33 +0000 |
commit | e080bcabd0d58200211bcec38d10d516f3153aaf (patch) | |
tree | 1a39df78bf90d6b683e5bcaf616d4d81393d5f32 /src | |
parent | 5f00e0c80072ba8cb42000a15e0eee202f4da20f (diff) | |
download | coreboot-e080bcabd0d58200211bcec38d10d516f3153aaf.tar.xz |
Add pci id and ops for VT8237A SATA controller
Needed to change class from raid to ide so seabios can boot from it.
Signed-off-by: Tobias Diedrich <ranma+coreboot@tdiedrich.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6061 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/include/device/pci_ids.h | 1 | ||||
-rw-r--r-- | src/southbridge/via/vt8237r/vt8237r_sata.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h index ce6ac17298..1103d6b4c8 100644 --- a/src/include/device/pci_ids.h +++ b/src/include/device/pci_ids.h @@ -1229,6 +1229,7 @@ #define PCI_DEVICE_ID_VIA_VT8237A_LPC 0x3337 #define PCI_DEVICE_ID_VIA_VT8237S_LPC 0x3372 #define PCI_DEVICE_ID_VIA_VT8237_SATA 0x5372 +#define PCI_DEVICE_ID_VIA_VT8237A_SATA 0x0591 #define PCI_DEVICE_ID_VIA_VT8237_VLINK 0x287e #define PCI_DEVICE_ID_VIA_VT8237R_UHCI 0x3038 #define PCI_DEVICE_ID_VIA_VT8237R_EHCI 0x3104 diff --git a/src/southbridge/via/vt8237r/vt8237r_sata.c b/src/southbridge/via/vt8237r/vt8237r_sata.c index 8d09057f27..777d605a6b 100644 --- a/src/southbridge/via/vt8237r/vt8237r_sata.c +++ b/src/southbridge/via/vt8237r/vt8237r_sata.c @@ -119,6 +119,12 @@ static const struct pci_driver northbridge_driver_ii __pci_driver = { .device = PCI_DEVICE_ID_VIA_VT8237_SATA, }; +static const struct pci_driver northbridge_driver_i_a __pci_driver = { + .ops = &sata_i_ops, + .vendor = PCI_VENDOR_ID_VIA, + .device = PCI_DEVICE_ID_VIA_VT8237A_SATA, +}; + static const struct pci_driver northbridge_driver_i __pci_driver = { .ops = &sata_i_ops, .vendor = PCI_VENDOR_ID_VIA, |