cxgb3i: suppot of different kernel page sizes
authorKaren Xie <kxie@chelsio.com>
Mon, 15 Jun 2009 18:15:16 +0000 (11:15 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 15:52:39 +0000 (10:52 -0500)
commit9194c6264040d71f851236437a392594b26e5b91
treefd7a7bff23923afa5da8363560e924aa7454e52a
parent295ab1b54393aec064533fbc5b483844736ccbf0
cxgb3i: suppot of different kernel page sizes

The default kernel pages supported are 4K, 8K, 16K, and 64K. Re-calculate
entries if PAGE_SIZE is not one of the defaults.

Signed-off-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/cxgb3i/cxgb3i_ddp.c