Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2020 17:10:21 +0000 (UTC)
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357087 - in head/sys: conf riscv/conf
Message-ID:  <202001241710.00OHALAo054670@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001241710.00OHALAo054670>