Some minor housekeeping:
- Implement TryInto<IrqRequest<'a>> for IrqVector<'a> to directly convert a
pci::IrqVector into a generic IrqRequest, instead of taking the indirection
via an unrelated pci::Device method.
- Besides that, move I/O and IRQ specific code into separate sub-modules to keep
things organized.
Danilo Krummrich (3):
rust: pci: implement TryInto<IrqRequest<'a>> for IrqVector<'a>
rust: pci: move I/O infrastructure to separate file
rust: pci: move IRQ infrastructure to separate file
rust/kernel/pci.rs | 365 +----------------------------------------
rust/kernel/pci/io.rs | 141 ++++++++++++++++
rust/kernel/pci/irq.rs | 244 +++++++++++++++++++++++++++
3 files changed, 389 insertions(+), 361 deletions(-)
create mode 100644 rust/kernel/pci/io.rs
create mode 100644 rust/kernel/pci/irq.rs
base-commit: 340ccc973544a6e7e331729bc4944603085cafab
--
2.51.0