Re:PCI Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for you reply.

For people reading this latter, actual calls are

pci_find_device()?
pci_find_subsys()?

--- Greg KH <greg@kroah.com> wrote:
> 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

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux