diff --git a/sys/riscv/conf/DEFAULTS b/sys/riscv/conf/DEFAULTS index 5451decf822d..94c6bf283c45 100644 --- a/sys/riscv/conf/DEFAULTS +++ b/sys/riscv/conf/DEFAULTS @@ -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 diff --git a/sys/riscv/include/resource.h b/sys/riscv/include/resource.h index 723d1458e519..aef4fad4516d 100644 --- a/sys/riscv/include/resource.h +++ b/sys/riscv/include/resource.h @@ -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_ */