cvs commit: src/sys/boot/i386/boot2 boot2.c lib.h sio.s src/sys/boot/i386/libi386 comconsole.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Jun 27 01:02:16 PDT 2004
dillon 2004/06/27 01:01:06 PDT
DragonFly src repository
Modified files:
sys/boot/i386/boot2 boot2.c lib.h sio.s
Log:
Fix a minor bug in the auto-console selection (handle the -m mute option
properly).
Detect when the serial port is unmapped (reads 0xFF) by putting a limit in
the flush code and returning a testable value, then refuse to automatically
configure it if so because an unmapped serial port always looks like it has
input pending.
This fixes a dual-console issue with laptops that don't map the serial port
during the boot stage (e.g. my emachines amd64 laptop).
Be ultra conservative for now, do not try to initialize the FIFO.
Revision Changes Path
1.10 +11 -9 src/sys/boot/i386/boot2/boot2.c
1.4 +1 -1 src/sys/boot/i386/boot2/lib.h
1.5 +24 -8 src/sys/boot/i386/boot2/sio.s
Modified files:
sys/boot/i386/libi386 comconsole.c
Log:
Be ultra conservative for now, do not try to initialize the FIFO.
Revision Changes Path
1.7 +5 -0 src/sys/boot/i386/libi386/comconsole.c
http://www.dragonflybsd.org/cvsweb/src/sys/boot/i386/boot2/boot2.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/boot/i386/boot2/lib.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/boot/i386/boot2/sio.s.diff?r1=1.4&r2=1.5&f=u
More information about the Commits
mailing list