commit | 93e2618e0cee1f5b5a4cfc1b7521939318dbf5bb | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Thu Nov 22 18:46:57 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Nov 23 19:23:55 2007 -0500 |
tree | e535579b3e39c603f81e0144dbf744d0204c6975 | |
parent | 0706efd61edfcf958c2c19669aa65c2180ec3ba0 [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>