diff options
Diffstat (limited to 'drivers/net/ipg.h')
-rw-r--r-- | drivers/net/ipg.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/ipg.h b/drivers/net/ipg.h index cda53887d4db..446f3663ae6a 100644 --- a/drivers/net/ipg.h +++ b/drivers/net/ipg.h | |||
@@ -537,6 +537,12 @@ enum ipg_regs { | |||
537 | #define IPG_FRAMESBETWEENTXDMACOMPLETES 0x1 | 537 | #define IPG_FRAMESBETWEENTXDMACOMPLETES 0x1 |
538 | 538 | ||
539 | #ifdef JUMBO_FRAME | 539 | #ifdef JUMBO_FRAME |
540 | # define IPG_JUMBO true | ||
541 | #else | ||
542 | # define IPG_JUMBO false | ||
543 | #endif | ||
544 | |||
545 | #ifdef JUMBO_FRAME | ||
540 | 546 | ||
541 | # ifdef JUMBO_FRAME_SIZE_2K | 547 | # ifdef JUMBO_FRAME_SIZE_2K |
542 | # define JUMBO_FRAME_SIZE 2048 | 548 | # define JUMBO_FRAME_SIZE 2048 |
@@ -786,9 +792,8 @@ struct ipg_nic_private { | |||
786 | unsigned int tx_dirty; | 792 | unsigned int tx_dirty; |
787 | unsigned int rx_current; | 793 | unsigned int rx_current; |
788 | unsigned int rx_dirty; | 794 | unsigned int rx_dirty; |
789 | #ifdef JUMBO_FRAME | 795 | bool is_jumbo; |
790 | struct ipg_jumbo jumbo; | 796 | struct ipg_jumbo jumbo; |
791 | #endif | ||
792 | unsigned int rx_buf_sz; | 797 | unsigned int rx_buf_sz; |
793 | struct pci_dev *pdev; | 798 | struct pci_dev *pdev; |
794 | struct net_device *dev; | 799 | struct net_device *dev; |