]> git.hungrycats.org Git - linux/commit
[PATCH] Eliminate stack allocation of struct pci_dev...
authorRussell King <rmk@arm.linux.org.uk>
Thu, 6 Mar 2003 09:49:14 +0000 (01:49 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 6 Mar 2003 09:49:14 +0000 (01:49 -0800)
commit7c3db3a879b4287393fd2b526b0b14b6883ae65c
tree5cd8fd85ee6b2652937c9a410c6bd2532da13514
parentf2820e1d77ac218f6b3a90944a8d0aa4567e1e24
[PATCH] Eliminate stack allocation of struct pci_dev...

- Eliminate the stack allocation of a struct pci_dev, and make
  pci_scan_slot() take a bus and a devfn argument.
- Add "dev->multifunction" to indicate whether this is a multifunction
  device.
- Run header fixups before inserting the new pci device into any
  device lists or announcing it to the drivers.
- Convert some more stuff to use the list_for_each* macro(s).
drivers/hotplug/acpiphp_glue.c
drivers/hotplug/cpci_hotplug_pci.c
drivers/hotplug/cpqphp_pci.c
drivers/hotplug/ibmphp_core.c
drivers/pci/probe.c
include/linux/pci.h