Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 04-05-2013, 07:36 PM   #1
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 178

Rep: Reputation: 28
How can I retrieve pci domain from struct pci_dev in pci driver probe?

Is there a way I can determine the pci domain from the struct pci_dev passed into a pci driver's probe function?

I can figure out the pci device's bus number via pdev->bus->number, but I cannot figure out how to determine the pci domain number from within the pci driver's probe function.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux PCI driver problem: probe function not called nedsana Linux - Kernel 2 10-26-2012 03:14 PM
Where is a PCI module's Probe function called? jbreaka4lyfe Linux - General 2 05-18-2010 04:07 AM
who will call the probe function of the pci driver in x86 processor joslyn Linux - Software 0 05-17-2010 08:24 AM
PCI Hardware Probe - Hangs stlyz3 Linux - Hardware 2 12-26-2007 07:45 AM
boot halts @ pci probe mandrakemikael Linux - Laptop and Netbook 1 01-03-2005 03:02 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration