Блог пользователя Maksim

Ethernet Driver

Using Essential Linux Device Drivers book and some documents(including manual) ,I try to get sorted e1000 Gigabit ethernet driver . The book has some simplified example of NIC card driver ,using PCI bus. It helped me a lot to figure out the DMA descriptors(format is gotten from datasheet) are mapped coherently(ring or queue of descriptors) and data buffers (skb->dta) mapped using streaming DMA. But some points are still confusing. If somebody is familiar with the matter I would be delighted to discuss the issue.