[lkml]   [2000]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: getting "struct pci_dev" from "struct netdevice"
>> hi all,
>> given struct netdevice for any pci network device, is there any way to
>> corresponding
>> "struct pci_dev".

> No.

Not directly, but pci_dev knows about netdevice, so you can scan the
to find a match with the required netdevice. (Or do a similar match search
on base_addr)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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