Struct kernel::drivers::pciconfig::PCIConfig
[−]
[src]
pub struct PCIConfig { // some fields omitted }
A PCI configuration
Methods
impl PCIConfig
fn new(bus: u8, slot: u8, func: u8) -> Self
Create a new configuration
unsafe fn read(&mut self, offset: u8) -> u32
Read
unsafe fn write(&mut self, offset: u8, value: u32)
Write