summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-06-14 07:34:21 +0000
committermav <mav@FreeBSD.org>2009-06-14 07:34:21 +0000
commit553f130d1547c2cb0f4c21f9a85b94de66110de0 (patch)
treeeec82d640359ebd7947989fc1c786fea3ea34bbd
parenta0abfd36a18773caffd6fd0bc900eb94a0cbc385 (diff)
downloadFreeBSD-src-553f130d1547c2cb0f4c21f9a85b94de66110de0.zip
FreeBSD-src-553f130d1547c2cb0f4c21f9a85b94de66110de0.tar.gz
Fix type of lowaddr variable.
-rw-r--r--sys/dev/sound/pci/hda/hdac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index 6e2bec7..f18011d 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -87,7 +87,7 @@
#include "mixer_if.h"
-#define HDA_DRV_TEST_REV "20090608_0134"
+#define HDA_DRV_TEST_REV "20090614_0135"
SND_DECLARE_FILE("$FreeBSD$");
@@ -1593,9 +1593,9 @@ hdac_dma_cb(void *callback_arg, bus_dma_segment_t *segs, int nseg, int error)
static int
hdac_dma_alloc(struct hdac_softc *sc, struct hdac_dma *dma, bus_size_t size)
{
+ bus_addr_t lowaddr;
bus_size_t roundsz;
int result;
- int lowaddr;
roundsz = roundup2(size, HDAC_DMA_ALIGNMENT);
lowaddr = (sc->support_64bit) ? BUS_SPACE_MAXADDR :
OpenPOWER on IntegriCloud