[][src]Struct hermit::kernel::pci::PciAdapter

pub struct PciAdapter {
    pub bus: u8,
    pub device: u8,
    pub vendor_id: u16,
    pub device_id: u16,
    pub class_id: u8,
    pub subclass_id: u8,
    pub programming_interface_id: u8,
    pub base_addresses: [u32; 6],
    pub base_sizes: [u32; 6],
    pub irq: u8,
}

Fields

bus: u8device: u8vendor_id: u16device_id: u16class_id: u8subclass_id: u8programming_interface_id: u8base_addresses: [u32; 6]base_sizes: [u32; 6]irq: u8

Methods

impl PciAdapter[src]

pub fn make_bus_master(&self)[src]

Trait Implementations

impl Clone for PciAdapter[src]

impl Copy for PciAdapter[src]

impl Display for PciAdapter[src]

Auto Trait Implementations

impl Send for PciAdapter

impl Sync for PciAdapter

impl Unpin for PciAdapter

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.