Home
last modified time | relevance | path

Searched hist:"93 e2618e0cee1f5b5a4cfc1b7521939318dbf5bb" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dsata_sil24.cdiff 93e2618e0cee1f5b5a4cfc1b7521939318dbf5bb Thu Nov 22 03:46:57 CST 2007 Tejun Heo <htejun@gmail.com> 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>