summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/cs4280.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/cs4280.c b/sys/dev/pci/cs4280.c
index 86476b4311a..6413b8ca64a 100644
--- a/sys/dev/pci/cs4280.c
+++ b/sys/dev/pci/cs4280.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4280.c,v 1.7 2001/03/14 12:15:11 mickey Exp $ */
+/* $OpenBSD: cs4280.c,v 1.8 2001/05/02 21:13:37 marc Exp $ */
/* $NetBSD: cs4280.c,v 1.5 2000/06/26 04:56:23 simonb Exp $ */
/*
@@ -1802,7 +1802,7 @@ cs4280_power(why, v)
for(i = 1; i <= CS4280_SAVE_REG_MAX; i++) {
if(i == 0x04) /* AC97_REG_MASTER_TONE */
continue;
- cs4280_read_codec(sc, 2*i, &sc->ac97_reg[i>>1]);
+ cs4280_read_codec(sc, 2*i, &sc->ac97_reg[i]);
}
/* should I powerdown here ? */
cs4280_write_codec(sc, AC97_REG_POWER, CS4280_POWER_DOWN_ALL);
@@ -1820,7 +1820,7 @@ cs4280_power(why, v)
for(i = 1; i <= CS4280_SAVE_REG_MAX; i++) {
if(i == 0x04) /* AC97_REG_MASTER_TONE */
continue;
- cs4280_write_codec(sc, 2*i, sc->ac97_reg[i>>1]);
+ cs4280_write_codec(sc, 2*i, sc->ac97_reg[i]);
}
}
}