]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 17:21:35 +0000 (09:21 -0800)
commitf8b35bffd3cc4ffd14ab9c07909cdc45a9006776
treef62870addc15f988596a6834069d2bf48c925944
parent004e458207d8515cead324c06323a6054d3e77e2
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_hpc.c