ipg: always compile in jumbo frame support
[deliverable/linux.git] / drivers / net / ipg.h
index cda53887d4db0ac84371a638db66807c88e82e67..446f3663ae6a6eb323e7f3530e1241ec8a8bcd8c 100644 (file)
@@ -536,6 +536,12 @@ enum ipg_regs {
  */
 #define                IPG_FRAMESBETWEENTXDMACOMPLETES 0x1
 
+#ifdef JUMBO_FRAME
+# define IPG_JUMBO true
+#else
+# define IPG_JUMBO false
+#endif
+
 #ifdef JUMBO_FRAME
 
 # ifdef JUMBO_FRAME_SIZE_2K
@@ -786,9 +792,8 @@ struct ipg_nic_private {
        unsigned int tx_dirty;
        unsigned int rx_current;
        unsigned int rx_dirty;
-#ifdef JUMBO_FRAME
+       bool is_jumbo;
        struct ipg_jumbo jumbo;
-#endif
        unsigned int rx_buf_sz;
        struct pci_dev *pdev;
        struct net_device *dev;
This page took 0.027219 seconds and 5 git commands to generate.