summaryrefslogtreecommitdiff
path: root/sys/dev/mii/brgphy.c
AgeCommit message (Collapse)Author
2008-06-13Add support for fiber PHY on bge(4) (BCM5714/BCM5780) andBrad Smith
bnx(4) (BCM5706/BCM5708) adapters. Thanks to Balázs Nagy <bnagy at thenewpush dot com> for providing remote access to a Inventec IB4220 blade with fiber BCM5780 interfaces and David Christensen at Broadcom for providing BCM5708 2.5Gbps adapters. Tested with various existing copper adapters and the above mentioned adapters. Some inspiration from similar changes to FreeBSD's brgphy(4) driver.
2008-06-11Add a few comments.Brad Smith
2008-06-10formatting knits.Brad Smith
2008-06-10Some header cleanup. Remove some unused headers and shuffle some aroundBrad Smith
for consistency between drivers. "looks good" reyk@
2008-04-26Adjust the output voltage for BCM5906 PHY otherwise it might not beBrad Smith
possible to obtain a link under some circumstances which are unknown at the moment. From the Linux tg3 driver. Issue reported by Kamil Andrusz <wizz at mniam dot net> ok kettenis@
2008-04-20Add a workaround for a CRC bug errata with BCM5701 A0 and B0 chipsetBrad Smith
revisions. From Linux via FreeBSD. ok dlg@
2008-03-02Add missing half duplex flag for 100baseT4.Brad Smith
ok kettenis@
2008-02-28Update for the BCM5706 miidevs entry change.Brad Smith
ok dlg@
2008-01-31recognize the BCM5722 PHY.Brad Smith
tested by Rodolfo Gouveia and marco@ ok kettenis@ marco@ dlg@
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