Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Fixed compiling error when AUDIO_DEBUG was switc...
details: https://anonhg.NetBSD.org/src/rev/07a329e9cded
branches: trunk
changeset: 514468:07a329e9cded
user: reinoud <reinoud%NetBSD.org@localhost>
date: Mon Sep 03 15:07:37 2001 +0000
description:
Fixed compiling error when AUDIO_DEBUG was switched on ...
diffstat:
sys/dev/pci/eap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8d238a40899e -r 07a329e9cded sys/dev/pci/eap.c
--- a/sys/dev/pci/eap.c Mon Sep 03 15:04:39 2001 +0000
+++ b/sys/dev/pci/eap.c Mon Sep 03 15:07:37 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: eap.c,v 1.45 2001/04/24 21:03:33 mycroft Exp $ */
+/* $NetBSD: eap.c,v 1.46 2001/09/03 15:07:37 reinoud Exp $ */
/* $OpenBSD: eap.c,v 1.6 1999/10/05 19:24:42 csapuntz Exp $ */
/*
@@ -1113,7 +1113,7 @@
DPRINTF(("eap_trigger_output: DAC2_ADDR=0x%x, DAC2_SIZE=0x%x\n",
(int)DMAADDR(p),
- EAP_SET_SIZE(0, (((char *)end - (char *)start) >> 2) - 1)));
+ (int)EAP_SET_SIZE(0, (((char *)end - (char *)start) >> 2) - 1)));
EWRITE4(sc, EAP_MEMPAGE, EAP_DAC_PAGE);
EWRITE4(sc, EAP_DAC2_ADDR, DMAADDR(p));
EWRITE4(sc, EAP_DAC2_SIZE,
@@ -1181,7 +1181,7 @@
DPRINTF(("eap_trigger_input: ADC_ADDR=0x%x, ADC_SIZE=0x%x\n",
(int)DMAADDR(p),
- EAP_SET_SIZE(0, (((char *)end - (char *)start) >> 2) - 1)));
+ (int)EAP_SET_SIZE(0, (((char *)end - (char *)start) >> 2) - 1)));
EWRITE4(sc, EAP_MEMPAGE, EAP_ADC_PAGE);
EWRITE4(sc, EAP_ADC_ADDR, DMAADDR(p));
EWRITE4(sc, EAP_ADC_SIZE,
Home |
Main Index |
Thread Index |
Old Index