]> Pileus Git - ~andy/linux/blobdiff - drivers/net/ethernet/8390/8390.h
8390 : Replace ei_debug with msg_enable/NETIF_MSG_* feature
[~andy/linux] / drivers / net / ethernet / 8390 / 8390.h
index 2923c51bb351c38e2cc7d728056bdcb6f5c25a97..3e2f2c2e7b5848770502fedf05bf34b1e991be48 100644 (file)
@@ -21,12 +21,6 @@ struct e8390_pkt_hdr {
   unsigned short count; /* header + packet length in bytes */
 };
 
-#ifdef notdef
-extern int ei_debug;
-#else
-#define ei_debug 1
-#endif
-
 #ifdef CONFIG_NET_POLL_CONTROLLER
 void ei_poll(struct net_device *dev);
 void eip_poll(struct net_device *dev);
@@ -99,6 +93,7 @@ struct ei_device {
        u32 *reg_offset;                /* Register mapping table */
        spinlock_t page_lock;           /* Page register locks */
        unsigned long priv;             /* Private field to store bus IDs etc. */
+       u32 msg_enable;                 /* debug message level */
 #ifdef AX88796_PLATFORM
        unsigned char rxcr_base;        /* default value for RXCR */
 #endif