Age | Commit message (Collapse) | Author |
|
All callers actually took all arguments to pci_intr_map from pci_attach_args
structs, so this simplifies code.
This also allows more complicated interrupt assignment schemes like the one
on sparc64.
This makes sparc64 pci interrupts work.
Inspired by the same change in NetBSD.
|
|
|
|
- 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).
|
|
|
|
okay art@ miod@
|
|
|
|
|
|
|
|
|
|
merge with freebsd:
use dev/mii layer
do a more full reset in wb_reset()
|
|
remove %d/wb_unit in favor of %s/sc_dev.dv_xname
From aaron@:
uncomment and use splimp() (and fix case where splx would be missed)
correct check for mem mapped mode
|
|
o partial merge with freebsd, alpha support (currently untested)
|
|
|