Network Device Driver development question



Hello,
I am new to embedded network device driver development. We are
developing a device driver for a network chipset and the
microcontroller is M16C based from Renesas. I have seen that most of
the device drivers use ring buffers. What are the benefits of using a
ring buffer. The chipset that we are working on has 14kb TXFIFO and
14kb RXFIFO. Would I have to use ring buffer in addition to these
FIFO's?. I am also keen on achieving the best performance with the
chipset. The chipset supports both DMA and PIO I/O modes. which mode
would be best?. The M16C microcontroller runs microItron based OS and
also has a TCP/IP stack. I would like to know from the guru's here what
standard guidelines I would have to follow for developing a network
device driver for embedded systems?

Thank you very much for your help!

.



Relevant Pages

  • Re: [PATCH] This is the security processor driver for the Intel mid platform
    ... This device driver is used by userspace applications to use the hardware based ... heard of the chipset can get at least a clue how it's supposed to work. ... Especially for a 'Security Processor' - it's a *lot* easier to do a code ... review knowing what the threat model is. ...
    (Linux-Kernel)
  • Re: workaround large MTU and N-order allocation failures
    ... > If the issue hits the Rx path, it is probably the responsibility of ... > the device driver. ... revision of the chipset is 82546GB-copper. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Support for Intel 915GM 910GML Chipset Family
    ... I have tried installing Debian 3.1r2 on my laptop. ... it is Intel 915GM/GMS 910GML Express Chipset Family. ... you don't have to reinstall debian to change the device driver in xorg - dpkg-reconfigure xserver-xorg should be fine. ...
    (Debian-User)
  • Re: Why is my recording so distorted?
    ... Allright, the errors in this one are not as severe as what I got last night, but there's quite a number of them--fuzzy skips and blips, beginning sometime after the first several seconds. ... This can happen if the system is under heavy load, but it's more likely to be the device driver. ... Chipset issues can also cause this.. ... although it is lessened by increasing the latency (and thus the buffer size). ...
    (rec.games.computer.ultima.dragons)