Red Hat Kernel - pci_map_single () question

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Kernel > September 2004 > pci_map_single () question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author pci_map_single () question
Hello_guy

2004-09-16, 11:16 am

I am developing something similar to an ethernet driver . This ethernet
driver has a ring RX buffer. Now following is my question.
Can I just allocate buffer using dev_alloc_skb() and pass the BUS address
to my H/W. So that my h/w could directly DMA the packet to the BUS physical
address.

Why is it, in some driver pci_map_single function is used to map the address
again to DMA.

My MTU size is 1600. which is less than a page size . Is there any
requirement of pci_map_single ()

Any suggestion would be appreciated.
Hadi



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com