linux/drivers/infiniband/hw/nes
Roland Dreier d0c49bf391 RDMA/iwcm: Get rid of enum iw_cm_event_status
The IW_CM_EVENT_STATUS_xxx values were used in only a couple of places;
cma.c uses -Exxx values instead, and so do the amso1100, cxgb3 and cxgb4
drivers -- only nes was using the enum values (with the mild consequence
that all nes connection failures were treated as generic errors rather
than reported as timeouts or rejections).

We can fix this confusion by getting rid of enum iw_cm_event_status and
using a plain int for struct iw_cm_event.status, and converting nes to
use -Exxx as the other iWARP drivers do.

This also gets rid of the warning

    drivers/infiniband/core/cma.c: In function 'cma_iw_handler':
    drivers/infiniband/core/cma.c:1333:3: warning: case value '4294967185' not in enumerated type 'enum iw_cm_event_status'
    drivers/infiniband/core/cma.c:1336:3: warning: case value '4294967186' not in enumerated type 'enum iw_cm_event_status'
    drivers/infiniband/core/cma.c:1332:3: warning: case value '4294967192' not in enumerated type 'enum iw_cm_event_status'

Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Reviewed-by: Faisal Latif <faisal.latif@intel.com>
2011-05-09 22:23:57 -07:00
..
Kconfig RDMA/nes: Update copyright and branding string 2009-12-09 15:21:56 -08:00
Makefile RDMA/nes: Add a driver for NetEffect RNICs 2008-02-04 20:20:45 -08:00
nes.c RDMA/nes: Don't print success message at level KERN_ERR 2011-03-18 08:52:30 -07:00
nes.h RDMA/nes: Fix SFP+ link down detection issue with switch port disable 2011-01-16 13:23:34 -08:00
nes_cm.c RDMA/iwcm: Get rid of enum iw_cm_event_status 2011-05-09 22:23:57 -07:00
nes_cm.h RDMA/nes: Fix crash in nes_accept() 2009-12-09 15:54:08 -08:00
nes_context.h RDMA/nes: Update copyright and branding string 2009-12-09 15:21:56 -08:00
nes_hw.c Fix common misspellings 2011-03-31 11:26:23 -03:00
nes_hw.h RDMA/nes: Fix SFP+ link down detection issue with switch port disable 2011-01-16 13:23:34 -08:00
nes_nic.c Fix common misspellings 2011-03-31 11:26:23 -03:00
nes_user.h RDMA/nes: Update copyright and branding string 2009-12-09 15:21:56 -08:00
nes_utils.c RDMA/nes: Store and print eeprom version 2010-07-28 15:12:38 -07:00
nes_verbs.c RDMA/iwcm: Get rid of enum iw_cm_event_status 2011-05-09 22:23:57 -07:00
nes_verbs.h RDMA/nes: Free kmap() resources 2009-12-09 15:54:28 -08:00