summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/csa.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-12-04 10:06:06 +0000
committerru <ru@FreeBSD.org>2005-12-04 10:06:06 +0000
commit798500dfd84901b8d5d22e9a99c47e96fe8b9ec5 (patch)
treeacd04a6feb972f86071cbebb5420c10b69d82de9 /sys/dev/sound/pci/csa.c
parent1c586a3c0b58f2748ced33998d3565a41faee657 (diff)
downloadFreeBSD-src-798500dfd84901b8d5d22e9a99c47e96fe8b9ec5.zip
FreeBSD-src-798500dfd84901b8d5d22e9a99c47e96fe8b9ec5.tar.gz
Fix -Wundef from compiling the amd64 LINT.
Diffstat (limited to 'sys/dev/sound/pci/csa.c')
-rw-r--r--sys/dev/sound/pci/csa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sound/pci/csa.c b/sys/dev/sound/pci/csa.c
index 3142753..1e38295 100644
--- a/sys/dev/sound/pci/csa.c
+++ b/sys/dev/sound/pci/csa.c
@@ -644,7 +644,7 @@ csa_initialize(sc_p scp)
/*
* Set the serial port FIFO pointer to the first sample in the FIFO.
*/
-#if notdef
+#ifdef notdef
csa_writeio(resp, BA0_SERBSP, 0);
#endif /* notdef */
@@ -698,7 +698,7 @@ csa_initialize(sc_p scp)
* First, lets wait a short while to let things settle out a bit,
* and to prevent retrying the read too quickly.
*/
-#if notdef
+#ifdef notdef
DELAY(10000000L); /* clw */
#else
DELAY(1000);
@@ -728,7 +728,7 @@ csa_initialize(sc_p scp)
* Power down the DAC and ADC. We will power them up (if) when we need
* them.
*/
-#if notdef
+#ifdef notdef
csa_writeio(resp, BA0_AC97_POWERDOWN, 0x300);
#endif /* notdef */
@@ -736,7 +736,7 @@ csa_initialize(sc_p scp)
* Turn off the Processor by turning off the software clock enable flag in
* the clock control register.
*/
-#if notdef
+#ifdef notdef
clkcr1 = csa_readio(resp, BA0_CLKCR1) & ~CLKCR1_SWCE;
csa_writeio(resp, BA0_CLKCR1, clkcr1);
#endif /* notdef */
OpenPOWER on IntegriCloud