PCI hotplug: shpchp: don't blindly claim non-AMD 0x7450 device IDs
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Aug 2011 16:16:43 +0000 (10:16 -0600)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 16 Jan 2013 21:44:57 +0000 (16:44 -0500)
commitcaa381d13ab47e05230756084ca2b38505727a2e
tree606f90715a7de6b081b1daabc733906252e682aa
parentd201b43437e467efc86f0c6b66efb604652861dc
PCI hotplug: shpchp: don't blindly claim non-AMD 0x7450 device IDs

commit 4cac2eb158c6da0c761689345c6cc5df788a6292 upstream.

Previously we claimed device ID 0x7450, regardless of the vendor, which is
clearly wrong.  Now we'll claim that device ID only for AMD.

I suspect this was just a typo in the original code, but it's possible this
change will break shpchp on non-7450 AMD bridges.  If so, we'll have to fix
them as we find them.

Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638863
Reported-by: Ralf Jung <ralfjung-e@gmx.de>
Cc: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_hpc.c