libata: sata_sis: use correct S/G table size
authorJeff Garzik <jeff@garzik.org>
Thu, 15 Nov 2007 06:59:44 +0000 (07:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Nov 2007 17:42:30 +0000 (09:42 -0800)
commit2fcce6c9d17c1a917d67f63c24eedb4761f003c0
tree0dc3286e2e8710fbad0e31acb4b9fadb29081a67
parent458c3a1a519ad2a0f228b3c27cb63e378355073d
libata: sata_sis: use correct S/G table size

patch 96af154710d44b574515431a0bb014888398a741 in mainline.

[libata] sata_sis: use correct S/G table size

sata_sis has the same restrictions as other SFF controllers, and so must
use LIBATA_MAX_PRD to denote that SCSI may only fill ATA_MAX_PRD/2
entries, due to our need to handle IOMMU merging.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Cc: Tobias Powalowski <t.powa@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/sata_sis.c