summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Carlsson <md1ulfc@mdstud.chalmers.se>1999-01-29 01:29:17 +0000
committerUlf Carlsson <md1ulfc@mdstud.chalmers.se>1999-01-29 01:29:17 +0000
commit22ee09f3bd26a798e8578522d9c44c75cb3969ac (patch)
tree56951ab86e053c5d35a6b38aa0dc0e0cde03c9f1
parentb2ecfa5f268a7812eace88446820f695bc8ead17 (diff)
check if this makes any difference
-rw-r--r--drivers/sgi/audio/hal2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/sgi/audio/hal2.h b/drivers/sgi/audio/hal2.h
index 3859219e6..525d3fde2 100644
--- a/drivers/sgi/audio/hal2.h
+++ b/drivers/sgi/audio/hal2.h
@@ -28,15 +28,15 @@ struct hal2_ctrl_regs {
hal_reg idr2; /* 0x60 Indirect Data Register 2 */
hal_reg _unused6[7];
hal_reg idr3; /* 0x70 Indirect Data Register 3 */
-} *h2_ctrl = (struct hal2_ctrl_regs *) KSEG1ADDR(H2_CTRL_PIO);
+} volatile *h2_ctrl = (struct hal2_ctrl_regs *) KSEG1ADDR(H2_CTRL_PIO);
struct hal2_vol_regs {
hal_reg right; /* 0x00 Right volume */
- hal_reg _unused0[2];
+ hal_reg _unused0[1];
hal_reg left; /* 0x04 Left volume */
-} *h2_vol = (struct hal2_vol_regs *) KSEG1ADDR(H2_VOLUME_PIO);
+} volatile *h2_vol = (struct hal2_vol_regs *) KSEG1ADDR(H2_VOLUME_PIO);
-/* AES and synth regs should here if we ever support them */
+/* AES and synth regs should end up here if we ever support them */
/* Indirect status register */