diff options
author | Alexander Chiang <achiang@hp.com> | 2010-02-02 20:09:06 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-02-24 19:23:48 +0100 |
commit | daa913580e1a927aaf54f02ecfdf59c7b6bc2f6e (patch) | |
tree | 1765fa757c539a79430b8710277d5d1b5c77ab75 /include/rdma | |
parent | IB/ucm: Use stack variable 'base' in ib_ucm_add_one (diff) | |
download | linux-daa913580e1a927aaf54f02ecfdf59c7b6bc2f6e.tar.xz linux-daa913580e1a927aaf54f02ecfdf59c7b6bc2f6e.zip |
IB/ucm: Increase maximum devices supported
Some large systems may support more than IB_UCM_MAX_DEVICES
(currently 32).
This change allows us to support more devices in a backwards-compatible
manner. the first IB_UCM_MAX_DEVICES keep the same major/minor device
numbers they've always had.
If there are more than IB_UCM_MAX_DEVICES, then we dynamically request
a new major device number (new minors start at 0).
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions