From 2210135468de313c6fbf60735ef9028d6c8fb335 Mon Sep 17 00:00:00 2001 From: Tobias Diedrich Date: Sun, 7 Nov 2010 18:20:32 +0000 Subject: [PATCH] This adds the VT8237A LPC device id and the pci_driver struct in vt8237r_lpc.c Signed-off-by: Tobias Diedrich Acked-by: Rudolf Marek git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6035 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/device/pci_ids.h | 1 + src/mainboard/asus/p2b/acpi_tables.c | 0 src/mainboard/asus/p2b/dsdt.asl | 0 src/mainboard/asus/p2b/romstage.c.orig | 0 src/southbridge/via/vt8237r/vt8237r_lpc.c | 6 ++++++ 5 files changed, 7 insertions(+) create mode 100644 src/mainboard/asus/p2b/acpi_tables.c create mode 100644 src/mainboard/asus/p2b/dsdt.asl create mode 100644 src/mainboard/asus/p2b/romstage.c.orig diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h index b58f0390d9..ce6ac17298 100644 --- a/src/include/device/pci_ids.h +++ b/src/include/device/pci_ids.h @@ -1226,6 +1226,7 @@ #define PCI_DEVICE_ID_VIA_K8T890CE_BR 0xb188 #define PCI_DEVICE_ID_VIA_VT6420_SATA 0x3149 #define PCI_DEVICE_ID_VIA_VT8237R_LPC 0x3227 +#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_VT8237_VLINK 0x287e diff --git a/src/mainboard/asus/p2b/acpi_tables.c b/src/mainboard/asus/p2b/acpi_tables.c new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/mainboard/asus/p2b/dsdt.asl b/src/mainboard/asus/p2b/dsdt.asl new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/mainboard/asus/p2b/romstage.c.orig b/src/mainboard/asus/p2b/romstage.c.orig new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/southbridge/via/vt8237r/vt8237r_lpc.c b/src/southbridge/via/vt8237r/vt8237r_lpc.c index 2de64f03ce..1a136c906e 100644 --- a/src/southbridge/via/vt8237r/vt8237r_lpc.c +++ b/src/southbridge/via/vt8237r/vt8237r_lpc.c @@ -543,6 +543,12 @@ static const struct pci_driver lpc_driver_r __pci_driver = { .device = PCI_DEVICE_ID_VIA_VT8237R_LPC, }; +static const struct pci_driver lpc_driver_a __pci_driver = { + .ops = &vt8237r_lpc_ops_r, + .vendor = PCI_VENDOR_ID_VIA, + .device = PCI_DEVICE_ID_VIA_VT8237A_LPC, +}; + static const struct pci_driver lpc_driver_s __pci_driver = { .ops = &vt8237r_lpc_ops_s, .vendor = PCI_VENDOR_ID_VIA,