aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/ata_piix.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-11-22 18:46:57 +0900
committerJeff Garzik <jeff@garzik.org>2007-11-23 19:23:55 -0500
commit93e2618e0cee1f5b5a4cfc1b7521939318dbf5bb (patch)
treee535579b3e39c603f81e0144dbf744d0204c6975 /drivers/ata/ata_piix.c
parent0706efd61edfcf958c2c19669aa65c2180ec3ba0 (diff)
sata_sil24: fix sg table sizing
sil24 unnecessarily used LIBATA_MAX_PRD and ATAPI sg table was short by one entry which might cause very obscure problems. This patch updates sg table sizing such that * One full page is used for PRB + sg table. On 4k page, this results in 253 sg's. * Make ATAPI sg block properly sized. * Make build fail if command block size doesn't equal PAGE_SIZE. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/ata_piix.c')
0 files changed, 0 insertions, 0 deletions