MFC r346634:Add support for Cadence network controller found in HiFive Unleashed board.Sponsored by: DARPA, AFRL
kernel: Fix several typos and minor errors- duplicate words- typos- references to old versions of FreeBSDReviewed by: imp, benno
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.
show more ...
Refactor DTS files for Zynq-based SoCs- Factor out common part to zynq-7000.dtsi- Fix problem with Zynq interrupts by using interrupt "triples" in .dtsi file to differentiate between edge-trig
Refactor DTS files for Zynq-based SoCs- Factor out common part to zynq-7000.dtsi- Fix problem with Zynq interrupts by using interrupt "triples" in .dtsi file to differentiate between edge-triggered and level-triggered interrupts- cgem driver now recognizes "status" propertySubmitted by: Thomas Skibo <[email protected]>Differential Revision: https://reviews.freebsd.org/D6095
Use the new ifnet API. Also, allocate bus_dma_maps as needed instead ofpre-allocating them all at start-up. Also fix a bug in cgem_stop(); before,it wasn't properly unloading dma maps due to a cu
Use the new ifnet API. Also, allocate bus_dma_maps as needed instead ofpre-allocating them all at start-up. Also fix a bug in cgem_stop(); before,it wasn't properly unloading dma maps due to a cut-and-paste error.
Mechanically convert to if_inc_counter().
Fixes and enhancements for the if_cgem driver...- miibus fixes as suggested by Yonghyeon Pyun.- enable VLAN MTU support.- fix a few WITNESS complaints in cgem_attach().- have cgem_attach() prope
Fixes and enhancements for the if_cgem driver...- miibus fixes as suggested by Yonghyeon Pyun.- enable VLAN MTU support.- fix a few WITNESS complaints in cgem_attach().- have cgem_attach() properly init the ifnet struct before calling mii_attach() to fix panic when using e1000phy.- fix ethernet address changing.- fix transmit queue overflow handling.- tweak receive queue handling to reduce receive overflows.- bring out MAC statistic counters to sysctls.- add e1000phy to config file.- implement receive hang work-around described in reference guide.- change device name from if_cgem to cgem to be consistent with other interfaces.Submitted by: Thomas Skibo <[email protected]>Reviewed by: wkoszek, Yonghyeon PYUN <[email protected]>
Fix the Zedboard/Zynq ethernet driver to handle media speed changes sothat it can connect to switches at speeds other than 1gb.This requires changing the reference clock speed. Since we still don
Fix the Zedboard/Zynq ethernet driver to handle media speed changes sothat it can connect to switches at speeds other than 1gb.This requires changing the reference clock speed. Since we still don'thave a general clock API that lets a SoC-independant driver manipulate itsown clocks, this change includes a weak reference to a routine namedcgem_set_ref_clk(). The default implementation is a no-op; SoC-specificcode can provide an implementation that actually changes the speed.Submitted by: Thomas Skibo <[email protected]>
Fix teardown of static DMA allocations in various NIC drivers:- Add missing calls to bus_dmamap_unload() in et(4).- Check the bus address against 0 to decide when to call bus_dmamap_unload() inst
Fix teardown of static DMA allocations in various NIC drivers:- Add missing calls to bus_dmamap_unload() in et(4).- Check the bus address against 0 to decide when to call bus_dmamap_unload() instead of comparing the bus_dma map against NULL.- Check the virtual address against NULL to decide when to call bus_dmamem_free() instead of comparing the bus_dma map against NULL.- Don't clear bus_dma map pointers to NULL for static allocations. Instead, treat the value as completely opaque.- Pass the correct virtual address to bus_dmamem_free() in wpi(4) instead of trying to free a pointer to the virtual address.Reviewed by: yongari
The r48589 promised to remove implicit inclusion of if_var.h soon. Prepareto this event, adding if_var.h to files that do need it. Also, includeall includes that now are included due to implicit po
The r48589 promised to remove implicit inclusion of if_var.h soon. Prepareto this event, adding if_var.h to files that do need it. Also, includeall includes that now are included due to implicit pollution via if_var.hSponsored by: NetflixSponsored by: Nginx, Inc.
Bring copyright changes with the agreement of Thomas Skibo.Communication on src-commiters, Sat, 27 Apr 2013 22:09:06 -0700,Subject was: "Re: svn commit: r249997"As I'm here, fix the style main b
Bring copyright changes with the agreement of Thomas Skibo.Communication on src-commiters, Sat, 27 Apr 2013 22:09:06 -0700,Subject was: "Re: svn commit: r249997"As I'm here, fix the style main block comments in files' headers.
Add Xilinx Zynq ARM/FPGA SoC support to FreeBSD/arm port.Submitted by: Thomas Skibo <ThomasSkibo (at) sbcglobal.net>Reviewed by: wkoszek, freebsd-arm@ (no objections raised)