Age | Commit message (Collapse) | Author |
|
(Look ma, I might have broken the tree)
|
|
- use the new queue macros.
- use IFQ_POLL() to peek at the next packet.
- use IFQ_IS_EMPTY() for empty check.
- drivers should always check if (m == NULL) after IFQ_DEQUEUE(),
since it could return NULL even when IFQ_IS_EMPTY() is FALSE
under rate-limiting.
- drivers are supposed to call if_start from tx complete interrupts
(in order to trigger the next dequeue under rate-limiting).
|
|
|
|
|
|
|
|
also utilize port commands (if provided by the md backend);
prefix macros w/ IE_;
build control structures here, providing sysbus byte in the softc.
|
|
|