aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb_osdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgb/ixgb_osdep.h')
-rw-r--r--drivers/net/ixgb/ixgb_osdep.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/ixgb/ixgb_osdep.h b/drivers/net/ixgb/ixgb_osdep.h
index ee982feac64d..19cb1d586dec 100644
--- a/drivers/net/ixgb/ixgb_osdep.h
+++ b/drivers/net/ixgb/ixgb_osdep.h
@@ -40,18 +40,6 @@
40#include <linux/interrupt.h> 40#include <linux/interrupt.h>
41#include <linux/sched.h> 41#include <linux/sched.h>
42 42
43#ifndef msec_delay
44#define msec_delay(x) do { if(in_interrupt()) { \
45 /* Don't mdelay in interrupt context! */ \
46 BUG(); \
47 } else { \
48 msleep(x); \
49 } } while(0)
50#endif
51
52#define PCI_COMMAND_REGISTER PCI_COMMAND
53#define CMD_MEM_WRT_INVALIDATE PCI_COMMAND_INVALIDATE
54
55typedef enum { 43typedef enum {
56#undef FALSE 44#undef FALSE
57 FALSE = 0, 45 FALSE = 0,