summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000/e1000_osdep.h
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2008-11-26 23:57:23 +0000
committerjfv <jfv@FreeBSD.org>2008-11-26 23:57:23 +0000
commitacf860ad541ce9529aff0bf17061183badd98903 (patch)
treeb0f0b3a2e29a0fc9f60b8bee9111f6827eb01416 /sys/dev/e1000/e1000_osdep.h
parent62188214bdac09b8b3fe223bd994d8aef28db6db (diff)
downloadFreeBSD-src-acf860ad541ce9529aff0bf17061183badd98903.zip
FreeBSD-src-acf860ad541ce9529aff0bf17061183badd98903.tar.gz
This delta is primarily a fix for es2lan devices that
will sometimes fail to initialize problem due to a lock contention with management hardware. However, in order to deliver that fix it was necessary to take a shared code update as a whole, and this required scattered changes in the core code to be compatible. The em driver now has VLAN HW support added as the igb driver had previously. MFC after: ASAP - in time for 7.1 RELEASE
Diffstat (limited to 'sys/dev/e1000/e1000_osdep.h')
-rw-r--r--sys/dev/e1000/e1000_osdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/e1000/e1000_osdep.h b/sys/dev/e1000/e1000_osdep.h
index 8a63950..b478f29 100644
--- a/sys/dev/e1000/e1000_osdep.h
+++ b/sys/dev/e1000/e1000_osdep.h
@@ -93,6 +93,10 @@ typedef int16_t s16;
typedef int8_t s8;
typedef boolean_t bool;
+#define __le16 u16
+#define __le32 u32
+#define __le64 u64
+
struct e1000_osdep
{
bus_space_tag_t mem_bus_space_tag;
OpenPOWER on IntegriCloud