From 5e49e1c0c2bfe5d28aa650048ddc50c35e0ca9fd Mon Sep 17 00:00:00 2001 From: daichi Date: Wed, 20 Aug 2003 06:33:23 +0000 Subject: update audio/aureal-kmod: broken by busdma commit PR: 55513 Submitted by: James E. Flemer --- audio/aureal-kmod/Makefile | 2 +- audio/aureal-kmod/files/patch-au88x0.c | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/aureal-kmod/Makefile b/audio/aureal-kmod/Makefile index 71fbb701d7e8..40f01fd63331 100644 --- a/audio/aureal-kmod/Makefile +++ b/audio/aureal-kmod/Makefile @@ -7,7 +7,7 @@ PORTNAME= aureal-kmod PORTVERSION= 1.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://home.columbus.rr.com/amatey/au88x0/ DISTNAME= au88x0-${PORTVERSION}_${PORTREVISION} diff --git a/audio/aureal-kmod/files/patch-au88x0.c b/audio/aureal-kmod/files/patch-au88x0.c index 4612ffc0c489..1b64f382b9bb 100644 --- a/audio/aureal-kmod/files/patch-au88x0.c +++ b/audio/aureal-kmod/files/patch-au88x0.c @@ -13,3 +13,16 @@ $FreeBSD$ #include #include +@@ -852,7 +853,11 @@ + /*highaddr*/BUS_SPACE_MAXADDR, + /*filter*/NULL, /*filterarg*/NULL, + /*maxsize*/AU_BUFFSIZE, /*nsegments*/1, /*maxsegz*/0x3ffff, +- /*flags*/0, &au->parent_dmat) != 0) { ++ /*flags*/0, ++#if __FreeBSD_version > 501102 ++ /*lockfunc*/NULL, /*lockarg*/NULL, ++#endif ++ &au->parent_dmat) != 0) { + device_printf(dev, "unable to create dma tag\n"); + goto bad; + } -- cgit