summaryrefslogtreecommitdiffstats
path: root/sys/dev/sym/sym_defs.h
diff options
context:
space:
mode:
authorgroudier <groudier@FreeBSD.org>2000-05-28 17:49:18 +0000
committergroudier <groudier@FreeBSD.org>2000-05-28 17:49:18 +0000
commit3bf3b0d19970a1c2a7c2abf24ba0c630f53e1c9a (patch)
tree16e8c06f6f1c13af9b793cf459b3a887f208aff7 /sys/dev/sym/sym_defs.h
parent48a0d1fc6cbdc9eb97836045b919eaea21d0ab5f (diff)
downloadFreeBSD-src-3bf3b0d19970a1c2a7c2abf24ba0c630f53e1c9a.zip
FreeBSD-src-3bf3b0d19970a1c2a7c2abf24ba0c630f53e1c9a.tar.gz
- Make the NVRAM debug code compile and work.
- Get rid of a fiew uselessly `long' variables and casts to `long'. - Estimate the PCI clock for all chips, except C1010 for now (we should do that for each PCI BUS) - Refine a couple of C1010 errata work-arounds. - For now, make sure AIP generation is disabled for the C1010-66.
Diffstat (limited to 'sys/dev/sym/sym_defs.h')
-rw-r--r--sys/dev/sym/sym_defs.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/sym/sym_defs.h b/sys/dev/sym/sym_defs.h
index d456d04..d07aa94 100644
--- a/sys/dev/sym/sym_defs.h
+++ b/sys/dev/sym/sym_defs.h
@@ -499,13 +499,16 @@ struct sym_reg {
/*b4*/ u32 nc_dbms; /* Dynamic Block Move Selector */
/*b8*/ u32 nc_dnad64; /* DMA Next Address 64 */
/*bc*/ u16 nc_scntl4; /* C1010 only */
- #define U3EN 0x80 /* Enable Ultra 3 */
- #define AIPEN 0x40 /* Allow check upper byte lanes */
+ #define U3EN 0x80 /* Enable Ultra 3 */
+ #define AIPCKEN 0x40 /* AIP checking enable */
+ /* Also enable AIP generation on C10-33*/
#define XCLKH_DT 0x08 /* Extra clock of data hold on DT edge */
#define XCLKH_ST 0x04 /* Extra clock of data hold on ST edge */
#define XCLKS_DT 0x02 /* Extra clock of data set on DT edge */
#define XCLKS_ST 0x01 /* Extra clock of data set on ST edge */
-/*be*/ u16 nc_aipcntl; /* Epat Control 1 C1010 only */
+/*be*/ u8 nc_aipcntl0; /* AIP Control 0 C1010 only */
+/*bf*/ u8 nc_aipcntl1; /* AIP Control 1 C1010 only */
+ #define DISAIP 0x08 /* Disable AIP generation C10-66 only */
/*c0*/ u32 nc_pmjad1; /* Phase Mismatch Jump Address 1 */
/*c4*/ u32 nc_pmjad2; /* Phase Mismatch Jump Address 2 */
/*c8*/ u8 nc_rbc; /* Remaining Byte Count */
OpenPOWER on IntegriCloud