• Alan Cox's avatar
    [SCSI] eata_pio cleanup and PCI fix · 1a68d41a
    Alan Cox authored
    This started as a PCI reference fixup but to do that I need to build it,
    to build it I need to fix it and its full of 32bitisms and uglies.
    
    It has been resurrected, I'm not sure if this is a thank you for the
    work on the license stuff or punishment for some unknown misdeed however
    8). I've also fixed a memory scribble in the init code.
    
    One oddity - the changes from HZ * to constants are deliberate. Whoever
    originally wrote the code (or cleaned it up) used HZ for a cycle timing
    loop even though is not HZ related. I've put it back to the counts used
    in the old days when the driver was most used.
    Signed-off-by: default avatarAlan Cox <alan@redhat.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    1a68d41a
eata_pio.c 28 KB