]> Devoid-pointer.net GitWeb - omnibook.git/commitdiff
Add support for ICH9 LPC
authorMichal Malý <madcatxster@gmail.com>
Fri, 12 Jul 2013 17:08:33 +0000 (19:08 +0200)
committerMichal Malý <madcatxster@gmail.com>
Fri, 12 Jul 2013 17:08:33 +0000 (19:08 +0200)
compal.c

index 766aec531a5ea446552f9c58e064ff150651836f..b35d388bc2f95ae957a3f160a5b64cf1ef123ff1 100644 (file)
--- a/compal.c
+++ b/compal.c
@@ -92,6 +92,7 @@ const struct pci_device_id lpc_bridge_table[] = {
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_30, PCI_ANY_ID, PCI_ANY_ID, 0, 0,},
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_31, PCI_ANY_ID, PCI_ANY_ID, 0, 0,},
         {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH8_4, PCI_ANY_ID, PCI_ANY_ID, 0, 0,},
+        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH9_5, PCI_ANY_ID, PCI_ANY_ID, 0, 0,},
        {PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SB400, PCI_ANY_ID, PCI_ANY_ID, 0, 0,},
        {0,},                   /* End of list */
 };
@@ -191,6 +192,7 @@ static int enable_cdimode(void)
                case PCI_DEVICE_ID_INTEL_ICH7_30:
                case PCI_DEVICE_ID_INTEL_ICH7_31:
                case PCI_DEVICE_ID_INTEL_ICH8_4:        /* ICH8 */
+               case PCI_DEVICE_ID_INTEL_ICH9_5:        /* ICH9 */
                        pci_read_config_dword(lpc_bridge, INTEL_LPC_GEN4_DEC, &(value.dword));
                        pci_reg_state.dword = value.dword;
                        value.dword = 0x3CFF21;