[SCSI] advansys: convert to use the data buffer accessors
authorMatthew Wilcox <matthew@wil.cx>
Wed, 3 Oct 2007 01:55:39 +0000 (21:55 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:53:56 +0000 (14:53 -0400)
commit52c334e9450a15230b84ab4ef8ef7b034b37c371
tree7801f2f5a481d1a8992cb9b7c14a0334f30514d6
parentfd625f4705977de1ad00ac3cb519ec3ee8fd8598
[SCSI] advansys: convert to use the data buffer accessors

- remove the unnecessary map_single path.
- convert to use the new accessors for the sg lists and the parameters.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
- convert the statistics to not distinguish between single and sg xfers
- replace ASC_CEILING with DIV_ROUND_UP
- remove an obsolete comment

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c