aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2019-05-08 16:06:54 +0000
committerRuslan Bukin <br@FreeBSD.org>2019-05-08 16:06:54 +0000
commitfcc3a0f6302524d6860d64ff472d05c91d117cd3 (patch)
treed467ed24a58a0569a4b2dc39023894b53a4f7278
parent4023311a294371522f2d896039bfb953c3fec28e (diff)
downloadsrc-fcc3a0f6302524d6860d64ff472d05c91d117cd3.tar.gz
src-fcc3a0f6302524d6860d64ff472d05c91d117cd3.zip
Connect Xilinx AXI drivers and Cadence Ethernet MAC to the RISC-V build.
Sponsored by: DARPA, AFRL
Notes
Notes: svn path=/head/; revision=347351
-rw-r--r--sys/conf/files.riscv3
-rw-r--r--sys/riscv/conf/GENERIC10
2 files changed, 13 insertions, 0 deletions
diff --git a/sys/conf/files.riscv b/sys/conf/files.riscv
index 09b12c2d13e5..b5f5309a88b3 100644
--- a/sys/conf/files.riscv
+++ b/sys/conf/files.riscv
@@ -5,10 +5,13 @@ cddl/dev/dtrace/riscv/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
cddl/dev/fbt/riscv/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
crypto/blowfish/bf_enc.c optional crypto | ipsec | ipsec_support
crypto/des/des_enc.c optional crypto | ipsec | ipsec_support | netsmb
+dev/cadence/if_cgem.c optional cgem
dev/ofw/ofw_cpu.c optional fdt
dev/uart/uart_cpu_fdt.c optional uart fdt
dev/uart/uart_dev_lowrisc.c optional uart_lowrisc
dev/xilinx/axi_quad_spi.c optional xilinx_spi
+dev/xilinx/axidma.c optional axidma xdma
+dev/xilinx/if_xae.c optional xae
kern/kern_clocksource.c standard
kern/msi_if.m standard
kern/pic_if.m standard
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 33c234b32074..4b692415a194 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -102,6 +102,16 @@ device uart # Generic UART driver
device uart_lowrisc # lowRISC UART driver
device uart_ns8250 # ns8250-type UART driver
+
+# Ethernet drivers
+device miibus # MII bus support
+device cgem # Cadence Gigabit Ethernet MAC
+device xae # Xilinx AXI Ethernet MAC
+
+# DMA support
+device xdma # DMA interface
+device axidma # Xilinx AXI DMA Controller
+
# Uncomment for memory disk
# options MD_ROOT
# options MD_ROOT_SIZE=32768 # 32MB ram disk