diff options
author | Divy Le Ray <divy@chelsio.com> | 2009-01-26 22:22:19 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-26 22:22:19 -0800 |
commit | a73efd0a8552927ebe5dff84936f7fdac4f7e314 (patch) | |
tree | c43976f285ffd71cb927cbc5cea8b7156a1a231a /drivers/infiniband/hw/cxgb3/cxio_hal.h | |
parent | cb0bc205959bf8c60acae9c71f3da0597e756f8e (diff) |
iw_cxgb3: handle chip reset notifications
Freeze activity when notified that the underlying chip
is getting reset on a EEH event or fatal error.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/cxio_hal.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/cxio_hal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb3/cxio_hal.h b/drivers/infiniband/hw/cxgb3/cxio_hal.h index 656fe47bc84..9ed65b05517 100644 --- a/drivers/infiniband/hw/cxgb3/cxio_hal.h +++ b/drivers/infiniband/hw/cxgb3/cxio_hal.h @@ -108,6 +108,8 @@ struct cxio_rdev { struct gen_pool *pbl_pool; struct gen_pool *rqt_pool; struct list_head entry; + u32 flags; +#define CXIO_ERROR_FATAL 1 }; static inline int cxio_num_stags(struct cxio_rdev *rdev_p) |