diff options
author | Don Wood <donald.e.wood@intel.com> | 2009-09-06 07:36:38 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-06 07:36:38 +0400 |
commit | 8b1c9dc4ba713985d33aba87c761bf71d5a96491 (patch) | |
tree | 54578c370a52c89a626e6fbbdfc2e12579f47494 /drivers/infiniband/hw/nes/nes_utils.c | |
parent | 3c28b4457a4cf95e982ca13578a5613a11009394 (diff) | |
download | linux-8b1c9dc4ba713985d33aba87c761bf71d5a96491.tar.xz |
RDMA/nes: Implement Terminate Packet
Implement the sending and receiving of Terminate packets.
Signed-off-by: Don Wood <donald.e.wood@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_utils.c')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/nes/nes_utils.c b/drivers/infiniband/hw/nes/nes_utils.c index b34072b04377..9687c397ce1a 100644 --- a/drivers/infiniband/hw/nes/nes_utils.c +++ b/drivers/infiniband/hw/nes/nes_utils.c @@ -183,6 +183,9 @@ int nes_read_eeprom_values(struct nes_device *nesdev, struct nes_adapter *nesada } else if (((major_ver == 2) && (minor_ver > 21)) || ((major_ver > 2) && (major_ver != 255))) { nesadapter->virtwq = 1; } + if (((major_ver == 3) && (minor_ver >= 16)) || (major_ver > 3)) + nesadapter->send_term_ok = 1; + nesadapter->firmware_version = (((u32)(u8)(eeprom_data>>8)) << 16) + (u32)((u8)eeprom_data); |