]> git.openfabrics.org - ~emulex/infiniband.git/commit
IB/ipath: Correct checking of swminor version field when using subports
authorMark Debbage <mark.debbage@qlogic.com>
Mon, 18 Jun 2007 21:24:45 +0000 (14:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
commit0df6291c8af2778d05f278d5738eef2c8fafa2dd
tree07eb25e1da424197dc89b0ace53d7c366b271cfa
parentd781b129f1e8b3e2f369d8035a61a5233832e65c
IB/ipath: Correct checking of swminor version field when using subports

When subports are required to run a program, this patch checks that
the driver and the userspace library have compatible subport
implementations.  This is achieved through checks on the swminor
version field built into the driver and userspace library.  Bad
combinations are reported through syslog and result in an error when
opening the port.

Signed-off-by: Mark Debbage <mark.debbage@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c