Author: stuge Date: Thu Nov 11 06:08:33 2010 New Revision: 6061 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6061
Log: 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
Modified: trunk/src/include/device/pci_ids.h trunk/src/southbridge/via/vt8237r/vt8237r_sata.c
Modified: trunk/src/include/device/pci_ids.h ============================================================================== --- trunk/src/include/device/pci_ids.h Wed Nov 10 23:09:42 2010 (r6060) +++ trunk/src/include/device/pci_ids.h Thu Nov 11 06:08:33 2010 (r6061) @@ -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
Modified: trunk/src/southbridge/via/vt8237r/vt8237r_sata.c ============================================================================== --- trunk/src/southbridge/via/vt8237r/vt8237r_sata.c Wed Nov 10 23:09:42 2010 (r6060) +++ trunk/src/southbridge/via/vt8237r/vt8237r_sata.c Thu Nov 11 06:08:33 2010 (r6061) @@ -119,6 +119,12 @@ .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,