From: John Weber <weber@nyc.rr.com>
To: linux-kernel@vger.kernel.org
Subject: Linux 2.5.4 Sound Driver Problem
Date: Mon, 11 Feb 2002 12:27:37 -0500 [thread overview]
Message-ID: <3C67FF09.7010900@nyc.rr.com> (raw)
I am using the YMFPCI driver on a Toshiba Tecra 8100.
The sound_alloc_dmap() function in dmabuf.c must be changed from using
__get_free_pages() and virt_to_bus() -> pci_alloc_consistent().
This looked like an easy thing to do, but the only parameter to
sound_alloc_dmap() is of type struct dma_buffparms -- whose definition I
couldn't even find -- and pci_alloc_consistent() expects a struct
pci_dev as a parameter. I read the driver-model.txt file in the
Documentation in the hopes of finding some magic __get_pci_dev_by_id(int
dev) function, but things are never that easy :).
I tried asking about this in kernelnewbies, but got no response. Anyone
here want to give me a nudge in the right direction?
next reply other threads:[~2002-02-11 17:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-11 17:27 John Weber [this message]
[not found] <mailman.1013448601.14957.linux-kernel2news@redhat.com>
2002-02-11 17:46 ` Linux 2.5.4 Sound Driver Problem Pete Zaitcev
2002-02-11 18:12 ` Alan Cox
2002-02-11 18:13 ` John Weber
2002-02-11 18:27 ` Pete Zaitcev
2002-02-11 18:48 ` John Weber
[not found] ` <3C6816EC.2040406@nyc.rr.com>
2002-02-11 19:21 ` Pete Zaitcev
[not found] <fa.c0t1afv.1f02hrj@ifi.uio.no>
[not found] ` <fa.jvah72v.1h34cqd@ifi.uio.no>
2002-02-11 19:58 ` John Weber
2002-02-11 20:42 ` John Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C67FF09.7010900@nyc.rr.com \
--to=weber@nyc.rr.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.