summaryrefslogtreecommitdiff
path: root/sys/dev/mii/brgphy.c
AgeCommit message (Collapse)Author
2007-10-13Add support for BCM5906.Mark Kettenis
ok deraadt@
2007-01-30Rough in more support for 5787/5755 chips so far known to not work orKenneth R Westerback
unreported in the wild. In this case add a PHY workaround for an eventual mobile version of the chipset. No change to existing functionality. From Michael Chan (mchan@broadcom), via Linux tg3 and brad.
2007-01-10Flow control support for bge(4)/brgphy(4). From brad@ based on code fromMark Kettenis
NetBSD.
2006-12-31Bring last few phys into line by calling their XXX_status() functionsKenneth R Westerback
through mii_phy_status() rather than directly. No functional change. from brad@ ok mglocker@
2006-12-30Set MASTER based on IFM_ETH_MASTER instead of LINK0.Mark Kettenis
ok brad@
2006-12-22Set IFM_ETH_MASTER if local PHY configuration resolved to MASTER.Mark Kettenis
Based on a diff by brad@
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@