diff options
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 8d897d1a93ba..1e7f0094e382 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h | |||
@@ -334,7 +334,7 @@ struct be_adapter { | |||
334 | u8 vlan_tag[VLAN_N_VID]; | 334 | u8 vlan_tag[VLAN_N_VID]; |
335 | u8 vlan_prio_bmap; /* Available Priority BitMap */ | 335 | u8 vlan_prio_bmap; /* Available Priority BitMap */ |
336 | u16 recommended_prio; /* Recommended Priority */ | 336 | u16 recommended_prio; /* Recommended Priority */ |
337 | struct be_dma_mem mc_cmd_mem; | 337 | struct be_dma_mem rx_filter; /* Cmd DMA mem for rx-filter */ |
338 | 338 | ||
339 | struct be_dma_mem stats_cmd; | 339 | struct be_dma_mem stats_cmd; |
340 | /* Work queue used to perform periodic tasks like getting statistics */ | 340 | /* Work queue used to perform periodic tasks like getting statistics */ |
@@ -381,6 +381,8 @@ struct be_adapter { | |||
381 | #define BE_GEN2 2 | 381 | #define BE_GEN2 2 |
382 | #define BE_GEN3 3 | 382 | #define BE_GEN3 3 |
383 | 383 | ||
384 | #define ON 1 | ||
385 | #define OFF 0 | ||
384 | #define lancer_chip(adapter) ((adapter->pdev->device == OC_DEVICE_ID3) || \ | 386 | #define lancer_chip(adapter) ((adapter->pdev->device == OC_DEVICE_ID3) || \ |
385 | (adapter->pdev->device == OC_DEVICE_ID4)) | 387 | (adapter->pdev->device == OC_DEVICE_ID4)) |
386 | 388 | ||