Skip to contentSkip to conversation

sunhme.c patch for new PCI interface (UNTESTED)

DISCUSSION Adam J. Richter 1 participant 1 message Nov 19, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Albert D. Cahalan

PCI is certainly hot-plug hardware, but not on common desktop PCs. Since PCI is so popular and so often not hot-plug, users should not be forced to have hot-plug PCI support when they only need hot-plug SCSI, etc.

Obvious hack: __pciinit, __pciexit, __pciinitdata...

Yes, as I mentioned in a previous discussion, sometime after
2.4.0, I would like to see CONFIG_HOTPLUG replaced with CONFIG_PCI_HOTPLUG with __pci{init,exit}{,data}, and CONFIG_USB_HOTPLUG with __usb{init,exit}{,data} and likewise for other busses, since these facilities are completely independent, and there are reasons for wanting to compile in one facility compiled in and not the others, and it would make drivers self-document which hotplug facility is the reason why something should be marked as __dev{init,exit}{,data}.

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
[email protected]     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America

fax +1 408 261-6631 "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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/