public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 2.5.4 Sound Driver Problem
@ 2002-02-11 17:27 John Weber
  0 siblings, 0 replies; 9+ messages in thread
From: John Weber @ 2002-02-11 17:27 UTC (permalink / raw)
  To: linux-kernel

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?


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.1013448601.14957.linux-kernel2news@redhat.com>]
[parent not found: <fa.c0t1afv.1f02hrj@ifi.uio.no>]

end of thread, other threads:[~2002-02-11 20:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-11 17:27 Linux 2.5.4 Sound Driver Problem John Weber
     [not found] <mailman.1013448601.14957.linux-kernel2news@redhat.com>
2002-02-11 17:46 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox