summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000/if_em.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/if_em.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/if_em.h')
-rw-r--r--sys/dev/e1000/if_em.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/e1000/if_em.h b/sys/dev/e1000/if_em.h
index 8fa2a43..889ceae 100644
--- a/sys/dev/e1000/if_em.h
+++ b/sys/dev/e1000/if_em.h
@@ -339,6 +339,9 @@ struct adapter {
struct task tx_task;
struct taskqueue *tq; /* private task queue */
+ eventhandler_tag vlan_attach;
+ eventhandler_tag vlan_detach;
+
/* Management and WOL features */
int wol;
int has_manage;
OpenPOWER on IntegriCloud