• Tejun Heo's avatar
    libata: export xfermode / PATA timing related functions · 6357357c
    Tejun Heo authored
    Export the following xfermode related functions.
    
    * ata_pack_xfermask()
    * ata_unpack_xfermask()
    * ata_xfer_mask2mode()
    * ata_xfer_mode2mask()
    * ata_xfer_mode2shift()
    * ata_mode_string()
    * ata_id_xfermask()
    * ata_timing_find_mode()
    
    These functions will be used later by LLD updates.  While at it,
    change unsigned short @speed to u8 @xfer_mode in
    ata_timing_find_mode() for consistency.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    6357357c
libata-core.c 192 KB