From 398b5d0b8ded4cd6d510cba6ff794d380854efbe Mon Sep 17 00:00:00 2001 From: Francois Tigeot Date: Sun, 6 Mar 2011 09:44:24 +0100 Subject: [PATCH] Fix a compilation error on x86_64. bus_dma_tag_create() expects a bus_addr_t parameter for its lowaddr argument. --- sys/dev/sound/pci/hda/hdac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index ae48ca5..6defdb2 100644 --- a/sys/dev/sound/pci/hda/hdac.c +++ b/sys/dev/sound/pci/hda/hdac.c @@ -1408,7 +1408,7 @@ hdac_dma_alloc(struct hdac_softc *sc, struct hdac_dma *dma, bus_size_t size) { bus_size_t roundsz; int result; - int lowaddr; + bus_addr_t lowaddr; roundsz = roundup2(size, HDAC_DMA_ALIGNMENT); lowaddr = (sc->support_64bit) ? BUS_SPACE_MAXADDR : -- 1.7.3.4