libata: export xfermode / PATA timing related functions
authorTejun Heo <htejun@gmail.com>
Tue, 27 Nov 2007 10:43:39 +0000 (19:43 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:11 +0000 (05:24 -0500)
commit6357357cae7794dcb89cace758108dec612e7ed5
tree6fc39d16ff795f34b4f8a987966fd5195b1d9039
parentf8ab6d8e15a9b978f79aee794c263014c2959dfc
libata: export xfermode / PATA timing related functions

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: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
include/linux/libata.h