IB/ehca: HW level, HW caps and MTU autodetection
authorJoachim Fenkes <fenkes@de.ibm.com>
Mon, 9 Jul 2007 13:21:45 +0000 (15:21 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:27 +0000 (20:12 -0700)
commit91f13aa3fc22e357b494c5b8270e94543870928d
treee8f78c2549945f5e3bc42e33ce81a18a9292f746
parentb8a3ba551369982180917a999d32fcedbba34115
IB/ehca: HW level, HW caps and MTU autodetection

In preparation for support of new eHCA2 features, change adapter probing:
 - Hardware level is changed to encode major and minor chip version
 - Hardware capabilities are queried from the firmware
 - The maximum MTU is queried from the firmware instead of assuming a
   fixed value

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_av.c
drivers/infiniband/hw/ehca/ehca_classes.h
drivers/infiniband/hw/ehca/ehca_hca.c
drivers/infiniband/hw/ehca/ehca_main.c
drivers/infiniband/hw/ehca/hipz_hw.h