summaryrefslogtreecommitdiff
path: root/audio/aureal-kmod
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-08-20 06:33:23 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-08-20 06:33:23 +0000
commit5a5ecaddfb6ab5c31f300157601c4f5f5dd53278 (patch)
treee9b89c09923272e1f3a82fdd22b2f3140b94a5ae /audio/aureal-kmod
parentupdate java/jmp: 0.32 -> 0.33 (diff)
update audio/aureal-kmod: broken by busdma commit
PR: 55513 Submitted by: James E. Flemer <jflemer@alum.rpi.edu>
Notes
Notes: svn path=/head/; revision=87329
Diffstat (limited to 'audio/aureal-kmod')
-rw-r--r--audio/aureal-kmod/Makefile2
-rw-r--r--audio/aureal-kmod/files/patch-au88x0.c13
2 files changed, 14 insertions, 1 deletions
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 <pci/pcireg.h>
#include <pci/pcivar.h>
+@@ -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;
+ }