From 306c5afad97221c04b5e8d95df6303fca337bbb5 Mon Sep 17 00:00:00 2001 From: Alexander Polakov Date: Mon, 18 Jul 2011 15:11:44 +0400 Subject: [PATCH] 2nd one --- sys/dev/sound/pci/newhda/hdac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/sound/pci/newhda/hdac.c b/sys/dev/sound/pci/newhda/hdac.c index 8bfb5f5503..d0bd7ddac5 100644 --- a/sys/dev/sound/pci/newhda/hdac.c +++ b/sys/dev/sound/pci/newhda/hdac.c @@ -4313,7 +4313,7 @@ hdac_attach(device_t dev) goto hdac_attach_fail; result = bus_dma_tag_create( - bus_get_dma_tag(sc->dev), /* parent */ + NULL, /* parent */ HDAC_DMA_ALIGNMENT, /* alignment */ 0, /* boundary */ (sc->support_64bit) ? BUS_SPACE_MAXADDR : @@ -4325,8 +4325,6 @@ hdac_attach(device_t dev) 1, /* nsegments */ HDA_BUFSZ_MAX, /* maxsegsz */ 0, /* flags */ - NULL, /* lockfunc */ - NULL, /* lockfuncarg */ &sc->chan_dmat); /* dmat */ if (result != 0) { device_printf(dev, "%s: bus_dma_tag_create failed (%x)\n", -- 2.41.0