nvme - Iterate disk units for multiple devices
commit7d057aeaa78adc62250ffd80ed610db2f1c228df
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 5 Jun 2016 21:24:02 +0000 (5 14:24 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 5 Jun 2016 21:24:02 +0000 (5 14:24 -0700)
tree8824deb17e27cba7a676e9aa7a9b53ff9df65ef1
parent9ce8e5e4002ac435d324538d9ab3b1bc21dbfd38
nvme - Iterate disk units for multiple devices

* Just iterate disk units starting at 0 for now, instead of trying to
  use the namespace id, preventing collisions when multiple nvme
  controllers are present.
sys/dev/disk/nvme/nvme.h
sys/dev/disk/nvme/nvme_admin.c
sys/dev/disk/nvme/nvme_disk.c