]> err.no Git - linux-2.6/commit
IB/ipath: Fix the mtrr_add args for chips with 2 buffer sizes
authorDave Olson <dave.olson@qlogic.com>
Mon, 18 Jun 2007 21:24:40 +0000 (14:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
commit561095f20eeb5c6c05c303bad8cdb3f8a80821bc
tree57a8c7e69151ae5c94d73cb1ecfcef1441270792
parentf716cdfe57f217966f41a7add190d6f5b9fd0769
IB/ipath: Fix the mtrr_add args for chips with 2 buffer sizes

The values passed have never been right for iba 6120 chips, but just
happened to work.  We needed to select the right buffer offset in the
chip (both are in same register), and the total length was wrong also,
but was covered by the rounding up.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_wc_x86_64.c