Skip to contentSkip to conversation

Patch: 2.5.45 PCI Fixups for PCI HotPlug

DISCUSSION Adam J. Richter 2 participants 2 messages Nov 4, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 14 lines
Quoted 14 lines
Quoted 3 lines · Greg KH

Hm, in looking at this, I know the majority of people who want CONFIG_HOTPLUG probably do not run with CONFIG_PCI_HOTPLUG as the hardware's still quite rare. To force those people to keep

around all

Quoted 3 lines

of the PCI quirks functions and tables after init happens, is a bit cruel. I wonder if it's time to start having different subsystems modify __devinit depending on their config variables.

Are there PCI bridge cards that use all of those? For
example, I thought that Triton was a series of Intel motherboard chipsets for 586 processors. Perhaps you only need to keep a few of those routines.

Quoted 7 lines
Quoted 4 lines

Jung-Ik: perhaps you could to an lspci and an "lspci -n" on
your machine when the bridge card is plugged in, which should provide enough information to determine which routines you really need to keep.

That sounds a quick fix for now but Greg's __pci_devinit seems to be the right solution.

There is no reason to use __pci_devinit for chipsets that are
only soldered into motherboards. I believe there are only a few of those quirk handlers that CONFIG_PCI_HOTPLUG users really need to retain in their kernels.

I would appreciate it if you would do the lspci commands I requested
or just send the contents of your /proc/bus/pci/devices file.

Adam J. Richter     __     ______________   575 Oroville Road
[email protected]     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America

"Free Software For The Rest Of Us."

#1 lore raw
Quoted 4 lines · Adam J. Richter

There is no reason to use __pci_devinit for chipsets that are
only soldered into motherboards. I believe there are only a few of those quirk handlers that CONFIG_PCI_HOTPLUG users really need to retain in their kernels.

You might be suprised what "motherboard" chips turn up in docking stations.My TP600 for example has an IBM southbridge in it.