Note - this is just an RFC patch, do not apply. It compiles, but is not tested. Attached is a patch against 2.4.0-test10 which updates the kernel's hotplug capabilities per recent discussions (both public and private). Major changes: * pci: Execute /sbin/hotplug for each hotplug device insertion or removal * net: Export network device hardware info to userspace as /proc/net/if/$IF/businfo * net: Execute /sbin/network for each net device register/unregister Minor changes: * kbuild: CONFIG_HOTPLUG now requires CONFIG_KMOD * epic100: demonstration of how a net device exports its bus info * procfs: add standard method of exporting bus info to userspace. Currently ISA, PCI, and SBUS are supported. * pci: support businfo * sparc: support businfo * usb: update /sbin/hotplug execution to pass event type (verb) as standardized cmd line arg DaveM - netdevice.h seems like the best place to include businfo.h. Since it doesn't include anything but linux/types.h, that should eliminate any worry about a nightmare of nested includes... Note - the patch to include/linux/pci.h will go away, that is a remnant of an earlier change. But it is included as you may need it to compile. -- Jeff Garzik | "Mind if I drive?" -Sam Building 1024 | "Not if you don't mind me clawing at the MandrakeSoft | dash and shrieking like a cheerleader." | -Max