Age | Commit message (Collapse) | Author |
|
(Look ma, I might have broken the tree)
|
|
problems people have been reporting of this nature with the SiS network
devices found on some motherboards; fixes pr#2085. Patch by peter@, jason@ ok
Also, some space vs tab fixes while we're here.
|
|
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).
|
|
|
|
|
|
some motherboards; from FreeBSD.
|
|
integrated Ethernet controller on the SiS630E-based chipsets; from FreeBSD,
this patch mostly by jason@. With these changes, my SiS900 card still works
fine, but the new functionality is actually untested.
|
|
|
|
use LIST_FOREACH construct instead of homebrew loop
|
|
|
|
|
|
- Modify to poll link state and positively set MAC's duplex as needed.
- Program some DP83815 registers that are recommended for optimum performance.
- Select the TX DMA burst size correctly for 10 and 100Mbps modes, especially
improving the performance of the DP83815 at 10Mbps.
|
|
|
|
This chip is currently being used on the NetGear FA312-TX adapter, which is
presumably a replacement for the PNIC-based FA310-TX. From FreeBSD.
|
|
|
|
|
|
|