diff options
author | Dylan Reid <dgreid@chromium.org> | 2018-07-09 15:39:34 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-01 11:29:59 -0700 |
commit | 0f579cb09c7a2e9cf176c2a689a51ba440398957 (patch) | |
tree | 275757e7698882b426e7a005933953b80783e28e /devices/src/pci/mod.rs | |
parent | b605850bce94e476539a0843cae2092d91daff5a (diff) | |
download | crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.gz crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.bz2 crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.lz crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.xz crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.tar.zst crosvm-0f579cb09c7a2e9cf176c2a689a51ba440398957.zip |
move pci root creation to arch
passing everything in to the pci code is getting annoying. Instead build it up in arch which already has access to all the needed resources. Change-Id: If42f994443c4f11152fca8da16f27fa4cd80580d Reviewed-on: https://chromium-review.googlesource.com/1237357 Commit-Ready: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'devices/src/pci/mod.rs')
-rw-r--r-- | devices/src/pci/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/devices/src/pci/mod.rs b/devices/src/pci/mod.rs index f5e5d1f..a1d211d 100644 --- a/devices/src/pci/mod.rs +++ b/devices/src/pci/mod.rs @@ -8,9 +8,10 @@ mod pci_configuration; mod pci_device; mod pci_root; +pub use self::pci_configuration::{PciCapability, PciCapabilityID, PciClassCode, PciConfiguration, PciHeaderType, PciSubclass}; +pub use self::pci_device::Error as PciDeviceError; pub use self::pci_device::PciDevice; -pub use self::pci_root::Error as PciRootError; -pub use self::pci_root::{PciDeviceList, PciRoot}; +pub use self::pci_root::PciRoot; /// PCI has four interrupt pins A->D. #[derive(Copy, Clone)] |