mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
15 lines
352 B
Rust
15 lines
352 B
Rust
#[derive(Debug, Default, RustcDecodable)]
|
|
pub struct Config {
|
|
pub drivers: Vec<DriverConfig>
|
|
}
|
|
|
|
#[derive(Debug, Default, RustcDecodable)]
|
|
pub struct DriverConfig {
|
|
pub name: Option<String>,
|
|
pub class: Option<u8>,
|
|
pub subclass: Option<u8>,
|
|
pub vendor: Option<u16>,
|
|
pub device: Option<u16>,
|
|
pub command: Option<Vec<String>>
|
|
}
|