diff options
author | mav <mav@FreeBSD.org> | 2009-06-14 07:34:21 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-06-14 07:34:21 +0000 |
commit | 553f130d1547c2cb0f4c21f9a85b94de66110de0 (patch) | |
tree | eec82d640359ebd7947989fc1c786fea3ea34bbd | |
parent | a0abfd36a18773caffd6fd0bc900eb94a0cbc385 (diff) | |
download | FreeBSD-src-553f130d1547c2cb0f4c21f9a85b94de66110de0.zip FreeBSD-src-553f130d1547c2cb0f4c21f9a85b94de66110de0.tar.gz |
Fix type of lowaddr variable.
-rw-r--r-- | sys/dev/sound/pci/hda/hdac.c | 4 |
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 : |