]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix xae(4) driver attachement on the Government Furnished Equipment (GFE)
authorbr <br@FreeBSD.org>
Fri, 7 Feb 2020 14:36:28 +0000 (14:36 +0000)
committerbr <br@FreeBSD.org>
Fri, 7 Feb 2020 14:36:28 +0000 (14:36 +0000)
commitcc3d42aa863fdec4493c4a534d7da46e3960fafe
tree0457fa9ab94616ffc04853c23607e71de3f8b455
parent2597a0e2ed864f98751c827bf8518ab30aff5fb4
Fix xae(4) driver attachement on the Government Furnished Equipment (GFE)
riscv cores.

GFE cores come with standard DTS file that lacks standard 'dmas ='
property, which means xae(4) could not find a DMA controller to use.

The 'dmas' property could not be added to the DTS file because the
ethernet controller and DMA engine parts in Linux are implemented
in a single driver.

Instead of 'dmas' property the standard Xilinx 'axistream-connected'
property is provided, so fallback to use it instead.

Suggested by: James Clarke <jrtc27@jrtc27.com>
Reviewed by: James Clarke <jrtc27@jrtc27.com>
Sponsored by: DARPA, AFRL
sys/dev/xdma/xdma.c
sys/dev/xdma/xdma.h
sys/dev/xilinx/axidma.c
sys/dev/xilinx/axidma.h
sys/dev/xilinx/if_xae.c