Age | Commit message (Collapse) | Author |
|
(Look ma, I might have broken the tree)
|
|
idea from deraadt@ via NetBSD
millert@ ok
|
|
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).
|
|
|
|
put a size limitation of the PCI region to map. That makes the PERC 3/Di
raid controller usable, as it publishes too much PCI memory for us to map
in the kernel virtual memory. As we only access the first 256 byte it is
of no use to map 128MB of kvm.
|
|
|
|
more portable between fbsd and obsd
real mii support
prefer memory mapped registers (if configuration supports it)
|
|
|
|
(dadams@sleethal.com), but local changes preserved and ifmedia ioctls
fixed; deraadt/aaron ok
|
|
|
|
o make sure busmaster/io/mem bits are set appropriately
o make sure the card powers up correctly
|
|
|
|
comment out some debugging code, rcsid changes
|
|
o put media types in a structure for ifmedia adding
o make sure ifp->if_snd.ifq_maxlen is initialized
o add workaround for app note 7-15
o more checks for IFF_UP
o use DELAY() instead of counters
|
|
Merge with FreeBSD: longer delay when accessing mii, type fixups
|
|
has moved to ether_input()
|
|
|
|
o Cleaned up ifmedia support
o Improved ring & mbuf handling
|
|
This is the chip found on the SMC EtherPower II 10/100 boards.
|