Hi.... I am writing a module that search for ethernet devices in the system struct pci_dev *dev,*from; from=NULL; devclass=0200; // Ethernet codepoint dev=pci_find_class(devclass,from); The problem is that the function returns me a NULL pointer but my system has an ethernet device... Any suggestion? __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/