cvs commit: src/sys/dev/serial/sio
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Nov 12 12:52:47 PST 2004
dillon 2004/11/12 12:51:30 PST
DragonFly src repository
Modified files:
sys/dev/serial/sio sio.c
Log:
Add a missing com_unlock() to the serial port drain test code. This code
is necessary to detect non-existant serial ports on machines (such as the
eMachines laptop) which don't have any serial port hardware at all, but
the missing com_unlock() caused systems to crash in certain situations for
obvious reasons.
Many thanks to Glenn Johnson <glennpj at xxxxxxxxxxx> for keeping on my back
about the issue and for testing the fix. This should also fix the last of the
serial-port related bug reports stemming from the original 1.0A release.
Revision Changes Path
1.21 +3 -2 src/sys/dev/serial/sio/sio.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/sio/sio.c.diff?r1=1.20&r2=1.21&f=u
More information about the Commits
mailing list