1
0
Fork 0
forked from AbleOS/ableos
ableOS_v1Change/ableos/src/devices/id.rs

13 lines
194 B
Rust
Raw Normal View History

2022-02-28 06:48:56 -06:00
#[derive(Debug)]
pub enum Vendor {
Unknown = 0,
Ati = 4098,
}
pub fn match_vendor(id: u16) -> Vendor {
match id {
4098 => Vendor::Ati,
_ => Vendor::Unknown,
}
}