diff options
| author | hans <hans@NetBSD.org> | 2008-11-19 15:39:10 +0000 |
|---|---|---|
| committer | hans <hans@NetBSD.org> | 2008-11-19 15:39:10 +0000 |
| commit | 7a092e0d4eca72e025b259956245a771ff02ee5d (patch) | |
| tree | 311ac72d3273d7d4d174a8646992f6df4d07f188 | |
| parent | e10fef6cd2415f9ceb847aa0dd710a0dcf410b8a (diff) | |
uba device registers should be volatile. OK by ragge.
| -rw-r--r-- | sys/arch/vax/uba/uba_common.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/arch/vax/uba/uba_common.h b/sys/arch/vax/uba/uba_common.h index 317574f5dd9..0891cce43f1 100644 --- a/sys/arch/vax/uba/uba_common.h +++ b/sys/arch/vax/uba/uba_common.h @@ -1,4 +1,4 @@ -/* $NetBSD: uba_common.h,v 1.5 2008/03/11 05:34:02 matt Exp $ */ +/* $NetBSD: uba_common.h,v 1.6 2008/11/19 15:39:10 hans Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. * All rights reserved. @@ -65,19 +65,19 @@ struct uba_vsoftc { * DW780/DW750 hardware registers */ struct uba_regs { - int uba_cnfgr; /* configuration register */ - int uba_cr; /* control register */ - int uba_sr; /* status register */ - int uba_dcr; /* diagnostic control register */ - int uba_fmer; /* failed map entry register */ - int uba_fubar; /* failed UNIBUS address register */ - int pad1[2]; - int uba_brsvr[4]; - int uba_brrvr[4]; /* receive vector registers */ - int uba_dpr[16]; /* buffered data path register */ - int pad2[480]; - struct pte uba_map[UBAPAGES]; /* unibus map register */ - int pad3[UBAIOPAGES]; /* no maps for device address space */ + volatile int uba_cnfgr; /* configuration register */ + volatile int uba_cr; /* control register */ + volatile int uba_sr; /* status register */ + volatile int uba_dcr; /* diagnostic control register */ + volatile int uba_fmer; /* failed map entry register */ + volatile int uba_fubar; /* failed UNIBUS address register */ + int pad1[2]; + volatile int uba_brsvr[4]; + volatile int uba_brrvr[4]; /* receive vector registers */ + volatile int uba_dpr[16]; /* buffered data path register */ + int pad2[480]; + struct pte uba_map[UBAPAGES]; /* unibus map register */ + int pad3[UBAIOPAGES]; /* no maps for device address space */ }; void uba_dma_init(struct uba_vsoftc *); |
