etherswitch: Stop checking for failures from malloc(M_WAITOK)MFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D45852(cherry picked from commit 48741f4ceca71523aa1fa8da3bb78b18
etherswitch: Stop checking for failures from malloc(M_WAITOK)MFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D45852(cherry picked from commit 48741f4ceca71523aa1fa8da3bb78b184fad4aca)
show more ...
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)
etherswitch: Use device_set_desc(f)()No functional change intended.MFC after: 1 week(cherry picked from commit 54482989d34c94c6894cb51f65250a4d5946eb1b)
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
etherswitch: Fix leftovers from IfAPI conversionSponsored by: Juniper Networks, Inc.
etherswitch: Clean up whitespace after IfAPI conversionSponsored by: Juniper Networks, Inc.Fixes: 2e6a8c1ae
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 miibus_devclass and miibus_fdt_devclass.
[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]>
[etherswitch] Support Micrel KSZ8995MA switch chipThis is Micrel KSZ8995MA driver code. KSZ8995MA uses SPI bus to control.This code is written & tested on @SRCHACK's ksz8995ma board and FON2100wi
[etherswitch] Support Micrel KSZ8995MA switch chipThis is Micrel KSZ8995MA driver code. KSZ8995MA uses SPI bus to control.This code is written & tested on @SRCHACK's ksz8995ma board and FON2100with gpiospi.etherswitchcfg support commands: addtag, ingress, striptag, dropuntagged.Submitted by: Hiroki Mori <[email protected]>Reviewed by: mizhka, adrianApproved by: adrian (mentor)Differential Revision: https://reviews.freebsd.org/D8790