diff options
Diffstat (limited to 'drivers/net/e1000/e1000_osdep.h')
-rw-r--r-- | drivers/net/e1000/e1000_osdep.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/e1000/e1000_osdep.h b/drivers/net/e1000/e1000_osdep.h index d9298522f5ae..edd1c75aa895 100644 --- a/drivers/net/e1000/e1000_osdep.h +++ b/drivers/net/e1000/e1000_osdep.h | |||
@@ -41,20 +41,6 @@ | |||
41 | #include <linux/interrupt.h> | 41 | #include <linux/interrupt.h> |
42 | #include <linux/sched.h> | 42 | #include <linux/sched.h> |
43 | 43 | ||
44 | #ifdef DBG | ||
45 | #define DEBUGOUT(S) printk(KERN_DEBUG S "\n") | ||
46 | #define DEBUGOUT1(S, A...) printk(KERN_DEBUG S "\n", A) | ||
47 | #else | ||
48 | #define DEBUGOUT(S) | ||
49 | #define DEBUGOUT1(S, A...) | ||
50 | #endif | ||
51 | |||
52 | #define DEBUGFUNC(F) DEBUGOUT(F "\n") | ||
53 | #define DEBUGOUT2 DEBUGOUT1 | ||
54 | #define DEBUGOUT3 DEBUGOUT2 | ||
55 | #define DEBUGOUT7 DEBUGOUT3 | ||
56 | |||
57 | |||
58 | #define er32(reg) \ | 44 | #define er32(reg) \ |
59 | (readl(hw->hw_addr + ((hw->mac_type >= e1000_82543) \ | 45 | (readl(hw->hw_addr + ((hw->mac_type >= e1000_82543) \ |
60 | ? E1000_##reg : E1000_82542_##reg))) | 46 | ? E1000_##reg : E1000_82542_##reg))) |