bnxt_en: Change bp->state to bitmap.
authorMichael Chan <mchan@broadcom.com>
Thu, 10 Dec 2015 00:35:42 +0000 (19:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Dec 2015 04:34:06 +0000 (23:34 -0500)
commitcaefe526d7b5af11d9b5977b2862eb144fa45537
tree04ad52a6f18d14b7abe3c832e3445961e2f33c09
parentde68f5de56512a2ff5d5810ef4d54c53470c3c45
bnxt_en: Change bp->state to bitmap.

This allows multiple independent bits to be set for various states.
Subsequent patches to implement tx timeout reset will require this.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c