forked from AbleOS/ableos
13 lines
194 B
Rust
13 lines
194 B
Rust
|
#[derive(Debug)]
|
||
|
pub enum Vendor {
|
||
|
Unknown = 0,
|
||
|
Ati = 4098,
|
||
|
}
|
||
|
|
||
|
pub fn match_vendor(id: u16) -> Vendor {
|
||
|
match id {
|
||
|
4098 => Vendor::Ati,
|
||
|
_ => Vendor::Unknown,
|
||
|
}
|
||
|
}
|