Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm26/podulebus I think bit 0 of the status registe...
details: https://anonhg.NetBSD.org/src/rev/c72fde839883
branches: trunk
changeset: 500687:c72fde839883
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sat Dec 16 18:23:14 2000 +0000
description:
I think bit 0 of the status register is the interrupt status on read.
diffstat:
sys/arch/arm26/podulebus/if_ehreg.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r ae7bcc3c0572 -r c72fde839883 sys/arch/arm26/podulebus/if_ehreg.h
--- a/sys/arch/arm26/podulebus/if_ehreg.h Sat Dec 16 17:53:19 2000 +0000
+++ b/sys/arch/arm26/podulebus/if_ehreg.h Sat Dec 16 18:23:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ehreg.h,v 1.1 2000/12/01 14:28:37 bjh21 Exp $ */
+/* $NetBSD: if_ehreg.h,v 1.2 2000/12/16 18:23:14 bjh21 Exp $ */
/*
* This file is in the public domain
@@ -19,8 +19,9 @@
#define EH_CTRL 0x200 /* FAST space */
/* Bits of the control register */
-#define EH_CTRL_IE 0x01 /* Interrupt enable */
-#define EH_CTRL_MEDIA 0x02 /* Media select (0 = 10b2, 1 = 10bT) */
-#define EH_CTRL_LINK 0x02 /* Link beat detect */
+#define EH_CTRL_IE 0x01 /* Interrupt enable (W) */
+#define EH_CTRL_IS 0x01 /* Interrupt status (R) */
+#define EH_CTRL_MEDIA 0x02 /* Media select (0 = 10b2, 1 = 10bT) (W) */
+#define EH_CTRL_LINK 0x02 /* Link beat detect (R) */
#endif
Home |
Main Index |
Thread Index |
Old Index