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
This commit is contained in:
Tobias Diedrich 2010-11-11 05:08:33 +00:00 committed by Peter Stuge
parent 5f00e0c800
commit e080bcabd0
2 changed files with 7 additions and 0 deletions

View File

@ -1229,6 +1229,7 @@
#define PCI_DEVICE_ID_VIA_VT8237A_LPC 0x3337 #define PCI_DEVICE_ID_VIA_VT8237A_LPC 0x3337
#define PCI_DEVICE_ID_VIA_VT8237S_LPC 0x3372 #define PCI_DEVICE_ID_VIA_VT8237S_LPC 0x3372
#define PCI_DEVICE_ID_VIA_VT8237_SATA 0x5372 #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_VT8237_VLINK 0x287e
#define PCI_DEVICE_ID_VIA_VT8237R_UHCI 0x3038 #define PCI_DEVICE_ID_VIA_VT8237R_UHCI 0x3038
#define PCI_DEVICE_ID_VIA_VT8237R_EHCI 0x3104 #define PCI_DEVICE_ID_VIA_VT8237R_EHCI 0x3104

View File

@ -119,6 +119,12 @@ static const struct pci_driver northbridge_driver_ii __pci_driver = {
.device = PCI_DEVICE_ID_VIA_VT8237_SATA, .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 = { static const struct pci_driver northbridge_driver_i __pci_driver = {
.ops = &sata_i_ops, .ops = &sata_i_ops,
.vendor = PCI_VENDOR_ID_VIA, .vendor = PCI_VENDOR_ID_VIA,