]> git.hungrycats.org Git - linux/commit
[PATCH] PCI Hotplug: acpiphp extension fixes
authorVernon Mauery <vernux@us.ibm.com>
Wed, 6 Oct 2004 06:02:03 +0000 (23:02 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 6 Oct 2004 06:02:03 +0000 (23:02 -0700)
commit63ef8f4fd52a5905c7569b91db3bed5c9b880a8b
treecd11085431000b00ee155c75bec7472e4fbafa7f
parent57c73f8aef6fb0eed669148334e1671dc44ba54c
[PATCH] PCI Hotplug: acpiphp extension fixes

This patch fixes an off by one error that one of the IBM machines that
uses the acpiphp_ibm driver.  The slots were numbered starting at 0 in
BIOS instead of starting at 1 like the pci hotplug subsystem names
them.  So this patch provides a lookup to translate the Linux slot
numbers to the internal ACPI numbers.

Signed-off-by: Vernon Mauery <vernux@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/pci/hotplug/acpiphp_ibm.c