From: Alexander Chiang Date: Tue, 2 Feb 2010 19:08:45 +0000 (+0000) Subject: IB/umad: Increase maximum devices supported X-Git-Tag: v2.6.34-rc1~225^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8698d3feccda66fcb52748e7c7690bd1003f7849;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed