2 Sep 2002 13:32
My MTD driver
<Peter.Bex <at> student.kun.nl>
2002-09-02 11:32:43 GMT
2002-09-02 11:32:43 GMT
Hello all, I'm a complete newbie in kernel hacking, but since my networking card (MTD 803) isn't supported by NetBSD I decided to create my own driver. I actually got quite far with the datasheet and of course the NetBSD source for other drivers, but now I've stumbled across a few problems that keep me from getting the driver finished. Could someone please post (a link to an) explanation of how mbufs work, because I'm completely mystified by what the other drivers are doing here. And how does bus_dmamem/bus_dmamap stuff work? I have downloaded a paper by Jason R. Thorpe, which explains how this should be implemented, but I still don't really grasp how I should use them. Also, on a side note: I noticed that some drivers do a lot of things in code, for which there are generic functions. For example, some drivers calculate the CRC32 hash, but there's also a ether_crc32_?e function which does exactly that (for example, sys/dev/ic/hme.c). Can this be considered a bug? Regards, Peter Bex
I have a long term goal of seeing a merged (or at least mostly common)
{Net,Free,Open}BSD 802.11 stack, similar to some of the items in
onoe-san's list. It would be good to have a common infrastructure
that we can all leverage. It would also be cool to have an effective
daemon that could do more complex things than the standard says
(filtering based on MAC address, doing different types of packet level
encryption, 802.1x, and other experimental things).
It would also be good to have a common interface to set the output
power of the cards (for those that support this). Maybe there's
enough interest to have a specific list on this.
Warner
RSS Feed