Skip to content

Commit

Permalink
Enable NEW_PCIB on riscv.
Browse files Browse the repository at this point in the history
Sponsored by:	DARPA, AFRL
  • Loading branch information
bukinr committed Jan 24, 2020
1 parent c344a95 commit 79a6ce8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/riscv/conf/DEFAULTS
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions sys/riscv/include/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 79a6ce8

Please sign in to comment.