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)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 14 Nov 2011 17:43:14 +0000 (09:43 -0800)
commit4cac2eb158c6da0c761689345c6cc5df788a6292
tree411f1603c8b7535a311f41f42f91eda89a64ce99
parentb3c004542229099e18198061c737e13eafc8d4d6
PCI hotplug: shpchp: don't blindly claim non-AMD 0x7450 device IDs

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>
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_hpc.c