i am writting a sort of generic pci driver.
my problem is that i have netdevice structure of a pci network card. i want
to obtain card's pci_dev structure in a kernel module. i could not find any
common field between these structures.only common member is irq which is of
no use as it can be used by more than one device.