summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordmlb <dmlb@FreeBSD.org>2000-03-05 22:04:09 +0000
committerdmlb <dmlb@FreeBSD.org>2000-03-05 22:04:09 +0000
commitb5e5c9dd37b68c6efb116b53396404e2f925859e (patch)
tree1b15a424afc3dcb91443031039c56d72563f3a07 /sys
parentad31bfc5ee607948e12a1ebca2e7e8a75b4ccf04 (diff)
downloadFreeBSD-src-b5e5c9dd37b68c6efb116b53396404e2f925859e.zip
FreeBSD-src-b5e5c9dd37b68c6efb116b53396404e2f925859e.tar.gz
Minor tidy up.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ray/if_rayreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ray/if_rayreg.h b/sys/dev/ray/if_rayreg.h
index 27abc1b..6d18bb5 100644
--- a/sys/dev/ray/if_rayreg.h
+++ b/sys/dev/ray/if_rayreg.h
@@ -65,8 +65,7 @@
/*
* CCR registers, appearing in the attribute memory space
*/
-/* XXX sort these offsets out*/
-#define RAY_CCR 0xf00 /* CCR register offset */
+#define RAY_CCR 0xf00 /* CCR register offset */
#define RAY_COR (RAY_CCR + 0x00) /* config option register */
#define RAY_CCSR (RAY_CCR + 0x01) /* config/status register */
#define RAY_PIN (RAY_CCR + 0x02) /* not in hw */
@@ -93,6 +92,7 @@
#define RAY_COR_CFG_MASK 0x3f /* mask for function */
#define RAY_COR_LEVEL_IRQ 0x40 /* currently ignored and set */
#define RAY_COR_RESET 0x80 /* soft-reset the card */
+#define RAY_COR_DEFAULT (RAY_COR_CFG_NUM | RAY_COR_LEVEL_IRQ)
/*
* CCS register bits
OpenPOWER on IntegriCloud