diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-20 20:21:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-20 20:21:57 +0000 |
commit | ef941cb3b5d4696c1a9e82faad05ccf6641a77cd (patch) | |
tree | 8d6b9d3b2c96878940e3452a85a288b692a066fc /sys/dev/ic/oosiopvar.h | |
parent | 614d8ec6c4a616a9b1bc7d885600b4c909197084 (diff) |
Allow MD oosiop(4) attachment to override default values for a few of the
chip initialization values (SCNTL0, DMODE, DWT, CTEST7).
No functional change on hppa; required by another upcoming attachment.
Diffstat (limited to 'sys/dev/ic/oosiopvar.h')
-rw-r--r-- | sys/dev/ic/oosiopvar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/oosiopvar.h b/sys/dev/ic/oosiopvar.h index 6d670aeabd7..85837139e5b 100644 --- a/sys/dev/ic/oosiopvar.h +++ b/sys/dev/ic/oosiopvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: oosiopvar.h,v 1.3 2007/09/22 09:57:40 martin Exp $ */ +/* $OpenBSD: oosiopvar.h,v 1.4 2010/04/20 20:21:56 miod Exp $ */ /* $NetBSD: oosiopvar.h,v 1.2 2003/05/03 18:11:23 wiz Exp $ */ /* @@ -147,6 +147,11 @@ struct oosiop_softc { int sc_active; int sc_nextdsp; + + uint8_t sc_scntl0; + uint8_t sc_dmode; + uint8_t sc_dwt; + uint8_t sc_ctest7; }; #define oosiop_read_1(sc, addr) \ |