Date: Thu, 26 Jul 2007 02:45:26 -0700 From: "Christopher Davis" <loafier@FreeBSD.org> To: multimedia@freebsd.org Cc: "M. Warner Losh" <imp@freebsd.org> Subject: Aureal sound driver Message-ID: <c44ca55f0707260245m7205c1acx84bcffd49540cba4@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I've edited sys/dev/sound/pci/aureal.c to use bus_alloc_resources(), pci_enable_io(), etc as part of my SoC project. I changed it to allocate only one I/O port; it previously allocated about 3 I/O ports, but it seemed to only use the first one. I also added the detach method, which was missing, but there is likely a message to send to the card to shut it down properly. I don't have this card, so I'm not sure if things still work. It's in my branch if anyone's interested in testing it out: //depot/projects/soc2007/loafier_busalloc/src/sys/dev/sound/pci/aureal.c http://loafier.sixbit.org/aureal.c -- Christopher Davis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c44ca55f0707260245m7205c1acx84bcffd49540cba4>