svn commit: r357087 - in head/sys: conf riscv/conf

Ruslan Bukin br at FreeBSD.org
Fri Jan 24 17:10:21 UTC 2020


Author: br
Date: Fri Jan 24 17:10:21 2020
New Revision: 357087
URL: https://svnweb.freebsd.org/changeset/base/357087

Log:
  Include the PCI stack to the riscv GENERIC kernel.
  
  It will be used by an upcoming PCI root complex driver.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/conf/files.riscv
  head/sys/riscv/conf/GENERIC

Modified: head/sys/conf/files.riscv
==============================================================================
--- head/sys/conf/files.riscv	Fri Jan 24 16:50:51 2020	(r357086)
+++ head/sys/conf/files.riscv	Fri Jan 24 17:10:21 2020	(r357087)
@@ -6,6 +6,9 @@ crypto/blowfish/bf_enc.c	optional	crypto | ipsec | ips
 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/ofw/ofwpci.c		optional 	pci fdt
+dev/pci/pci_host_generic.c	optional	pci
+dev/pci/pci_host_generic_fdt.c	optional	pci 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

Modified: head/sys/riscv/conf/GENERIC
==============================================================================
--- head/sys/riscv/conf/GENERIC	Fri Jan 24 16:50:51 2020	(r357086)
+++ head/sys/riscv/conf/GENERIC	Fri Jan 24 17:10:21 2020	(r357087)
@@ -76,6 +76,9 @@ options 	INTRNG
 # RISC-V SBI console
 device		rcons
 
+# Bus drivers
+device		pci
+
 # VirtIO support
 device		virtio			# Generic VirtIO bus (required)
 device		virtio_pci		# VirtIO PCI device


More information about the svn-src-head mailing list