summaryrefslogtreecommitdiffstats
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-07-03 06:59:12 +0000
committeradrian <adrian@FreeBSD.org>2012-07-03 06:59:12 +0000
commit8af1316f3addf13b857f32d6b54b6a9b28e7ed63 (patch)
treeff0ba225573e65077cdf25bf631614b64355e33a /usr.bin/calendar
parente9e7df34d8f5298eb14729ca4c07cc01cd71ac35 (diff)
downloadFreeBSD-src-8af1316f3addf13b857f32d6b54b6a9b28e7ed63.zip
FreeBSD-src-8af1316f3addf13b857f32d6b54b6a9b28e7ed63.tar.gz
Begin abstracting out the RX path in preparation for RX EDMA support.
The RX EDMA support requires a modified approach to the RX descriptor handling. Specifically: * There's now two RX queues - high and low priority; * The RX queues are implemented as FIFOs; they're now an array of pointers to buffers; * .. and the RX buffer and descriptor are in the same "buffer", rather than being separate. So to that end, this commit abstracts out most of the RX related functions from the bulk of the driver. Notably, the RX DMA/buffer allocation isn't updated, primarily because I haven't yet fleshed out what it should look like. Whilst I'm here, create a set of matching but mostly unimplemented EDMA stubs. Tested: * AR9280, station mode TODO: * Thorough AP and other mode testing for non-EDMA chips; * Figure out how to allocate RX buffers suitable for RX EDMA, including correctly setting the mbuf length to compensate for the RX descriptor and completion status area.
Diffstat (limited to 'usr.bin/calendar')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud