From pci to ethernet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.... I want to find an ethernet interface to a given
system initialize it and work with it.

Up to now... I have used the pci_find_class and i have
succesfully allocate an ethernet device...

Now i do not know what are the remaining steps so i
can use it as an ethernet device.
The rubini's book says to use pci_enable_device but it
fails returing -EIO. I have noticed that inside pci.h
the pci_enable_device always returns -EIO. Why?

What should i do for enabling correctly the interface?

Finally i am curious about irqs and other capabilities
that i must search find in myh interface... How should
i locate them? 
Thx a lot... and have merry christmas

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux