Age | Commit message (Collapse) | Author |
|
probe every address and have bge_miibus_read fail at the wrong address.
needed to support recent chips which have phys in locations other than
phy address 1 (and removes a conditional in an io path).
|
|
Only the BCM5700-BCM5704 adapters had TBI interfaces for fibre
and anyting newer uses the MII interface.
From Brad.
|
|
as they're FastE chipsets. So ifconfig media doesn't list
GigE for FastE-only capable PHY.
From Brad.
|
|
to the public; from broadcom/linux via brad
|
|
actual id.
ok kettenis@
|
|
|
|
ok claudio krw
|
|
detaching from the bus on some of the machines.
tested by many, ok miod@
|
|
auto-negotiation results in half-duplex operation, excess collision
on the ethernet link may cause internal chip delays that may result
in subsequent valid frames being dropped due to insufficient
receive buffer resources. The workaround is to choose de-pipeline
method as a flow control decision for SDI. De-pipeline method
allows only 1 data in TxMbuf at a time such that a request to RDMA
from SDI is made only when TxMbuf is empty.
From FreeBSD; ok miod@; ok kettenis@
|
|
take all interfaces down, via their xxstop routines. Claudio and I have
verified that none of the shutdown hooks do much extra beyond what xxstop
was already doing; it is largely a pile of junk.
ok claudio, some early comments by sthen; also read by matthew, jsg
|
|
traversal code to suspend/resume
ok oga kettenis blambert
|
|
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations
to get ready.
Discussed quite a while back with kettenis and jakemsr, oga suddenly needed
it as well and wrote half of it, so it was time to finish it.
proofread by miod.
|
|
|
|
Instead of fixing it, make it call the activate function which does
the full job
ok kettenis
|
|
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
|
|
is perfectly capable to get things going again all by itself.
ok deraadt@
|
|
|
|
ok deraadt@
|
|
- Disable initiation of multiple DMA reads for BCM5717 chipset
to workaround errata.
- Performance tweak for BCM5785 chipset.
- Correct the return ring count used for BCM5717 / BCM57765 chipsets.
- Fix fiber media detection for BCM5717 chipsets as they use a MII-based
fiber PHY.
From Brad, based on info gleaned from the Linux tg3 driver.
Should only affect the new chipsets, but tested for regressions
anyway (on BCM5701, BCM5703, BCM5704C, BCM5705M Alt, BCM5722, BCM5751,
BCM5751M, BCM5780) by Brad, weerd@, myself and Denis Doroshenko.
|
|
that could be PCI-X. This bit is not valid for PCIe controllers.
From Brad
|
|
set IFF_OACTIVE and try again later. Previously bge(4) reserved 16 send
BDs after loading DMA maps but the hardware only requires one reserved
send BD.
From FreeBSD, via Brad
|
|
loop iteration as it can be updated by the card while we process
the RX ring, forcing us to process RX descriptors for which DMA
synchronisation has not been performed. This fixes a bug where
bge(4) will drop packets packets under heavy load.
Adapted from FreeBSD by Brad.
|
|
BCM577xx chipsets. From Brad.
|
|
- add BCM5724 chipset
from Linux driver via Brad.
- sort by device-id
|
|
the MAC in bge_tick(). Previously this would result in bge(4) claiming
a greater number of input errors than what has actually occurred.
From FreeBSD via Brad
|
|
ok deraadt@, pirofti@, claudio@
|
|
an if statement) in the last commit. From Brad.
|
|
Based on info gleaned from the Linux tg3 driver. From Brad, ok naddy@
|
|
indicate so in the text strings. From Brad.
|
|
commit to the Linux driver via Brad.
|
|
PCI ids from the Linux tg3 driver via Brad.
|
|
ok dlg@
|
|
reducing the amount of splnet/splx dancing required.. especially in the
worst case (of m_cldrop)
ok dlg kettenis damien
|
|
|
|
his BCM5703 A2 to this commit.
Original commit message was: "Set the DMA read watermark to 4 on the
BCM5703 chipset in PCI-X mode. This is needed to prevent some TX
timeouts. From Brad. Tested by myself on BCM5703 B0 on PCI-X 64/66".
|
|
But also use the flag where it makes sense. From Brad; ok sthen@
|
|
|
|
bug which causes data corruption in combination with certain
bridges. Tested on BCM5701 B5 (0x105).
From FreeBSD via Brad. http://www.freebsd.org/cgi/query-pr.cgi?pr=128833
|
|
This is needed to prevent some TX timeouts. From Brad. Tested by myself
on BCM5703 B0 on PCI-X 64/66
|
|
adjusted from a diff from chl@; ok naddy, Brad agrees.
|
|
OK miod
|
|
from Brad
|
|
set at attach; from Brad
|
|
|
|
cosmetic tweaking; from Brad
|
|
gleaned from the Linux tg3 driver; from Brad
|
|
|
|
things a bit a and helps with adding support for more newer chipsets
with the same common features.
From the Linux tg3 driver."
From Brad; binaries are not identical; the if statement is changed
slightly, but no functional change. Looks fine to naddy@.
|
|
Enable for IP/UDP/TCP receipt and IP transmit.
Keep disabled for UDP/TCP transmit because it breaks with pf(4) rdr.
ok sthen@
|
|
from Brad; testing by phessler, naddy, myself and others on a range
of older and newer devices. ok dlg@.
|