linux/drivers/pci/hotplug
Rajesh Shah 7c56075e60 [PATCH] PCI: Fix PCI bus mastering enable problem in pciehp
Martin Franc reported that the pciehp driver was not enabling bus
master capability on his hot-plugged card. pciehprm_enable_card()
was updating the PCI command register only if _HPP indicated a
value for SERR or PERR that was different from the current setting.
I don't have hardware that reproduces this problem, but Martin
reports that this patch fixes the problem for him.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
From rzarev@its.caltech.edu Tue Sep  6 18:29:50 2005
Date: Tue, 6 Sep 2005 13:39:32 -0700 (PDT)
From: Rumen Ivanov Zarev <rzarev@its.caltech.edu>
Message-Id: <200509062039.j86KdWMr014934@inky.its.caltech.edu>
To: gregkh@suse.de
Subject: PCI: Unhide SMBus on Compaq Evo N620c
Cc: linux-kernel@vger.kernel.org

Trivial patch against 2.6.13 to unhide SMBus on Compaq Evo N620c laptop using
Intel 82855PM chipset.

Signed-off-by: Rumen Zarev <rzarev@caltech.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/pci/quirks.c |    6 ++++++
 1 file changed, 6 insertions(+)

--- gregkh-2.6.orig/drivers/pci/quirks.c	2005-09-09 10:28:55.000000000 -0700
+++ gregkh-2.6/drivers/pci/quirks.c	2005-09-09 13:51:44.000000000 -0700
@@ -876,6 +876,12 @@ static void __init asus_hides_smbus_host
                        case 0xC00C: /* Samsung P35 notebook */
                                asus_hides_smbus = 1;
                        }
+	} else if (unlikely(dev->subsystem_vendor == PCI_VENDOR_ID_COMPAQ)) {
+		if (dev->device == PCI_DEVICE_ID_INTEL_82855PM_HB)
+			switch(dev->subsystem_device) {
+			case 0x0058: /* Compaq Evo N620c */
+				asus_hides_smbus = 1;
+			}
 	}
 }
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82845_HB,	asus_hides_smbus_hostbridge );
2005-09-09 13:58:18 -07:00
..
acpiphp_core.c [PATCH] acpi hotplug: convert acpiphp to use generic resource code 2005-06-27 21:52:42 -07:00
acpiphp_glue.c [PATCH] ACPI based I/O APIC hot-plug: acpiphp support 2005-06-27 21:52:45 -07:00
acpiphp_ibm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acpiphp.h [PATCH] acpi hotplug: convert acpiphp to use generic resource code 2005-06-27 21:52:42 -07:00
cpci_hotplug_core.c [PATCH] PCI Hotplug: fix CPCI reference counting bug 2005-06-09 01:37:59 -07:00
cpci_hotplug_pci.c [PATCH] PCI Hotplug: fix CPCI reference counting bug 2005-06-09 01:37:59 -07:00
cpci_hotplug.h [PATCH] PCI Hotplug: CPCI update 2005-05-17 14:31:11 -07:00
cpcihp_generic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpcihp_zt5550.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpcihp_zt5550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_core.c [PATCH] cpqphp: fix oops during unload without probe 2005-06-27 21:52:46 -07:00
cpqphp_ctrl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_nvram.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_nvram.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_sysfs.c [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks 2005-06-20 15:15:34 -07:00
cpqphp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fakephp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp_core.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp_ebda.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp_hpc.c [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
ibmphp_pci.c [PATCH] PCI Hotplug ibmphp_pci.c: Fix masking out needed information too early 2005-05-03 23:45:15 -07:00
ibmphp_res.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmphp.h [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
Kconfig [ACPI] delete CONFIG_ACPI_BUS 2005-08-24 12:11:34 -04:00
Makefile [PATCH] PCI Hotplug: rpaphp: Move VIO registration 2005-09-08 14:57:22 -07:00
pci_hotplug_core.c [PATCH] sysfs: (driver/pci) if show/store is missing return -EIO 2005-06-20 15:15:02 -07:00
pci_hotplug.h [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
pciehp_core.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
pciehp_ctrl.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
pciehp_hpc.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
pciehp_pci.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
pciehp.h [PATCH] PCI Hotplug: use bus_slot number for name 2005-09-08 14:57:24 -07:00
pciehprm_acpi.c [PATCH] PCI: Fix PCI bus mastering enable problem in pciehp 2005-09-09 13:58:18 -07:00
pciehprm_nonacpi.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
pciehprm_nonacpi.h [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
pciehprm.h [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
pcihp_skeleton.c [PATCH] PCI: Spelling fixes for drivers/pci. 2005-05-03 23:45:16 -07:00
rpadlpar_core.c [PATCH] PCI Hotplug: rpaphp: Purify hotplug 2005-09-08 14:57:23 -07:00
rpadlpar_sysfs.c [PATCH] sysfs: (driver/pci) if show/store is missing return -EIO 2005-06-20 15:15:02 -07:00
rpadlpar.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpaphp_core.c [PATCH] PCI Hotplug: rpaphp: Purify hotplug 2005-09-08 14:57:23 -07:00
rpaphp_pci.c [PATCH] PCI Hotplug: rpaphp: Purify hotplug 2005-09-08 14:57:23 -07:00
rpaphp_slot.c [PATCH] PCI Hotplug: rpaphp: Purify hotplug 2005-09-08 14:57:23 -07:00
rpaphp.h [PATCH] PCI Hotplug: rpaphp: Purify hotplug 2005-09-08 14:57:23 -07:00
sgi_hotplug.c [PATCH] PCI Hotplug: SGI hotplug driver fixes 2005-09-08 14:57:25 -07:00
shpchp_core.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchp_ctrl.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchp_hpc.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchp_pci.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchp_sysfs.c [PATCH] Driver Core: drivers/i2c/chips/w83781d.c - drivers/s390/block/dcssblk.c: update device attribute callbacks 2005-06-20 15:15:34 -07:00
shpchp.h [PATCH] PCI Hotplug: use bus_slot number for name 2005-09-08 14:57:24 -07:00
shpchprm_acpi.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchprm_legacy.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchprm_legacy.h [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchprm_nonacpi.c [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchprm_nonacpi.h [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00
shpchprm.h [PATCH] PCI Hotplug: new contact info 2005-08-16 21:06:24 -07:00