lkml.org 
[lkml]   [2000]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: getting "struct pci_dev" from "struct netdevice"
Date
From
> i searched through pci net drivers. all the drivers are setting their
> pci_dev->driver_data field to net_device structure. this is working for
> single device being controlled by driver but i am not sure about multiple
> pci devices being controlled by same driver.

Or where it points on a driver with no pci bus, or if the pointer is valid
after you dereference it and the card is hotplugged

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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