From: Ishai Rabinovitz Date: Thu, 2 Mar 2006 06:33:11 +0000 (-0800) Subject: IB/mthca: Use an enum for HCA page size X-Git-Tag: v2.6.17-rc1~1180^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d3ef29d6be1e750512e0a9dbea6225290b81d0a;p=pandora-kernel.git IB/mthca: Use an enum for HCA page size Use a named enum for the HCA's internal page size, rather than having magic values of 4096 and shifts by 12 all over the code. Also, fix one minor bug in EQ handling: only one HCA page is mapped to the HCA during initialization, but a full kernel page is unmapped during cleanup. This might cause problems when PAGE_SIZE != 4096. Signed-off-by: Ishai Rabinovitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed