summaryrefslogtreecommitdiff
path: root/drivers/net/cnic.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-10-13 14:06:45 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-14 10:45:53 -0700
commit6e0dda0c467d6c66d64c146170ea35399ec34c15 (patch)
treee8416565ec89a1e805cb5357c812fd2845f4b1fc /drivers/net/cnic.h
parent6e0dc64384298b29ac17de7362b7d6d2ef588304 (diff)
cnic: Convert ctx_flags to bit fields
so that we can additional bit definitions without requiring a spinlock. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cnic.h')
-rw-r--r--drivers/net/cnic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cnic.h b/drivers/net/cnic.h
index 676d008509c6..9907cc24807a 100644
--- a/drivers/net/cnic.h
+++ b/drivers/net/cnic.h
@@ -168,8 +168,8 @@ struct cnic_context {
wait_queue_head_t waitq;
int wait_cond;
unsigned long timestamp;
- u32 ctx_flags;
-#define CTX_FL_OFFLD_START 0x00000001
+ unsigned long ctx_flags;
+#define CTX_FL_OFFLD_START 0
u8 ulp_proto_id;
union {
struct cnic_iscsi *iscsi;