[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PCI Question
On Wed, Oct 08, 2003 at 07:27:53AM -0700, Usman S. Ansari wrote:
> I have a PCI device in the system called A, with device driver already
> loaded and working. I need to access its config space for reading and
> writing from another driver. How can I get pointer to device A's
> struct pci_dev ?
pci_get_device()?
pci_get_subsys()?
greg k-h
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/