• Alan Cox's avatar
    x86: isolate PIC/PIT in/out calls · 466eed22
    Alan Cox authored
    Rather than remove and/or mangle inb_p/outb_p we want to remove the use
    of them from inappropriate places. For the PIC/PIT this may eventually
    depend on 32/64bitism or similar so start by adding inb/outb_pit and
    inb/outb_pic so that we can make them use any scheme we settle on without
    disturbing the existing, correct (for ISA), port 0x80 usage. (eg we can
    make inb_pit use udelay without messing up inb_p).
    
    Floppy already does this for the fdc. That really only leaves the CMOS as
    a core logic item to tackle, and bits of parallel port handling in the
    chipset layers.
    Signed-off-by: default avatarAlan Cox <alan@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    466eed22
apm_32.c 68.8 KB