lkml.org 
[lkml]   [2008]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.


H. Peter Anvin wrote:
> Rene Herman wrote:
>>
>> Is this only about the ones then left for things like legacy PIC and
>> PIT? Does anyone care about just sticking in a udelay(2) (or 1) there
>> as a replacement and call it a day?
>>
>
> PIT is problematic because the PIT may be necessary for udelay setup.
>
The PIT usage for calibrating the delay loop can be moderated, if need
by, by using the PC BIOS which by definition uses the PIT correctly it
its int 15 function 83 call.. Just do it before coming up in a state
where the PC BIOS int 15h calls no longer work. I gave code to do this
in a much earlier message.

This is the MOST reliable way to use the PIT early in boot, on a PC
compatible. God knows how one should do it on a Macintosh running a
386/20 :-). But the ONLY old bat-PIT machines are, thank god, PC
compatible, maybe.



\
 
 \ /
  Last update: 2008-01-08 01:01    [W:0.153 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site