[lkml]   [2003]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Can we kill f inb_p, outb_p and other random I/O on port 0x80, in 2.6?
Alan Cox wrote:
> (one part of the problem of course is you need inb_p/outb_p to drive
> the timer chip on some x86 boards in order to calibrate the udelay
> timer)

What sort of timer chip problems do you see? Is it something that can
be auto-detected, so that timer chip accesses can be made faster on
boards where that is fine?

I'm sure I've seen timer chip code in DOS programs that didn't have
the extra delay I/Os. Surely it cannot be a very widespread problem.

> > When debugging this I modified arch/i386/io.h to read:
> > #define __SLOW_DOWN_IO__ ""
> > Which totally removed the delay and the system ran fine.
> Not all systems do - we had breakages from both the keyboard controller
> and the timer chips even on some modern boards when this got messed up.

I've also seen much DOS code that didn't have extra delays for
keyboard I/Os. What sort of breakage did you observe with the

-- Jamie
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:48    [W:0.080 / U:10.884 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site