summaryrefslogtreecommitdiff
path: root/sys/dev/ic/dp8390var.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-10-20 18:12:51 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-10-20 18:12:51 +0000
commitd9b779bc767c0be56e235cccc6cbb6cfac4d969f (patch)
tree32ff2a407f40d7c657f2f07adb744900797e3aca /sys/dev/ic/dp8390var.h
parent1913eac5c18b9f799e42d311392dbec8e83f2565 (diff)
some new flags.
From NetBSD
Diffstat (limited to 'sys/dev/ic/dp8390var.h')
-rw-r--r--sys/dev/ic/dp8390var.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/dp8390var.h b/sys/dev/ic/dp8390var.h
index b37bf9b41f8..9897ed8b962 100644
--- a/sys/dev/ic/dp8390var.h
+++ b/sys/dev/ic/dp8390var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dp8390var.h,v 1.10 2006/10/10 00:09:07 brad Exp $ */
+/* $OpenBSD: dp8390var.h,v 1.11 2006/10/20 18:12:50 brad Exp $ */
/* $NetBSD: dp8390var.h,v 1.8 1998/08/12 07:19:09 scottr Exp $ */
/*
@@ -133,6 +133,13 @@ struct dp8390_softc {
*/
#define DP8390_DO_AX88190_WORKAROUND 0x0020
+#define DP8390_ATTACHED 0x0040 /* attach has succeeded */
+
+/*
+ * ASIX AX88796 doesn't have remote DMA conmplete bit in ISR, so don't
+ * check ISR.RDC
+ */
+#define DP8390_NO_REMOTE_DMA_COMPLETE 0x0080
/*
* NIC register access macros