• Andrew Morton's avatar
    [PATCH] PIIX5 Doesn't work on IA64 · c1f0e653
    Andrew Morton authored
    From: Peter Chubb <peterc@gelato.unsw.edu.au>
    
    The PIIX5 IDE controller on I2000 IA64 boxen using the 460GX chipset will
    hang on startup if an ordinary harddrive is plugged into it (it seems to
    workj for the LSI120 and the CDROM drives).
    
    This is because the 460GX chipset contains a PCI expanssion bridge that
    works like the 450NX PXB, and has the same PCI ID (but a later revision).
    The PIIX driver, to work around interactions between PIIX4 and the 450NX
    PXB, tries to disable DMA.
    
    Unfortunately, the way it tries to disable DMA doesn't work, and the higher
    layers think that DMA is still on, and so timeout waiting for DMA, and then
    hang on bootup.
    
    A simple workaround is to tighten the check for the buggy chipset, as in
    the attached patch.  However, someone with more time (and who actually
    *understands* the IDE subsystem) needs to fix the real bug as well.
    c1f0e653
piix.c 24.2 KB