mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
riscv: Add NVMe, USB and HID support to GENERIC
The SiFive FU740 has both NVMe and USB so we need both to ensure we can mount root, and HID is a dependency of USB. Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D31036
This commit is contained in:
parent
2624598064
commit
6e162bd2f2
1 changed files with 23 additions and 0 deletions
|
|
@ -90,6 +90,10 @@ device riscv_syscon
|
|||
# Bus drivers
|
||||
device pci
|
||||
|
||||
# Block devices
|
||||
device scbus
|
||||
device da
|
||||
|
||||
# VirtIO support
|
||||
device virtio # Generic VirtIO bus (required)
|
||||
device virtio_pci # VirtIO PCI device
|
||||
|
|
@ -97,6 +101,25 @@ device vtnet # VirtIO Ethernet device
|
|||
device virtio_blk # VirtIO Block device
|
||||
device virtio_mmio # VirtIO MMIO bus
|
||||
|
||||
# NVM Express (NVMe) support
|
||||
device nvme # base NVMe driver
|
||||
options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver
|
||||
device nvd # expose NVMe namespaces as disks, depends on nvme
|
||||
|
||||
# USB support
|
||||
options USB_DEBUG # enable debug msgs
|
||||
device ohci # OHCI USB interface
|
||||
device uhci # UHCI USB interface
|
||||
device ehci # EHCI USB interface (USB 2.0)
|
||||
device xhci # XHCI USB interface (USB 3.0)
|
||||
device usb # USB Bus (required)
|
||||
device ukbd # Keyboard
|
||||
device umass # Disks/Mass storage - Requires scbus and da
|
||||
|
||||
# HID support
|
||||
options HID_DEBUG # enable debug msgs
|
||||
device hid # Generic HID support
|
||||
|
||||
# DTrace support
|
||||
# device dtrace
|
||||
# device dtrace_profile
|
||||
|
|
|
|||
Loading…
Reference in a new issue