summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/if_edreg.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /sys/arch/amiga/dev/if_edreg.h
initial import of NetBSD tree
Diffstat (limited to 'sys/arch/amiga/dev/if_edreg.h')
-rw-r--r--sys/arch/amiga/dev/if_edreg.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/sys/arch/amiga/dev/if_edreg.h b/sys/arch/amiga/dev/if_edreg.h
new file mode 100644
index 00000000000..10c8c82ebc4
--- /dev/null
+++ b/sys/arch/amiga/dev/if_edreg.h
@@ -0,0 +1,43 @@
+/* $NetBSD: if_edreg.h,v 1.4 1995/05/08 02:40:54 chopps Exp $ */
+
+/*
+ * Vendor types
+ */
+#define ED_VENDOR_HYDRA 0x03 /* Hydra Systems */
+
+/*
+ * Compile-time config flags
+ */
+/*
+ * This sets the default for enabling/disablng the tranceiver.
+ */
+#define ED_FLAGS_DISABLE_TRANCEIVER 0x0001
+
+/*
+ * This forces the board to be used in 8/16-bit mode even if it autoconfigs
+ * differently.
+ */
+#define ED_FLAGS_FORCE_8BIT_MODE 0x0002
+#define ED_FLAGS_FORCE_16BIT_MODE 0x0004
+
+/*
+ * This disables the use of double transmit buffers.
+ */
+#define ED_FLAGS_NO_MULTI_BUFFERING 0x0008
+
+/*
+ * This forces all operations with the NIC memory to use Programmed I/O (i.e.
+ * not via shared memory).
+ */
+#define ED_FLAGS_FORCE_PIO 0x0010
+
+/*
+ * Definitions for Hydra Systems boards
+ */
+#define HYDRA_ADDRPROM 0xffc0
+#define HYDRA_NIC_BASE 0xffe1
+/*
+ * Definitions for ASDG LANRover boards
+ */
+#define ASDG_ADDRPROM 0xff
+#define ASDG_NIC_BASE 0x1