summaryrefslogtreecommitdiff
path: root/sys/dev/mii
AgeCommit message (Collapse)Author
2007-10-13Add support for BCM5906.Mark Kettenis
ok deraadt@
2007-10-10Add support for the RTL8211B PHY based on a patch byJonathan Gray
Michael Eisele for FreeBSD. This fixes nfe/rgephy for ckuethe & couderc. Tested on re/rgephy by pyr.
2007-10-06Oops, committed this with a typo, which made it do not quite the right thing.Mark Kettenis
2007-10-05Disable fiber/copper auto-selection on the 88E1111 if it is in RGMII mode, toMark Kettenis
work around the fact that the onboard PHYs attached to nfe(4) on the Sun X4100 M2 have fiber/copper auto-selection enabled even though the interfaces are clearly copper-only. Fixes PR system/5587. ok jsg@, claudio@
2007-09-17- Use a 64-bit int for the baudrate within the ifmedia_baudrate struct andBrad Smith
return a 64-bit int for ifmedia_baudrate(). - Fix consumers of ifmedia_baudrate() to deal with the change. ok claudio@ dlg@
2007-09-17regenMark Kettenis
2007-09-17Add another OUI for Broadcom, and add the PHY for the Broadcom BCM5906.Mark Kettenis
2007-08-30PHY on D495GCCR boardChris Kuethe
"Right" deraadt
2007-08-30regenChris Kuethe
2007-08-30Intel PHY on D945GCCR boardChris Kuethe
"Right" deraadt
2007-02-11Add support for fiber on the 88E1112 (88E8021/22 integrated PHY).Mark Kettenis
2007-02-10Use right flow control autonegotiation bits for 1000baseX.Mark Kettenis
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-27In autoneg mode, use RL_MEDIASTAT on re(4), like we do on rl(4) already.Miod Vallat
2007-01-21Use MII_ANEGTICKS_GIGE instead of MII_ANEGTICKS.Mark Kettenis
2007-01-10Flow control support for bge(4)/brgphy(4). From brad@ based on code fromMark Kettenis
NetBSD.
2007-01-05Now that all ethernet drivers that support flow control set MIIF_DOPAUSE,Mark Kettenis
stop doing it here. From brad@
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-30Only advertise flow control if MIIF_DOPAUSE is set.Mark Kettenis
From brad@
2006-12-30Rewrite eephy(4) to take advantage of generic phy code.Mark Kettenis
Enable auto MDI/MDIX on PHY's that support it. Disable energy detect on PHY's that need it. tested on gem(4), msk(4), nfe(4), sk(4), stge(4)
2006-12-30Add flow control support.Mark Kettenis
ok brad@
2006-12-30Make mii_phy_auto() advertise flow control if MIIF_DOPAUSE is set.Mark Kettenis
ok jsg@, brad@
2006-12-29Use mii_phy_flowstatus() to replace the code that sets flag0/flag1 toMark Kettenis
report flow control status. From brad@
2006-12-29No need to read ANAR and ANLPAR anymore.Mark Kettenis
From brad@
2006-12-28Use mii_phy_flowstatus() to set flow control status bits.Mark Kettenis
ok brad@
2006-12-28Add function to detect flow control status. From NetBSD.Mark Kettenis
ok brad@
2006-12-27Always explicitly set IFM_HDX for half-duplex.Mark Kettenis
From brad@
2006-12-23Set IFM_ETH_MASTER if local PHY configuration resolved to MASTER.Mark Kettenis
Based on a diff by brad@
2006-12-23Fix check for active 1000baseT media.Mark Kettenis
Pointed out by brad@
2006-12-22Fix check for active 1000baseT media.Mark Kettenis
2006-12-22Set IFM_ETH_MASTER if local PHY configuration resolved to MASTER.Mark Kettenis
Based on a diff by brad@
2006-12-22- Add IFM_NONE.Mark Kettenis
- Don't set MIIF_NOISOLATE so eephy(4) can be used in configurations with multiple PHYs. - When PHY is resolved to a master, show it with IFM_ETH_MASTER. Based on a diff from yongari@FreeBSD, through brad@
2006-12-20Set IFM_ETH_MASTER if local PHY configuration resolved to MASTER.Mark Kettenis
ok deraadt@, brad@
2006-12-15use mii_media_active instead of mii_media_status to get the fullReyk Floeter
duplex state. this will actually enable duplex reporting for drivers using the mii layer. figured out by Moritz Grimm with sk(4)
2006-11-28add additional link states to report the half duplex / full duplexReyk Floeter
state, if known by the driver. this is required to check the full duplex state without depending on the ifmedia ioctl which can't be called in the kernel without process context. ok henning@, brad@
2006-11-28some additional registers.Brad Smith
From Pyun YongHyeon <pyunh at gmail dot com>
2006-11-28sync with new miidevs entries.Brad Smith
2006-11-28regenBrad Smith
2006-11-28rename Marvell Gig PHY E1000_5/6 to E1116/E1118.Brad Smith
From Pyun YongHyeon <pyunh at gmail dot com>
2006-11-02simplify parent driver matching code a bit. no-op change.Brad Smith
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-20regenBrad Smith
2006-10-20add PHY id for the Broadcom BCM5755 ASIC based chipsets.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@