diff options
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h index 0dd22bb44f0d..bd990c2e5d1b 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | |||
@@ -1540,7 +1540,7 @@ static inline void bnx2x_update_drv_flags(struct bnx2x *bp, u32 flags, u32 set) | |||
1540 | { | 1540 | { |
1541 | if (SHMEM2_HAS(bp, drv_flags)) { | 1541 | if (SHMEM2_HAS(bp, drv_flags)) { |
1542 | u32 drv_flags; | 1542 | u32 drv_flags; |
1543 | bnx2x_acquire_hw_lock(bp, HW_LOCK_DRV_FLAGS); | 1543 | bnx2x_acquire_hw_lock(bp, HW_LOCK_RESOURCE_DRV_FLAGS); |
1544 | drv_flags = SHMEM2_RD(bp, drv_flags); | 1544 | drv_flags = SHMEM2_RD(bp, drv_flags); |
1545 | 1545 | ||
1546 | if (set) | 1546 | if (set) |
@@ -1550,7 +1550,7 @@ static inline void bnx2x_update_drv_flags(struct bnx2x *bp, u32 flags, u32 set) | |||
1550 | 1550 | ||
1551 | SHMEM2_WR(bp, drv_flags, drv_flags); | 1551 | SHMEM2_WR(bp, drv_flags, drv_flags); |
1552 | DP(NETIF_MSG_HW, "drv_flags 0x%08x\n", drv_flags); | 1552 | DP(NETIF_MSG_HW, "drv_flags 0x%08x\n", drv_flags); |
1553 | bnx2x_release_hw_lock(bp, HW_LOCK_DRV_FLAGS); | 1553 | bnx2x_release_hw_lock(bp, HW_LOCK_RESOURCE_DRV_FLAGS); |
1554 | } | 1554 | } |
1555 | } | 1555 | } |
1556 | 1556 | ||