fixup-malta.c (d75e2c9ad97c40f6d2cdaf2e16381b2034d19a6f) | fixup-malta.c (497e5ff03f58583ada469db8a1aa34eced9dd63e) |
---|---|
1#include <linux/init.h> 2#include <linux/pci.h> 3 4/* PCI interrupt pins */ 5#define PCIA 1 6#define PCIB 2 7#define PCIC 3 8#define PCID 4 --- 87 unchanged lines hidden (view full) --- 96 pci_write_config_byte(pdev, 0x41, reg_val|0x80); 97 pci_read_config_byte(pdev, 0x43, ®_val); 98 pci_write_config_byte(pdev, 0x43, reg_val|0x80); 99 } 100} 101 102DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371AB, 103 malta_piix_func1_fixup); | 1#include <linux/init.h> 2#include <linux/pci.h> 3 4/* PCI interrupt pins */ 5#define PCIA 1 6#define PCIB 2 7#define PCIC 3 8#define PCID 4 --- 87 unchanged lines hidden (view full) --- 96 pci_write_config_byte(pdev, 0x41, reg_val|0x80); 97 pci_read_config_byte(pdev, 0x43, ®_val); 98 pci_write_config_byte(pdev, 0x43, reg_val|0x80); 99 } 100} 101 102DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371AB, 103 malta_piix_func1_fixup); |
104 105/* Enable PCI 2.1 compatibility in PIIX4 */ 106static void __devinit quirk_dlcsetup(struct pci_dev *dev) 107{ 108 u8 odlc, ndlc; 109 110 (void) pci_read_config_byte(dev, 0x82, &odlc); 111 /* Enable passive releases and delayed transaction */ 112 ndlc = odlc | 7; 113 (void) pci_write_config_byte(dev, 0x82, ndlc); 114} 115 116DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371AB_0, 117 quirk_dlcsetup); |
|