Bug 55513 - audio/aureal-kmod broken by busdma commit
Summary: audio/aureal-kmod broken by busdma commit
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-13 00:30 UTC by jflemer
Modified: 2003-08-20 07:33 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (713 bytes, patch)
2003-08-13 00:30 UTC, jflemer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jflemer 2003-08-13 00:30:17 UTC
	The "Mega busdma API commit" by Scott Long (scottl) on Jul 1 2003
	broke the aureal-kmod port since the port uses busdma.

	Also note that Dag-Erling Sm<F8>rgrav (des) broke this port by
	adding an unfinished Aureal driver to the source tree on
	Jun 1 2003.  I'm not sure what approach the should be taken to
	get around this (I renamed the conflicting files added by des.)

Fix: To fix the busdma problem, replace the port's existing
	files/patch-au88x0.c with the file below.  The
	__FreeBSD_version was bumped for the busdma API change, so the
	patch below should be backwards compatible.

	To fix the problem caused by des adding /sys/dev/sound/pci/au88x0.[ch]
	rename or delete these two files.  As mentioned above, I do not
	know how this should be handled by the port, since it should not
	be messing with /usr/src.

--- files/patch-au88x0.c begins here ---
How-To-Repeat: 	Build the port with -current sources later than Jul 1 2003.
	...
/usr/ports/audio/aureal-kmod/work/au88x0.c: In function `au_pci_attach':
/usr/ports/audio/aureal-kmod/work/au88x0.c:856: warning: passing arg 12 of `bus_dma_tag_create' from incompatible pointer type
/usr/ports/audio/aureal-kmod/work/au88x0.c:856: error: too few arguments to function `bus_dma_tag_create'
Comment 1 Daichi GOTO freebsd_committer freebsd_triage 2003-08-20 07:33:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!