LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-05-2013, 06:36 PM   #1
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 162

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.
 
  


Reply


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 02:14 PM
Where is a PCI module's Probe function called? jbreaka4lyfe Linux - General 2 05-18-2010 03:07 AM
who will call the probe function of the pci driver in x86 processor joslyn Linux - Software 0 05-17-2010 07:24 AM
PCI Hardware Probe - Hangs stlyz3 Linux - Hardware 2 12-26-2007 06:45 AM
boot halts @ pci probe mandrakemikael Linux - Laptop and Netbook 1 01-03-2005 02:02 AM


All times are GMT -5. The time now is 07:57 AM.

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