]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] Add PPR support to spi_print_msg
authorMatthew Wilcox <matthew@wil.cx>
Thu, 15 Dec 2005 21:22:01 +0000 (16:22 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 16 Dec 2005 02:42:39 +0000 (18:42 -0800)
commitef72582e7a02e1069c6e6bf5eecf6f388b1467c6
treeaf53892d987f11d8bc0cec3674daf2f564290e93
parentb32aaffcdc694650d299a59501c5b3e267fca343
[SCSI] Add PPR support to spi_print_msg

Introduce a new helper, print_nego() to handle SDTR/WDTR/PPR.
Split out the guts of show_spi_transport_period_helper() into period_to_str()
and use it in print_nego to get the period factor conversion right.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_transport_spi.c