PCI: construct one fakephp slot per PCI slot
authorAlex Chiang <achiang@hp.com>
Tue, 10 Jun 2008 21:27:37 +0000 (15:27 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 21:36:45 +0000 (14:36 -0700)
commitfe99740cac117f208707488c03f3789cf4904957
tree661148fce79181d0635a225ff47c077459d3ef63
parent64dab20450184e6586c12704da11ce48a0918050
PCI: construct one fakephp slot per PCI slot

Register one slot per slot, rather than one slot per function.  Change the
name of the slot to fake%d instead of the pci address.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Cc: Greg KH <greg@kroah.com>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/fakephp.c