mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-23 07:31:31 +00:00
94551ceb0a
In the event of a MOD_LOAD failure, MOD_UNLOAD will be invoked to unwind module load. Most of the reversion in MOD_LOAD can just be deferred to normal MOD_UNLOAD cleanup, rather than duplicating the effort. A NULL return of kbd_get_switch in the MOD_UNLOAD handler has been downgraded from a panic to a successful return, as that certainly just means that kbd_add_driver failed (not possible at the moment) and we have no work to do. |
||
---|---|---|
.. | ||
kbdmux.c |