>> hi all, >> given struct netdevice for any pci network device, is there any way to get >> corresponding >> "struct pci_dev". > No. Not directly, but pci_dev knows about netdevice, so you can scan the pci_dev's to find a match with the required netdevice. (Or do a similar match search on base_addr) Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- getting "struct pci_dev" from "struct netdev... aprasad
- Re: getting "struct pci_dev" from "stru... Vojtech Pavlik
- Re: getting "struct pci_dev" from "stru... Phillips, Mike
- Re: getting "struct pci_dev" from "... Jeff Garzik
- Re: getting "struct pci_dev" from "... Alan Cox
- RE: getting "struct pci_dev" from "stru... Phillips, Mike
- Re: getting "struct pci_dev" from "... Jeff Garzik
- RE: getting "struct pci_dev" from "stru... Phillips, Mike
- Re: getting "struct pci_dev" from "stru... aprasad
- Re: getting "struct pci_dev" from "... Vojtech Pavlik
- Re: getting "struct pci_dev" from "... Alan Cox