1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/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 Don't export timecounter structures under debug. with sysctl, they 2002-04-30 19:34:31 +00:00
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 GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
pnpvar.h
ppc.c
ppcreg.h
psm.c
rtc.h
syscons_isa.c
vga_isa.c