summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_levar.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-10 12:41:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-10 12:41:32 +0000
commitb8c4a37a40fbc7dd0a9e13c6a19af16489874aa1 (patch)
tree5d3410536b0b327107d38972cd6de9edee2b705f /sys/dev/pci/if_levar.h
parente1e97ed1b9981b214b4a1a85f0d6a2f17c7656b9 (diff)
if_name/if_unit -> if_xname/if_softc
Diffstat (limited to 'sys/dev/pci/if_levar.h')
-rw-r--r--sys/dev/pci/if_levar.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/dev/pci/if_levar.h b/sys/dev/pci/if_levar.h
new file mode 100644
index 00000000000..03f5e0c9312
--- /dev/null
+++ b/sys/dev/pci/if_levar.h
@@ -0,0 +1,31 @@
+/* $NetBSD: if_levar.h,v 1.1 1996/05/07 02:03:04 thorpej Exp $ */
+
+/*
+ * LANCE Ethernet driver header file
+ *
+ * Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
+ *
+ * Copyright (C) 1993, Paul Richards. This software may be used, modified,
+ * copied, distributed, and sold, in both source and binary form provided
+ * that the above copyright and these terms are retained. Under no
+ * circumstances is the author responsible for the proper functioning
+ * of this software, nor does the author assume any responsibility
+ * for damages incurred with its use.
+ */
+
+#define PCNET_PCI_RDP 0x10
+#define PCNET_PCI_RAP 0x12
+
+/*
+ * Ethernet software status per interface.
+ *
+ * Each interface is referenced by a network interface structure,
+ * arpcom.ac_if, which the routing code uses to locate the interface.
+ * This structure contains the output queue for the interface, its address, ...
+ */
+struct le_softc {
+ struct am7990_softc sc_am7990; /* glue to MI code */
+
+ void *sc_ih;
+ int sc_rap, sc_rdp; /* offsets to LANCE registers */
+};