summaryrefslogtreecommitdiff
path: root/sys/dev/mii/brgphy.c
AgeCommit message (Collapse)Author
2006-10-22Set Jumbo frame settings for Jumbo capable bge(4) adapters.Brad Smith
Tested with BCM5700, BCM5703 and some BCM5704's.
2006-10-20remove the IFM_100_T4 switch case for the manual media code, brgphy(4)Brad Smith
does not actually support 100baseT4.
2006-10-20attach for the Broadcom BCM5755 ASIC based chipsets as well.Brad Smith
2006-10-20move the Jumbo frame settings and Ethernet@Wirespeed code into separateBrad Smith
functions. no-op change.
2006-10-19add a PHY workaround for the 5787 ASIC based chipsets.Brad Smith
Tested by Benjamin Black <ben at layer8 dot net>
2006-10-19Rearrange the code a bit, rename a few functions and make brgphy(4) useBrad Smith
the bge(4) PHY flags, to ensure errata workarounds are being applied to the PHY on the appropriate chipsets. Tested on bnx/gem/sk and a wide range of bge's.
2006-10-15fix parent driver match in brgphy_reset(), simplify code a bit as well, don'tBrad Smith
need to bring in the bnx(4) softc. Tested on bge, bnx, gem, sk ok krw@ kettenis@
2006-10-15attach to the Broadcom BCM5787 PHY.Brad Smith
Tested by Benjamin Black <ben at layer8 dot net>
2006-10-11revert rev 1.54. This causes breakage with the PHY on a 5704 A3 chipset;Brad Smith
the link comes up, there is activity with tcpdump, but it doesn't work as expected. Issue reported by kettenis. ok kettenis@
2006-10-09revert the last two changes. the changes were causing brgphy@gem to panic.Brad Smith
2006-10-08set Jumbo frame settings for Jumbo capable bge(4) adapters.Brad Smith
2006-10-08refactor the code a bit, use the bge(4) PHY flags and add anotherBrad Smith
PHY workaround from the Linux tg3 driver.
2006-10-08- g/c unused code.Brad Smith
- only call PHY_RESET if trying to set a valid media type.
2006-10-01pack several boolean fields into the existing bge_flags field.Brad Smith
2006-08-28revert flags usage commits. too close to release. will go in post release ↵Brad Smith
instead. requested by deraadt@
2006-08-27pack several boolean fields into the existing bge_flags field.Brad Smith
2006-07-23revert back to the old brgphy_mii_phy_auto() which simplifies the autoneg code.Brad Smith
2006-06-26Add support for bnx(4).Brad Smith
2006-05-20also attach to Broadcom BCM5706C and BCM5708C PHY.Brad Smith
2006-03-04Do not enable the Ethernet@WireSpeed PHY feature on 5705's and not 5750'sBrad Smith
as the comment says.
2005-12-10use the 5750 DSP code with the BCM5714 and BCM5780 too.Brad Smith
2005-12-08BCM5715 -> BCM5780Brad Smith
2005-11-25load the 5750 DSP code on the 5705 PHY too.Brad Smith
Based on Broadcom's Linux driver.
2005-11-20treat the BCM5715 like the 5714Brad Smith
2005-11-15- Addition of more DSP init code for brgphy models that come with BCM5703 andBrad Smith
BCM5703 bge(4) copper NICs. - Do not enable Ethernet@WireSpeed for 5705 chips other than A0 and A1. Derived from Linux's tg3 driver.
2005-11-06load DSP code on all 5421's for now.Brad Smith
2005-11-06re-merge old brgphy_mii_phy_auto().Brad Smith
2005-11-06add DSP init code for BCM54K2.Brad Smith
values derived from Linux's sungem_phy driver.
2005-11-06split the DSP code into separate functions as done inBrad Smith
the FreeBSD brgphy driver.
2005-11-06add a comment explaining what the 5401 DSP code does.Brad Smith
2005-11-05add init code for BCM5421.Brad Smith
values derived from Linux's sungem_phy driver, same init code also exists in Apple's GMAC driver too.
2005-11-05BCM5421K2 -> BCM54K2Brad Smith
2005-10-01add Broadcom BCM5421K2Brad Smith
2005-10-01load the BCM5401 DSP code for rev 0 and not rev 1.Brad Smith
From: Linux sungem_phy driver.
2005-10-01add Broadcom BCM5462Brad Smith
2005-09-17KNFBrad Smith
2005-09-17re-add code which allows setting master/slave flag for links withBrad Smith
manually set speed/duplex.
2005-09-17- use PHY_RESET() on all models in brgphy_service()Brad Smith
- use PHY_RESET() in brgphy_mii_phy_auto() - always use mii_phy_update() in brgphy_service() ok krw@
2005-08-27BCMunknown -> BCM5752Brad Smith
ok deraadt@
2005-08-22add a unknown Broadcom Gig PHY. This is just a placeholder for now untilBrad Smith
we find out what model this is. a dmesg might help from that slacker niklas! From: niklas@ ok deraaadt@
2005-06-29remove unused FreeBSD printfBrad Smith
2005-06-11need this tooBrad Smith
2005-06-11BCM5714Brad Smith
2005-03-26Cleanup. Use defines, standard names, consistant comparison operators, etc.Kenneth R Westerback
for auto negotiation ticks code. No functional change. ok brad@
2005-02-05betterBrad Smith
2005-02-05use mii_phy_match()Brad Smith
2005-01-24more constantsBrad Smith
2004-12-12unbreak after last commit to bge(4)Brad Smith
2004-10-31rev 1.68Brad Smith
Add support for BCM5705K rev 1.74 Add support for the BCM5750/5751. Unfortunately the documentation I have from Broadcom does not give much information on these devices, so the Broadcom Linux driver was used for clues to what these chips support. It turns out they are similar to the 5705 with the 5751 being the PCI-Express version and needing special work-arounds and settings. From FreeBSD
2004-09-27ANSI protos and some minor cleanupBrad Smith
ok henning@