update audio/aureal-kmod: broken by busdma commit
PR: 55513 Submitted by: James E. Flemer <jflemer@alum.rpi.edu>
This commit is contained in:
parent
af4d4feb60
commit
5a5ecaddfb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87329
2 changed files with 14 additions and 1 deletions
|
@ -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}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue