Couple of interrupt handling cleanups and some other changes
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
andlegacy_interrupt_pin
into a singleOption
which contains the interrupt line orNone
if interrupts are not supported. - Add a helper for mapping memory BARs.
- Unify device info printing between drivers.
Based on !136 (merged)