Age | Commit message (Collapse) | Author |
|
|
|
{ether,atm,fddi}_ifattach already does this.
ok mcbride@ markus@ henning@
|
|
we supplied 10 soekris boxes to 10 openbsd developers, and these all
have some variety or other of sis ethernet. not ONE of them commented
about this diff when it was mailed out. how very sad.
|
|
- make multicast ranges work
|
|
this reduces mbuf clusters sitting around unused. from mcbride, fixed
by me, tested by frantzen
|
|
crawl under mbuf starvation, making the situationmuch worse, and don't make
sense in the first place.
ok tdeval@ millert@ beck@ deraadt@
|
|
|
|
in National Semiconductor's datasheets and linux driver, depending on the
revision. This fixes the short cable issues more reliably than the
fix from rev 1.31 (no long cable issue created), and also fixes lockups
on some chips under load. From Poul-Henning Kamp / FreeBSD
|
|
|
|
Partial re-sync with FreeBSD, from Jeorg Sonnenberger.
Tested by Jeorg, Henning@, Paul de Weerd, Otto@, and myself.
ok henning@ deraadt@
|
|
jason@ ok
|
|
A small number of DP83815's will have excessive receive
errors when using short cables (<30m/100feet) in 100Base-TX
mode. This patch was taken from the National Semiconductor
linux driver and (supposedly - no mention of this in any NS
docs) modifies the dsp's signal attenuation.
ok jason@ deraadt@ markus@
From Willem Dijkstra wpd at xs4all dot nl
|
|
|
|
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.
|
|
|
|
|
|
|