From e080bcabd0d58200211bcec38d10d516f3153aaf Mon Sep 17 00:00:00 2001 From: Tobias Diedrich Date: Thu, 11 Nov 2010 05:08:33 +0000 Subject: 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 Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6061 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/device/pci_ids.h | 1 + src/southbridge/via/vt8237r/vt8237r_sata.c | 6 ++++++ 2 files changed, 7 insertions(+) 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, -- cgit v1.2.3