Skip to content

Couple of interrupt handling cleanups and some other changes

bjorn3 requested to merge bjorn3/drivers:pci_interrupts_rework into master

Fixes

  • Fix nvmed. It was broken by an earlier MR of mine.
  • Use the virtual instead of physical address when unmapping a BAR inside nvmed.

Changes

  • Merge legacy_interrupt_line and legacy_interrupt_pin into a single Option which contains the interrupt line or None if interrupts are not supported.
  • Add a helper for mapping memory BARs.
  • Unify device info printing between drivers.

Based on !136 (merged)

Merge request reports