cvs commit: src/sys/kern src/sys/dev/misc/kbd
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Oct 6 18:32:33 PDT 2004
dillon 2004/10/06 18:32:04 PDT
DragonFly src repository
Modified files:
sys/kern tty.c tty_subr.c
sys/dev/misc/kbd kbd.c
Log:
Fix a bug in the tty clist code. The clist code was only protecting itself
with spltty() but the keyboard code uses clists too, and USB interrupts
(for USB keyboards) aren't protected by spltty(). Generally convert the
spl's to critical sections to solve the problem.
Revision Changes Path
1.13 +2 -2 src/sys/kern/tty.c
1.5 +141 -110 src/sys/kern/tty_subr.c
1.13 +47 -48 src/sys/dev/misc/kbd/kbd.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/tty_subr.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/misc/kbd/kbd.c.diff?r1=1.12&r2=1.13&f=u
More information about the Commits
mailing list