// SPDX-License-Identifier: MPL-2.0
//! Bus operations
pubmodmmio;pubmodpci;/// An error that occurs during bus probing.
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]pubenumBusProbeError{/// The device does not match the expected criteria.
DeviceNotMatch,/// An error in accessing the configuration space of the device.
ConfigurationSpaceError,}/// Initializes the bus
pub(crate)fninit(){#[cfg(target_arch ="x86_64")]pci::init();mmio::init();}