[etherswitch] check if_alloc returns NULLThis patch is cosmetic. It checks if allocation of ifnet structure failed.It's better to have this check rather than assume positive scenario.Submitted b
[etherswitch] check if_alloc returns NULLThis patch is cosmetic. It checks if allocation of ifnet structure failed.It's better to have this check rather than assume positive scenario.Submitted by: Dmitry Luhtionov <[email protected]>Reported by: Dmitry Luhtionov <[email protected]>
show more ...
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
[etherswitch] add ukswitch hint that is phy offset at mdio registerThis patch allows to specify PHY register offset for ukswitch. For instance,switch MAICREL KS8995XA connected via MDIO to SoC, bu
[etherswitch] add ukswitch hint that is phy offset at mdio registerThis patch allows to specify PHY register offset for ukswitch. For instance,switch MAICREL KS8995XA connected via MDIO to SoC, but PHY register startsat 1. So hint for this case is: hint.ukswitch.0.phyoffset=1No change/effect if hint is not set.Submitted by: Hiroki Mori <[email protected]>Reviewed by: adrian, mizhkaApproved by: adrian(mentor)Differential Revision: https://reviews.freebsd.org/D8584
[mdio] migrate mdiobus out of etherswitch and into a top-level device of its own.The mdio driver interface is generally useful for devices that requireMDIO without the full MII bus interface. This
[mdio] migrate mdiobus out of etherswitch and into a top-level device of its own.The mdio driver interface is generally useful for devices that requireMDIO without the full MII bus interface. This lifts the driver/interfaceout of etherswitch(4), and adds a mdio(4) man page.Submitted by: Landon Fuller <[email protected]>Differential Revision: https://reviews.freebsd.org/D4606
- Provide necessary includes.- Remove unnecessary includes.Sponsored by: NetflixSponsored by: Nginx, Inc.
Fix the ukswitch code to work with the new vlan changes:* Fix API changes;* remove unused code;* Allow some switches to be used that don't expose a set of PHY registers for the CPU facing port
Fix the ukswitch code to work with the new vlan changes:* Fix API changes;* remove unused code;* Allow some switches to be used that don't expose a set of PHY registers for the CPU facing port (eg the ADM6996 for the Ubiquiti Routerstation.)Submitted by: Luiz Otavio O Souza <[email protected]>Reviewed by: ray
Implement a very basic multi-PHY aware switch device.This is intended to be used as a stop-gap for switch deviceswhich expose multiple ethernet PHYs but we don't have a driverfor - here, etherswi
Implement a very basic multi-PHY aware switch device.This is intended to be used as a stop-gap for switch deviceswhich expose multiple ethernet PHYs but we don't have a driverfor - here, etherswitchcfg and the general switch configurationAPI can be used to interface to said PHYs.Submitted by: Luiz Otavio O Souza <[email protected]>