pcid: Move FullDeviceId from pci to driver_interface
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ use std::ops::Range;
|
||||
|
||||
use serde::Deserialize;
|
||||
|
||||
use crate::pci::FullDeviceId;
|
||||
use crate::driver_interface::FullDeviceId;
|
||||
|
||||
#[derive(Clone, Debug, Default, Deserialize)]
|
||||
pub struct Config {
|
||||
|
||||
@@ -11,8 +11,10 @@ use thiserror::Error;
|
||||
|
||||
pub use crate::pci::cap::VendorSpecificCapability;
|
||||
pub use crate::pci::msi;
|
||||
pub use crate::pci::{FullDeviceId, PciAddress, PciBar};
|
||||
pub use crate::pci::{PciAddress, PciBar};
|
||||
pub use id::FullDeviceId;
|
||||
|
||||
mod id;
|
||||
pub mod irq_helpers;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Serialize, Deserialize)]
|
||||
|
||||
+2
-2
@@ -13,8 +13,8 @@ use structopt::StructOpt;
|
||||
|
||||
use crate::cfg_access::Pcie;
|
||||
use crate::config::Config;
|
||||
use crate::driver_interface::LegacyInterruptLine;
|
||||
use crate::pci::{FullDeviceId, PciBar};
|
||||
use crate::driver_interface::{FullDeviceId, LegacyInterruptLine};
|
||||
use crate::pci::PciBar;
|
||||
|
||||
mod cfg_access;
|
||||
mod config;
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
pub use self::bar::PciBar;
|
||||
pub use self::id::FullDeviceId;
|
||||
pub use pci_types::PciAddress;
|
||||
|
||||
mod bar;
|
||||
pub mod cap;
|
||||
mod id;
|
||||
pub mod msi;
|
||||
|
||||
Reference in New Issue
Block a user