]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
IB/ipath: Fix calculation for number of kernel PIO buffers
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 15 Mar 2007 21:45:02 +0000 (14:45 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 19 Apr 2007 03:20:57 +0000 (20:20 -0700)
commit0ed3c594e3878274787810422760dc7c51e0ee72
treea78b2632e23e743ffbfe85e4e235ff2bde77d933
parentc8c6f5d496fe794cbb52fe5a08c2bd839eecaa07
IB/ipath: Fix calculation for number of kernel PIO buffers

If the module parameter "kpiobufs" is set too high, the calculation to
reset it to a sane value was incorrect.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_init_chip.c