[haiku-bugs] Re: [Haiku] #9910: NVMe devices support

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Thu, 08 Sep 2016 16:31:57 -0000

#9910: NVMe devices support
----------------------------+----------------------------
   Reporter:  korli         |      Owner:  nobody
       Type:  enhancement   |     Status:  new
   Priority:  high          |  Milestone:  R1
  Component:  Drivers/Disk  |    Version:  R1/Development
 Resolution:                |   Keywords:  NVMe
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by kallisti5):

 I don't think we need to implement a bus like AHCI, IDE, SCSI, etc.
 Since NVMe devices are attached like PCIe devices, there really isn't a
 common controller.  As such any implementation should likely live here:

 http://cgit.haiku-os.org/haiku/tree/src/add-ons/kernel/drivers/disk


 The norflash or usb_disk driver would make a good template as it attaches
 a random block device as a drive:

 http://cgit.haiku-os.org/haiku/tree/src/add-
 ons/kernel/drivers/disk/norflash
 http://cgit.haiku-os.org/haiku/tree/src/add-
 ons/kernel/drivers/disk/usb/usb_disk


 Examples of drivers detecting supported PCI/PCIe devices:

 http://cgit.haiku-os.org/haiku/tree/src/add-
 ons/kernel/drivers/graphics/nvidia/driver.c
 http://cgit.haiku-os.org/haiku/tree/src/add-
 ons/kernel/drivers/graphics/radeon_hd/driver.cpp

--
Ticket URL: <https://dev.haiku-os.org/ticket/9910#comment:10>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: