lkml.org 
[lkml]   [2002]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.5.4, cs46xx snd, and virt_to_bus
Date
From
> address and a physical address (via dma_addr_t), so it should be simple 
> to change the code to use this function. However, I don't know where
> the hell I'm supposed to find pci_dev -- I'll try rereading the
> driver-model.txt code again :).

For ISA devices pass NULL. For the PCI devices you get it when you do the
initial PCI probing. So for the cs46xx you'll see its passed to cs46xx_probe()
and saved in card->pci_dev for future use. So you can get it from there.

If you are going to hack on cs46xx.c please pick up the one from 2.4.18pre9
and use that not the one in 2.5 , unless someone also updated that to
match the 2.4 changes. The one in 2.5 seems to still have holes where any
user can oops the system that will get fixed by porting forward the current
driver

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.043 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site