driver design question
From: Derek Pitcher (derekpitcher_at_yahoo.com)
Date: 07/28/04
- Next message: Michael Kerrisk: "Re: collect process IO stats (linux newbie)"
- Previous message: Måns Rullgård: "Re: glibc compilation woes"
- Next in thread: Tuukka Toivonen: "Re: driver design question"
- Reply: Tuukka Toivonen: "Re: driver design question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Jul 2004 19:35:36 -0700
I need to implement a simple driver for interfacing with another
device over PCI. I am envisioning a packet-based design whereby the
cpu will write a packet into a memory block, and notify the receipient
when done. The receive direction works similarly, the device will dump
data into memory, and interrupt when complete.
In looking through docs, it seems that the best paradigm with this
design is to use a network device driver, since the device asks to
transfer packets into the kernel.
If this is the case, then I don't need all of the overhead associated
with an ethernet driver, since this is a simple proprietary protocol.
All that I'm envisioning is that the driver simply needs to transfer
packets from the device -> kernel -> receiving user.
Is there some minimal network driver which doesn't require the
overhead of ehternet/ip etc (essentially a raw driver), or is there a
better driver
design paradigm to use.
TIA,
Derek
- Next message: Michael Kerrisk: "Re: collect process IO stats (linux newbie)"
- Previous message: Måns Rullgård: "Re: glibc compilation woes"
- Next in thread: Tuukka Toivonen: "Re: driver design question"
- Reply: Tuukka Toivonen: "Re: driver design question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|