freebsd-dev/sys/isa
Bruce Evans b50641ef9c Fixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter.
The old version only worked right when the time was read strictly
more often than every 1/HZ seconds, but we only guarantee reading
it every (1/HZ + epsilon) seconds.  Part of rev.1.126-1.127 attempted
to fix this but didn't succeed.  Detect counter rollover using the
heuristic from the old version of microtime() with additional
complications for supporting calls from fast interrupt handlers.
This works provided i8254 interrupts are not delayed by more than
1/(2*HZ) seconds.

This needs more comments, and cleanups for the SMP case, and more
testing of the SMP case before it is merged into RELENG_3.

Tested by:		jhay
1999-05-28 14:08:59 +00:00
..
ic Enable the FIFO on enhanced floppy controllers. This reduces the 1997-09-17 20:16:17 +00:00
atkbd_isa.c Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
atkbdc_isa.c Use the resource apis to manipulate resources. 1999-05-22 15:47:34 +00:00
atrtc.c Fixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter. 1999-05-28 14:08:59 +00:00
bt_isa.c Don't use BUS_WRITE_IVAR to manipulate resources. 1999-05-22 15:45:47 +00:00
fd.c Fixed reset handling for motor off resets. I first fixed this together 1999-05-11 04:58:30 +00:00
fdc.h Bring the 'new-bus' to the i386. This extensively changes the way the 1999-04-16 21:22:55 +00:00
fdreg.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
isa_common.c * Change device_add_child_after() to device_add_child_ordered() which is 1999-05-28 09:25:16 +00:00
isa_common.h * Factor out the common code between the isa bus drivers for i386 and alpha. 1999-05-22 15:18:28 +00:00
isa_if.m * Factor out the common code between the isa bus drivers for i386 and alpha. 1999-05-22 15:18:28 +00:00
isahint.c * Change device_add_child_after() to device_add_child_ordered() which is 1999-05-28 09:25:16 +00:00
isareg.h Move IO_PSMSIZE from kbdio.h to isareg.h. 1999-01-06 05:49:30 +00:00
isavar.h * Change device_add_child_after() to device_add_child_ordered() which is 1999-05-28 09:25:16 +00:00
joy.c The joypart() macro had a precedence bug. Add seatbelts for UNIT() too. 1999-05-06 18:39:32 +00:00
ppc.c Return the port size from the probe. 1999-04-22 13:10:43 +00:00
ppcreg.h Distinguish EPP address/data register. Add EPP address register access to ppi. 1999-01-30 15:35:39 +00:00
psm.c Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference between 1999-05-09 13:00:50 +00:00
rtc.h Improve a couple of comment. 1998-07-11 08:01:18 +00:00
sio.c Allow a sio port with its flags set to DEBUGGER+LLCONSOLE to be used for 1999-05-28 09:37:11 +00:00
sioreg.h Merge missing changes from i386/isa/sioreg.h (PC98 related) 1999-04-18 14:37:47 +00:00
syscons_isa.c Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
vga_isa.c Delete the #if'ed out old isa bus probe/attach routines 1999-05-09 16:39:24 +00:00