git: nvme - Iterate disk units for multiple devices

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jun 5 14:24:51 PDT 2016


commit 7d057aeaa78adc62250ffd80ed610db2f1c228df
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jun 5 14:24:02 2016 -0700

    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.

Summary of changes:
 sys/dev/disk/nvme/nvme.h       |  1 +
 sys/dev/disk/nvme/nvme_admin.c |  2 +-
 sys/dev/disk/nvme/nvme_disk.c  | 11 +++++++++++
 3 files changed, 13 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7d057aeaa78adc62250ffd80ed610db2f1c228df


-- 
DragonFly BSD source repository



More information about the Commits mailing list