|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
54aa95f0 |
| 09-Nov-2021 |
Bjoern A. Zeeb <[email protected]> |
mii: update URL for OUIs
Update the URL for OUIs as the old one is 404 not even 301 anymore.
(cherry picked from commit 8e902c1d21a74c82ffef9f104eb31b213f79f1db)
|
|
Revision tags: release/13.0.0, release/12.2.0 |
|
| #
349eddbd |
| 18-Jun-2020 |
Mike Karels <[email protected]> |
Add support for bcm54213PE in brgphy.
This chip is used in the Rasperry Pi 4, and is supported by the if_genet driver. Currently we use the ukphy mii driver, this patch switches over to the brgphy m
Add support for bcm54213PE in brgphy.
This chip is used in the Rasperry Pi 4, and is supported by the if_genet driver. Currently we use the ukphy mii driver, this patch switches over to the brgphy mii driver instead. To support the rgmii-rxid phy mode, which is now the default in the Linux dtb, we add support for clock skewing.
These changes are taken from OpenBSD and NetBSD, except for the bailout in brgphy_bcm54xx_clock_delay() in rgmii mode, which was found necessary after testing.
Submitted by: Robert Crowston, crowston at protomail.com Differential Revision: https://reviews.freebsd.org/D25251
show more ...
|
|
Revision tags: release/11.4.0 |
|
| #
b24db8a4 |
| 09-Apr-2020 |
Justin Hibbits <[email protected]> |
Add support for BCM54618SE PHY
MFC after: 3 days Sponsored by: Juniper Networks, Inc
|
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0 |
|
| #
159f344b |
| 07-Aug-2018 |
Mark Johnston <[email protected]> |
Recognize ICS1893C PHYs.
Submitted by: Sebastian Huber <[email protected]> MFC after: 1 week
|
|
Revision tags: release/11.2.0, release/10.4.0, release/11.1.0 |
|
| #
b6803171 |
| 11-Jun-2017 |
Ian Lepore <[email protected]> |
Add a driver for the Vitesse/Microsemi VSC8501 PHY.
|
| #
e8b1516a |
| 16-Apr-2017 |
Ian Lepore <[email protected]> |
Add support for the Micrel KSZ8081 ethernet PHY.
The only thing this phy needs that the ukphy driver doesn't provide is that the value in the proprietary Phy Control 2 Register must be saved before
Add support for the Micrel KSZ8081 ethernet PHY.
The only thing this phy needs that the ukphy driver doesn't provide is that the value in the proprietary Phy Control 2 Register must be saved before doing a soft reset and restored afterwards. Most modern phys have "sticky bits" for low-level config that survive a reset, but on this one the values in all registers go back to defaults, wiping out any board- specific config set up by the bootloader/bios/whatever.
show more ...
|
| #
a24d62b5 |
| 31-Oct-2016 |
Kevin Lo <[email protected]> |
Add preliminary support for the RTL8153.
Reviewed by: hselasky
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
67a48226 |
| 23-Jul-2016 |
Luiz Otavio O Souza <[email protected]> |
Add support for the Microchip/Micrel KSZ9031 Gigabit Ethernet PHY.
Tested on uBMC and uFW.
Sponsored by: Rubicon Communications (Netgate)
|
| #
fe56b741 |
| 08-Jun-2016 |
Baptiste Daroussin <[email protected]> |
Add support for Atmel at25df641 flash
Submitted by: Grégory Soutadé <[email protected]> (via github pull request)
|
|
Revision tags: release/10.3.0 |
|
| #
d751decc |
| 04-Sep-2015 |
Sean Bruno <[email protected]> |
Add more BCM gigabit PHYs
Gleaned from a public header file. 5402 and 5404 look like they may be used on embedded devices. 5478 and 5488 are switch PHYs. 5754 change is just to note a product alias.
Add more BCM gigabit PHYs
Gleaned from a public header file. 5402 and 5404 look like they may be used on embedded devices. 5478 and 5488 are switch PHYs. 5754 change is just to note a product alias.
Differential Revision: https://reviews.freebsd.org/D3338 Submitted by: [email protected]
show more ...
|
|
Revision tags: release/10.2.0 |
|
| #
e0fe6b48 |
| 29-Jul-2015 |
Sean Bruno <[email protected]> |
Add support for BCM5466 PHY
Differential Revision: D3232 Submitted by: [email protected]
|
|
Revision tags: release/10.1.0 |
|
| #
8b62915e |
| 21-Oct-2014 |
Ruslan Bukin <[email protected]> |
Add driver for Micrel KSZ9021 Gigabit Ethernet Transceiver (PHY).
Sponsored by: DARPA, AFRL
|
|
Revision tags: release/9.3.0, release/10.0.0 |
|
| #
f26725de |
| 06-Nov-2013 |
Nathan Whitehorn <[email protected]> |
Add definition for the Atheros 8021 gigabit PHY.
MFC after: 1 week
|
| #
cd10b400 |
| 29-Oct-2013 |
Pyun YongHyeon <[email protected]> |
Add support for new Gigabit PHY of RealTek. I don't have a copy of data sheet so I'm not sure exact PHY model name. Vendor's web page indicates RTL8251 is latest PHY so I used the name. This PHY is u
Add support for new Gigabit PHY of RealTek. I don't have a copy of data sheet so I'm not sure exact PHY model name. Vendor's web page indicates RTL8251 is latest PHY so I used the name. This PHY is used with RTL8168G, RTL8168GU and RTL8411B.
show more ...
|
|
Revision tags: release/9.2.0 |
|
| #
0bee427e |
| 20-Jul-2013 |
Pyun YongHyeon <[email protected]> |
Recognize BCM5725C PHY.
|
|
Revision tags: release/8.4.0 |
|
| #
0a75559c |
| 20-Dec-2012 |
Pyun YongHyeon <[email protected]> |
Recognize 5720S PHY and treat it as 5708S PHY. Unfortunately 5720S uses 5709S PHY id so add a hack to detect 5720S PHY by checking parent device name. 5720S PHY does not support 2500SX.
Tested by:
Recognize 5720S PHY and treat it as 5708S PHY. Unfortunately 5720S uses 5709S PHY id so add a hack to detect 5720S PHY by checking parent device name. 5720S PHY does not support 2500SX.
Tested by: Geans Pin < geanspin <> broadcom dot com >
show more ...
|
|
Revision tags: release/9.1.0 |
|
| #
b011f8c4 |
| 15-Aug-2012 |
Oleksandr Tymoshenko <[email protected]> |
Merging of projects/armv6, part 5
- Driver for SMSC LAN95XX and LAN8710A ethernet controllers - Driver for LAN8710A PHY
Submitted by: Ben Gray, Damjan Marion, Tim Kientzle
|
| #
9994219b |
| 25-May-2012 |
Rafal Jaworowski <[email protected]> |
More Cicada/Vitesse PHY ids.
Obtained from: Semihalf
|
|
Revision tags: release/8.3.0_cvs, release/8.3.0 |
|
| #
4bcbb398 |
| 19-Feb-2012 |
Marius Strobl <[email protected]> |
Probe the National DP83849, which is a dual-port version of the PHYTER.
Obtained from: NetBSD
|
| #
8a731a12 |
| 19-Feb-2012 |
Marius Strobl <[email protected]> |
- Probe BCM57780. - In case the parent is bge(4), don't set the Jumbo frame settings unless the MAC actually is Jumbo capable as otherwise the PHY might not have the corresponding registers imple
- Probe BCM57780. - In case the parent is bge(4), don't set the Jumbo frame settings unless the MAC actually is Jumbo capable as otherwise the PHY might not have the corresponding registers implemented. This is also in line with what the Linux tg3 driver does.
PR: 165032 Submitted by: Alexander Milanov Obtained from: OpenBSD MFC after: 3 days
show more ...
|
|
Revision tags: release/9.0.0 |
|
| #
65458598 |
| 23-Nov-2011 |
Marius Strobl <[email protected]> |
Sync with NetBSD rev. 1.104
Obtained from: NetBSD
|
| #
2d7c4b9e |
| 28-Oct-2011 |
Pyun YongHyeon <[email protected]> |
Recognize BCM5720C PHY.
|
| #
f2033ea2 |
| 30-Jun-2011 |
Warner Losh <[email protected]> |
Add detection for the Marvel 88E1149R and treat it just like the 88E1149.
|
| #
4c83f2f3 |
| 09-May-2011 |
Pyun YongHyeon <[email protected]> |
Recognize BCM5719C PHY.
Submitted by: Geans Pin at Broadcom
|
| #
3fcb7a53 |
| 03-May-2011 |
Marius Strobl <[email protected]> |
- Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP (reporting IFM_LOOP based on BMCR_LOOP is left in place though as it might provide useful for debugging). For most mii(4) drivers i
- Remove attempts to implement setting of BMCR_LOOP/MIIF_NOLOOP (reporting IFM_LOOP based on BMCR_LOOP is left in place though as it might provide useful for debugging). For most mii(4) drivers it was unclear whether the PHYs driven by them actually support loopback or not. Moreover, typically loopback mode also needs to be activated on the MAC, which none of the Ethernet drivers using mii(4) implements. Given that loopback media has no real use (and obviously hardly had a chance to actually work) besides for driver development (which just loopback mode should be sufficient for though, i.e one doesn't necessary need support for loopback media) support for it is just dropped as both NetBSD and OpenBSD already did quite some time ago. - Let mii_phy_add_media() also announce the support of IFM_NONE. - Restructure the PHY entry points to use a structure of entry points instead of discrete function pointers, and extend this to include a "reset" entry point. Make sure any PHY-specific reset routine is always used, and provide one for lxtphy(4) which disables MII interrupts (as is done for a few other PHYs we have drivers for). This includes changing NIC drivers which previously just called the generic mii_phy_reset() to now actually call the PHY-specific reset routine, which might be crucial in some cases. While at it, the redundant checks in these NIC drivers for mii->mii_instance not being zero before calling the reset routines were removed because as soon as one PHY driver attaches mii->mii_instance is incremented and we hardly can end up in their media change callbacks etc if no PHY driver has attached as mii_attach() would have failed in that case and not attach a miibus(4) instance. Consequently, NIC drivers now no longer should call mii_phy_reset() directly, so it was removed from EXPORT_SYMS. - Add a mii_phy_dev_attach() as a companion helper to mii_phy_dev_probe(). The purpose of that function is to perform the common steps to attach a PHY driver instance and to hook it up to the miibus(4) instance and to optionally also handle the probing, addition and initialization of the supported media. So all a PHY driver without any special requirements has to do in its bus attach method is to call mii_phy_dev_attach() along with PHY-specific MIIF_* flags, a pointer to its PHY functions and the add_media set to one. All PHY drivers were updated to take advantage of mii_phy_dev_attach() as appropriate. Along with these changes the capability mask was added to the mii_softc structure so PHY drivers taking advantage of mii_phy_dev_attach() but still handling media on their own do not need to fiddle with the MII attach arguments anyway. - Keep track of the PHY offset in the mii_softc structure. This is done for compatibility with NetBSD/OpenBSD. - Keep track of the PHY's OUI, model and revision in the mii_softc structure. Several PHY drivers require this information also after attaching and previously had to wrap their own softc around mii_softc. NetBSD/OpenBSD also keep track of the model and revision on their mii_softc structure. All PHY drivers were updated to take advantage as appropriate. - Convert the mebers of the MII data structure to unsigned where appropriate. This is partly inspired by NetBSD/OpenBSD. - According to IEEE 802.3-2002 the bits actually have to be reversed when mapping an OUI to the MII ID registers. All PHY drivers and miidevs where changed as necessary. Actually this now again allows to largely share miidevs with NetBSD, which fixed this problem already 9 years ago. Consequently miidevs was synced as far as possible. - Add MIIF_NOMANPAUSE and mii_phy_flowstatus() calls to drivers that weren't explicitly converted to support flow control before. It's unclear whether flow control actually works with these but typically it should and their net behavior should be more correct with these changes in place than without if the MAC driver sets MIIF_DOPAUSE.
Obtained from: NetBSD (partially) Reviewed by: yongari (earlier version), silence on arch@ and net@
show more ...
|