Support for the Ethernet-Audio device
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 4 Dec 2010 00:52:52 +0000 (16:52 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:57 +0000 (17:35 -0700)
commit90426284d757f9c0baf42add976b00a0296790b2
tree4b9f8c4699e399ab6f8528c517ad33363a4c0031
parent0fdf87d9f94f62b17724ea095d9ed0ef54ccd122
Support for the Ethernet-Audio device

Turn on support in your Makelocal.  Right now, the kernel copies
whatever it gets into a file (in /dev) that a program (like
test/eth_audio.c) can mmap.  When a packet comes in, the old buffer gets
sent back (including on the first time through).

Also adds some networking infrastructure (checksums, #defines), and the
eth_aud packets are intercepted (in a ghetto manner) from both the e1000
and the rl8186 NICs.
14 files changed:
Makeconfig
Makelocal.template
kern/arch/i686/e1000.c
kern/arch/i686/ne2k.c
kern/arch/i686/nic_common.h
kern/arch/i686/rl8168.c
kern/include/devfs.h
kern/include/eth_audio.h [new file with mode: 0644]
kern/include/net.h
kern/src/Makefrag
kern/src/eth_audio.c [new file with mode: 0644]
kern/src/init.c
kern/src/net.c [new file with mode: 0644]
tests/eth_audio.c [new file with mode: 0644]