summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em.h
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2016-02-18 14:24:40 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2016-02-18 14:24:40 +0000
commitef60c32981b2ef95022bea98316a00380b1e4bfa (patch)
tree50ee377b1edcd6822e94869035f09b4d0d67b001 /sys/dev/pci/if_em.h
parent267979ccbc324ccd5a8fc578f1966c37cf895d81 (diff)
Add support for the Intel i219 network chip to the em(4) driver.
from Christian Ehrhardt; input jsg@; OK deraadt@ sthen@ mpi@ jsg@ tested by sthen@ jca@ benno@ bluhm@
Diffstat (limited to 'sys/dev/pci/if_em.h')
-rw-r--r--sys/dev/pci/if_em.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em.h b/sys/dev/pci/if_em.h
index 84fe5b1814c..cf71c713287 100644
--- a/sys/dev/pci/if_em.h
+++ b/sys/dev/pci/if_em.h
@@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
/* $FreeBSD: if_em.h,v 1.26 2004/09/01 23:22:41 pdeuskar Exp $ */
-/* $OpenBSD: if_em.h,v 1.71 2016/01/11 01:31:53 dlg Exp $ */
+/* $OpenBSD: if_em.h,v 1.72 2016/02/18 14:24:39 bluhm Exp $ */
#ifndef _EM_H_DEFINED_
#define _EM_H_DEFINED_
@@ -230,6 +230,9 @@ typedef int boolean_t;
#define MAX_NUM_MULTICAST_ADDRESSES 128
+#define PCICFG_DESC_RING_STATUS 0xe4
+#define FLUSH_DESC_REQUIRED 0x100
+
/*
* TDBA/RDBA should be aligned on 16 byte boundary. But TDLEN/RDLEN should be
* multiple of 128 bytes. So we align TDBA/RDBA on 128 byte boundary. This will
@@ -319,6 +322,7 @@ struct em_softc {
struct em_osdep osdep;
struct ifmedia media;
int io_rid;
+ int legacy_irq;
void *sc_intrhand;
struct timeout em_intr_enable;