nvme - Work w/qemu
commitb52f4c3f65a671a7598cef5c34b814cbd813d940
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Jun 2016 23:59:28 +0000 (17 16:59 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 17 Jun 2016 23:59:28 +0000 (17 16:59 -0700)
tree5b22559ce65d89ec227d0753af00e8e9561fd905
parentf3a0bcd70f3a510a4ab003f9e37c866ee5376662
nvme - Work w/qemu

* Work with qemu nvme emulation.  Note that qemu nvme emulation is really
  slow, much much slower than its scsi (aka ahci) emulation.
  A pci_enable_busmaster() was needed.

* Remove manual PCI config to [re]-enable BIOS PCI interrupt.  This was
  pulled from another driver and probably is not needed.

* Fix kldunload()ing when bar4/5 is present.  The wrong resource pointer
  was being specified.
sys/dev/disk/nvme/nvme_attach.c