net: Remove unneeded NULL check for the allocated ifnetChange 4787572d0580 made if_alloc_domain() never fail, then also do thewrappers if_alloc(), if_alloc_dev(), and if_gethandle().No functiona
net: Remove unneeded NULL check for the allocated ifnetChange 4787572d0580 made if_alloc_domain() never fail, then also do thewrappers if_alloc(), if_alloc_dev(), and if_gethandle().No functional change intended.Reviewed by: kp, imp, glebius, stevekMFC after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D45740(cherry picked from commit aa3860851b9f6a6002d135b1cac7736e0995eedc)
show more ...
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
etherswitch: Fix leftovers from IfAPI conversionSponsored by: Juniper Networks, Inc.
Mechanically convert etherswitch drivers to IfAPIReviewed by: kdSponsored by: Juniper Networks, Inc.Differential Revision: https://reviews.freebsd.org/D37813
etherswitch drivers: Remove unused devclass arguments to DRIVER_MODULE.
Remove unused etherswitch_devclass.
Remove unused mdio_devclass.
Remove unused miibus_devclass and miibus_fdt_devclass.
ar40xx_switch: add initial switch for the IPQ4018/IPQ4019.Summary:This switch is based off of the AR8327/AR8337 external switch/PHY.However unlike the AR8327/AR8337 it itself doesn't have any PH
ar40xx_switch: add initial switch for the IPQ4018/IPQ4019.Summary:This switch is based off of the AR8327/AR8337 external switch/PHY.However unlike the AR8327/AR8337 it itself doesn't have any PHYs;instead an external PHY connects to it using the PSGMII port.Differential Revision: https://reviews.freebsd.org/D34112Reviewed by: manuThis code is inspired by the ar40xx code in openwrt, which itselfis based on the Qualcomm QCA-SSDK. Both of these sources are, amusingly,BSD licenced - and thus I have included some of the comments in thehardware workaround paths to document some of the magic numbers.