pcie 0.6.5

A simple PCIE driver for enumerating devices.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod config;

pub use config::*;
pub use pci_types::{
    Bar, CommandRegister, PciAddress, StatusRegister, capability::PciCapability,
    device_type::DeviceType,
};

#[derive(Debug, Clone, Copy)]
pub struct BusNumber {
    pub primary: u8,
    pub secondary: u8,
    pub subordinate: u8,
}