diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-07-18 13:38:41 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-07-18 13:38:41 +0000 |
commit | 0877d8ae029e73aa871ca80221ab5d4d5e4ae40a (patch) | |
tree | e48e650401599afe985e5ff294ecd1ae4f2d1f80 /sys/dev/isa/essreg.h | |
parent | 6acacc3943a6dc8908ac6b973f4378ee0acf3332 (diff) |
o Use mbufs, for the RX ring, instead of malloc()'ing an MCLBYTES sized buffer.
o On non-strict alignment archs, dont copy the mbuf, every time, unload it, and send
it up the stack and just get a new one for the rx ring. We still do the copy on
strict alignment archs though...
o create a function to handle mbuf allocation for the rx ring, vr_mbuf_alloc(),
use it to allocate the mbufs and shuffle the bus dma setup around.
ideas/code from vic(4) and sis(4);
ok reyk@, brad@, dlg@
tested by many, been in snapshots for a while.
Diffstat (limited to 'sys/dev/isa/essreg.h')
0 files changed, 0 insertions, 0 deletions