Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Step 0 of adding Prism monitor mode: name the fir...
details: https://anonhg.NetBSD.org/src/rev/d3ab422cac03
branches: trunk
changeset: 543432:d3ab422cac03
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue Feb 25 00:56:35 2003 +0000
description:
Step 0 of adding Prism monitor mode: name the firmware command for
setting up manufacturing test modes. Name the sub-command for
turning on monitor mode.
diffstat:
sys/dev/ic/wireg.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r f217b34360c0 -r d3ab422cac03 sys/dev/ic/wireg.h
--- a/sys/dev/ic/wireg.h Tue Feb 25 00:51:14 2003 +0000
+++ b/sys/dev/ic/wireg.h Tue Feb 25 00:56:35 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wireg.h,v 1.42 2002/10/21 11:57:25 soren Exp $ */
+/* $NetBSD: wireg.h,v 1.43 2003/02/25 00:56:35 dyoung Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -117,6 +117,7 @@
#define WI_CMD_ACCESS 0x0021
#define WI_CMD_PROGRAM 0x0022
#define WI_CMD_READEE 0x0030
+#define WI_CMD_TEST 0x0038 /* PRISM2 test mode */
#define WI_CMD_CODE_MASK 0x003F
@@ -140,6 +141,11 @@
#define WI_PROGRAM_ENABLE_NVRAM 0x0200
#define WI_PROGRAM_NVRAM 0x0300
+/*
+ * DEBUG mode options.
+ */
+#define WI_TEST_MONITOR 0x0B /* monitor mode for testing */
+
/* Status register values */
#define WI_STAT_CMD_CODE 0x003F
#define WI_STAT_DIAG_ERR 0x0100
Home |
Main Index |
Thread Index |
Old Index