diff options
author | Alexander Chiang <achiang@hp.com> | 2010-02-02 19:08:45 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-02-24 10:23:45 -0800 |
commit | 8698d3feccda66fcb52748e7c7690bd1003f7849 (patch) | |
tree | 5051fc53d2fdd046ab56c586c4c5b15108f143e0 /drivers/infiniband/core/iwcm.c | |
parent | dc2ed5e3c963490a4fe934b482537d1274961ecb (diff) |
IB/umad: Increase maximum devices supported
Some large systems may support more than IB_UMAD_MAX_PORTS
(currently 64).
This change allows us to support more ports in a backwards-compatible
manner. The first IB_UMAD_MAX_PORTS keep the same major/minor device
numbers they've always had.
If there are more than IB_UMAD_MAX_PORTS, we then 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 'drivers/infiniband/core/iwcm.c')
0 files changed, 0 insertions, 0 deletions