Age | Commit message (Collapse) | Author |
|
|
|
provided from FreeBSD via Gabriel Gonzalez.
jason@ ok.
|
|
|
|
|
|
|
|
physical address with a virtual address; thanks art@. Now sis(4) compiles
and works on alpha.
|
|
testing.
|
|
|
|
|
|
|
|
-Remove m_devget on non-STRICT_ALIGNMENT architectures, supposedly a 50-70%
performance increase for peak packet forwarding on the Soekris 486/133 on fbsd
-Fix a bug in the driver -- under load, the receive unit could become
idle and the driver would not detect the event, requiring userland
to cycle the interface to bring it up again.
The fix consists in adding SIS_IMR_RX_IDLE to the interrupt mask and
add a command in sis_intr() to restart the receiver when this happens.
-While at it, make the test of status bits more efficient
-Slightly simplify the code to initialize the ring buffers
-Add VLAN support (Accept Long Packets)
|
|
(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.
|
|
|
|
|
|
|