Age | Commit message (Collapse) | Author |
|
Use in-place init to avoid dynamic allocation of driver structures.
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
|
|
Use the generalized `Registration` structure and implement the
`RegistrationOps` trait.
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
|
|
Use the PCI driver abstractions for registration.
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
|
|
Convert the remaining C code to Rust, without adding any abstractions
yet.
Using the C structures directly leads to horrible driver code. However,
this serves as baseline in order to illustrate subsequent incremental
improvements.
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
|