IB/ehca: Use named constant for max mtu
authorHoang-Nam Nguyen <hnguyen@de.ibm.com>
Sun, 5 Nov 2006 20:42:56 +0000 (21:42 +0100)
committerRoland Dreier <rolandd@cisco.com>
Mon, 13 Nov 2006 16:46:28 +0000 (08:46 -0800)
commitc58121143f87930621c1a6fa9683b6862f2b42c9
treead7523e1bbae9df75875c5a350834efea6008cdf
parent7e28db5d8ff63b1cabc221c5cb84a5f45752f1c2
IB/ehca: Use named constant for max mtu

Define and use a constant EHCA_MAX_MTU instead hardcoded value.

Signed-off-by: Hoang-Nam Nguyen <hnguyen@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_av.c
drivers/infiniband/hw/ehca/hipz_hw.h