On Mon, 2006-07-10 at 13:56 -0700, Joel Becker wrote: > On Mon, Jul 10, 2006 at 08:51:58PM +0200, Arjan van de Ven wrote: > > > Besides, the initramfs runs long after the driver init routine > > > runs which is when the firmware needs to be available. > > > > .. unless you use sysfs to do a fake hotunplug + replug the device, at > > which point the driver init routine runs again. > > Can we document how to do that? I've wanted to synthesize such > things before, and I couldn't quite reason how.
just load fakephp then do echo -n 0 > /sys/bus/pci/slots/0000:04:02.1/power this hotunplugs it (fake) then just do echo -n 1 > /sys/bus/pci/slots/0000:04:02.0/power (or any other device on the 04 bus) and the kernel finds the 04:02.1 device again... - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html