freebsd-nq/sys/isa
Joerg Wunsch a2642c4d67 After some comments from bde, rewrite the loops to avoid turning the
previously used "micro-optimization" (count-down loop) into a
pessimization.  Now the loops are written in the more natural count-up
form.

Also, while being there, i made the logic in out_fdc() similar to the
logic in in_fdc().  The old implementation was a bit bogus anyway
since it first tested the DIO bit and only afterwards the RQM bit.
However, according to the description of the i82077, the DIO bit is
only guaranteed to be valid once the RQM bit is set.  Thus, the old
implementatoin would have had the chance to misbehave on a controller
that is implemented in accordance with the i82077 description (but is
not bug-for-bug compatible).

MFC after:	3 days
2002-05-14 21:28:45 +00:00
..
atkbd_isa.c
atkbdc_isa.c
atrtc.c
fd.c After some comments from bde, rewrite the loops to avoid turning the 2002-05-14 21:28:45 +00:00
fdreg.h Increase the PIO timeout to approximately the value it used to have 2002-05-12 15:24:21 +00:00
isa_common.c
isa_common.h
isa_if.m
isahint.c
isareg.h
isavar.h
orm.c
pnp.c
pnpparse.c
pnpreg.h
pnpvar.h
ppc.c
ppcreg.h
psm.c
rtc.h
syscons_isa.c
vga_isa.c