Skip to main content

ostd/bus/
mod.rs

1// SPDX-License-Identifier: MPL-2.0
2//! Bus operations
3pub mod pci;
4
5/// An error that occurs during bus probing.
6#[derive(Debug, PartialEq, Eq, PartialOrd, Ord)]
7pub enum BusProbeError {
8    /// The device does not match the expected criteria.
9    DeviceNotMatch,
10    /// An error in accessing the configuration space of the device.
11    ConfigurationSpaceError,
12}
13
14/*
15/// Initializes the bus
16pub(crate) fn init() {
17    pci::init();
18}
19*/