[libata] sata_mv: more S/G fixes
authorJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 04:16:23 +0000 (00:16 -0400)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 04:16:23 +0000 (00:16 -0400)
commit6c08772e49622e90d39903e7ff0be1a0f463ac86
tree768a9026b3d5f86473a3be25584cda3afcb10253
parentbbf25010f1a6b761914430f5fca081ec8c7accd1
[libata] sata_mv: more S/G fixes

* corruption fix: we only want the lower 16 bits of length (0 == 64kb)

* ditto: the upper layer sets max-phys-segments to LIBATA_MAX_PRD,
  so we must reset it to own hw-specific length.

* delete unused mv_fill_sg() return value

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c