Skip to content

Support virtio-fs on MMIO #1692

@hcsch

Description

@hcsch

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.

#[cfg(feature = "pci")]
pub mod virtio_fs;

#[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
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions