From: Tejun Heo Date: Thu, 22 Nov 2007 09:46:57 +0000 (+0900) Subject: sata_sil24: fix sg table sizing X-Git-Tag: v2.6.24-rc4~102^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93e2618e0cee1f5b5a4cfc1b7521939318dbf5bb;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed