RE: Patch: 2.5.45 PCI Fixups for PCI HotPlug

Adam J. Richter (adam@yggdrasil.com)
Mon, 4 Nov 2002 10:23:20 -0800


>> Greg KH wrote:
>> >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
>> >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.
>>
>> 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
adam@yggdrasil.com \ / 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."

-
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/