If the user sets media that the card does not have, the interface may
not work.
Selects the new mode.
9
Resets the device to pick up the new mode (if the interface was running).
10
The default case returns an error that indicates that the caller has
11
issued an invalid ioctl command.
12.17 Releasing the Simple Lock and Resetting the IPL
The following code shows how the el_ioctl( ) routine releases the simple
lock and resets the IPL:
if (lock_on) {
simple_unlock(&sc->el_softc_lock);
splx(s);
}
return (status);
}
If the simple lock is still held, calls the simple_unlock( ) routine.
1
Returns the status of the ioctl request.
2
1
2
Implementing the ioctl Section 12–13
Need help?
Do you have a question about the Tru64 UNIX and is the answer not in the manual?
Questions and answers