1
0
Fork 0
forked from AbleOS/ableos
ableOS_v1Change/ableos/src/devices/id.rs
2022-04-12 00:23:11 +02:00

15 lines
198 B
Rust

#[derive(Debug)]
pub enum Vendor {
Unknown = 0,
Ati = 1002,
}
pub fn match_vendor(id: u16) -> Vendor {
use Vendor::*;
match id {
1002 => Ati,
_ => Unknown,
}
}