Messages in this thread | | | Date | Fri, 2 Aug 2002 16:53:22 -0700 | From | Greg KH <> | Subject | [BK PATCH] PCI changes for 2.5.30 |
| |
Two small PCI changes, one for organizational sake, and the other to fix a PCI hotplug bug.
Pull from: bk://linuxusb.bkbits.net/pci_hp-2.5
thanks,
greg k-h
drivers/pci/Makefile | 3 ++- drivers/pci/compat.c | 14 ++++++++++++++ drivers/pci/names.c | 10 +++++----- drivers/pci/pci.c | 12 ------------ 4 files changed, 21 insertions(+), 18 deletions(-) ------
ChangeSet@1.515, 2002-08-02 16:45:14-07:00, t-kouchi@mvf.biglobe.ne.jp [PATCH] [PATCH] PCI Hotplug patch to drivers/pci/names.c I found that both compaq and ibm PCI hotplug driver call pci_scan_slot(), which eventually call pci_name_device() in drivers/pci/names.c. pci_name_device() is declared as __devinit while other data are declared as __initdata. This may result in undefined behavior for example, /proc/pci.
drivers/pci/names.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) ------
ChangeSet@1.514, 2002-08-02 16:40:20-07:00, greg@kroah.com PCI: move the EXPORT_SYMBOL(pcibios_*) declarations to the proper file.
drivers/pci/Makefile | 3 ++- drivers/pci/compat.c | 14 ++++++++++++++ drivers/pci/pci.c | 12 ------------ 3 files changed, 16 insertions(+), 13 deletions(-) ------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |