• Alan Cox's avatar
    libata: IORDY handling · b9f8ab2d
    Alan Cox authored
    I believe this version meets all Sergei's objections
    
    Correct the logic for when we issue a set features for transfer mode
    
    - If the device has IORDY and the controller has IORDY - set the mode
    - If the device has IORDY and the controller does not - turn IORDY off
    - If neither has IORDY do nothing
    Signed-off-by: default avatarAlan Cox <alan@redhat.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    b9f8ab2d
libata-core.c 193 KB