Author: br
Date: Fri Jan 24 16:50:51 2020
New Revision: 357086
URL: https://svnweb.freebsd.org/changeset/base/357086

Log:
  Enable NEW_PCIB on riscv.
  
  Sponsored by: DARPA, AFRL

Modified:
  head/sys/riscv/conf/DEFAULTS
  head/sys/riscv/include/resource.h

Modified: head/sys/riscv/conf/DEFAULTS
==============================================================================
--- head/sys/riscv/conf/DEFAULTS        Fri Jan 24 16:43:49 2020        
(r357085)
+++ head/sys/riscv/conf/DEFAULTS        Fri Jan 24 16:50:51 2020        
(r357086)
@@ -11,3 +11,5 @@ device                mem             # Memory and kernel 
memory devices
 # Default partitioning schemes
 options        GEOM_PART_BSD
 options        GEOM_PART_MBR
+
+options        NEW_PCIB

Modified: head/sys/riscv/include/resource.h
==============================================================================
--- head/sys/riscv/include/resource.h   Fri Jan 24 16:43:49 2020        
(r357085)
+++ head/sys/riscv/include/resource.h   Fri Jan 24 16:50:51 2020        
(r357086)
@@ -42,5 +42,8 @@
 #define        SYS_RES_MEMORY  3       /* i/o memory */
 #define        SYS_RES_IOPORT  4       /* i/o ports */
 #define        SYS_RES_GPIO    5       /* general purpose i/o */
+#ifdef NEW_PCIB
+#define        PCI_RES_BUS     6       /* PCI bus numbers */
+#endif
 
 #endif /* !_MACHINE_RESOURCE_H_ */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to