freebsd-dev/sys/dev/sio
Bruce Evans fb717773e7 Fixed locking bugs in rev.1.346:
(1) Don't attempt aquire the non-recursive lock sio_lock recursively.
    Doing so caused unbounded recursion in some setups.  E.g., if DDB,
    BREAK_TO_DEBUGGER and WITNESS are configured; if the debugger is
    entered using a break, then WITNESS will actually detect the invalid
    recursion and will add to it attempting to print a message about it.

(2) Don't use sio_lock before it has been initialized.  The old check
    (sio_inited != 0) didn't work when sio_inited was boolean because
    sio_inited was set too early, and became just wrong when sio_inited
    was changed to a tri-state variable in rev.1.348.

Reported and fixed in another way by:	fenner (1)
2001-12-28 18:08:10 +00:00
..
sio_isa.c bde suggests that sio really wants to manage its own softc. This 2001-11-26 07:39:51 +00:00
sio_pccard.c Split the sio driver for pc98 into bus front end and back end. 2001-11-26 12:29:53 +00:00
sio_pci.c bde suggests that sio really wants to manage its own softc. This 2001-11-26 07:39:51 +00:00
sio.c Fixed locking bugs in rev.1.346: 2001-12-28 18:08:10 +00:00
sioreg.h Break out the bus front ends into their own files. Rewrite 2001-10-23 15:17:33 +00:00
siovar.h Split the sio driver for pc98 into bus front end and back end. 2001-11-26 12:29:53 +00:00