IB/ipath: Allow more flexible user register alignments
authorRalph Campbell <ralph.campbell@qlogic.com>
Mon, 7 Jan 2008 05:02:34 +0000 (21:02 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:39 +0000 (14:15 -0800)
commita18e26ae442001de62f6b84a923e8613347dc35f
tree36109aca4360deb0ca0ea12e429d917e54819d5a
parent9e2ef36b5a83b3c8ec1153382559dff410cc4341
IB/ipath: Allow more flexible user register alignments

User registers have different alignments on different chips (4KB on
older, 64KB on 7220).  Allow mapping the user registers on kernels with
page sizes up to 64K.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/infiniband/hw/ipath/ipath_iba6110.c
drivers/infiniband/hw/ipath/ipath_iba6120.c
drivers/infiniband/hw/ipath/ipath_kernel.h