Skip to content
Commit bc0a733f authored by David P. Reed's avatar David P. Reed Committed by Ingo Molnar
Browse files

x86: define outb_pic and inb_pic to stop using outb_p and inb_p



x86: define outb_pic and inb_pic to stop using outb_p and inb_p

The delay between io port accesses to the PIC is now defined using outb_pic
and inb_pic.  This fix provides the next step, using udelay(2) to define the
*PIC specific* timing requirements, rather than on bus-oriented timing, which
is not well calibrated.

Again, the primary reason for fixing this is to use proper delay strategy,
and in particular to fix crashes that can result from using port 80 writes
on machines that have resources on port 80, such as the ENE chips used by Quanta
in latops it designs and sells to, e.g. HP.

Signed-off-by: default avatarDavid P. Reed <dpreed@reed.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent c92a7a54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment