On Thu, Feb 24, 2011 at 7:59 AM, Dan Mick <[email protected]> wrote: > On 02/23/11 09:01 PM, Cyril Plisko wrote: >> >> On Thu, Feb 24, 2011 at 2:22 AM, Dan Mick<[email protected]> wrote: >>> >>> Don't see why it needs to be a kernel call; if you want "no user >>> intervention", make an SMF service... >>> >> >> Would it work for driver for boot device as well ? >> > > Depends on what updating the firmware does, I suppose. If it disables the > device, then clearly the OS can't be using the device at the time, but > that's true of any method that's not pre-OS, right?
Probably. However, ddi_modopen() seems to be less error-prone. (I.e. what happens if user mistakenly disables the FW loading service ? The problem will be noticed only on next reboot, and at that point the connection between the disabled service and malfunctioned device may be be not so obvious) -- Regards, Cyril _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
