summaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch/micrel
AgeCommit message (Collapse)Author
2025-06-25IfAPI: Finish etherswitch driver conversionsJustin Hibbits
These drivers are not compiled by default, so were missed in the conversion. Sponsored by: Juniper Networks, Inc.
2025-01-02etherswitch: Cleanup detach and delete of child devices during detachJohn Baldwin
Call bus_generic_detach first and return any error. Remove no longer needed individual device_delete_child calls. Differential Revision: https://reviews.freebsd.org/D47970
2024-12-06Replace calls to bus_generic_attach with bus_attach_childrenJohn Baldwin
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47675
2024-12-06Replace calls to bus_generic_probe with bus_identify_childrenJohn Baldwin
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47674
2024-09-03etherswitch: Stop checking for failures from malloc(M_WAITOK)Zhenlei Huang
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852
2024-06-28net: Remove unneeded NULL check for the allocated ifnetZhenlei Huang
Change 4787572d0580 made if_alloc_domain() never fail, then also do the wrappers if_alloc(), if_alloc_dev(), and if_gethandle(). No functional change intended. Reviewed by: kp, imp, glebius, stevek MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D45740
2024-06-02etherswitch: Use device_set_desc(f)()Mark Johnston
No functional change intended. MFC after: 1 week
2023-08-16sys: Remove $FreeBSD$: two-line .h patternWarner Losh
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
2023-02-14etherswitch: Fix leftovers from IfAPI conversionJustin Hibbits
Sponsored by: Juniper Networks, Inc.
2023-01-31etherswitch: Clean up whitespace after IfAPI conversionJustin Hibbits
Sponsored by: Juniper Networks, Inc. Fixes: 2e6a8c1ae
2023-01-24Mechanically convert etherswitch drivers to IfAPIJustin Hibbits
Reviewed by: kd Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37813
2022-05-09etherswitch drivers: Remove unused devclass arguments to DRIVER_MODULE.John Baldwin
2022-05-09Remove unused etherswitch_devclass.John Baldwin
2022-05-06Remove unused miibus_devclass and miibus_fdt_devclass.John Baldwin
2018-01-24[etherswitch] check if_alloc returns NULLMichael Zhilin
This 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 <dmitryluhtionov@gmail.com> Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> Notes: svn path=/head/; revision=328377
2017-01-14[etherswitch] Support Micrel KSZ8995MA switch chipMichael Zhilin
This is Micrel KSZ8995MA driver code. KSZ8995MA uses SPI bus to control. This code is written & tested on @SRCHACK's ksz8995ma board and FON2100 with gpiospi. etherswitchcfg support commands: addtag, ingress, striptag, dropuntagged. Submitted by: Hiroki Mori <yamori813@yahoo.co.jp> Reviewed by: mizhka, adrian Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D8790 Notes: svn path=/head/; revision=312204