-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
The non-transport specific parts of the VIRTIO filesystem driver are feature gated on pci
, even though they are not transport specific and even contain PCI and non-PCI feature gated types internally.
Lines 1 to 2 in 70ad8ef
#[cfg(feature = "pci")] | |
pub mod virtio_fs; |
kernel/src/drivers/fs/virtio_fs.rs
Lines 15 to 18 in 70ad8ef
#[cfg(not(feature = "pci"))] | |
use crate::drivers::virtio::transport::mmio::{ComCfg, IsrStatus, NotifCfg}; | |
#[cfg(feature = "pci")] | |
use crate::drivers::virtio::transport::pci::{ComCfg, IsrStatus, NotifCfg}; |
Metadata
Metadata
Assignees
Labels
No labels