nvme driver split, the easy part

Christoph Hellwig hch at lst.de
Mon Oct 12 00:04:11 PDT 2015


This series contains the trivial and hopefully uncontroversial part of the
nvme driver split to show how I want to get started.

This creates a new core.c with functions sitting on top of the block layer,
splits and split a new struct nvme_ctrl out of struct nvme_dev so that the
SCSI translation layer is decoupled from the PCI driver internals.  A new
struct nvme_ctrl_ops is introduced to call into the low level driver, which
for now just has a single method to read a 32-bit wide register.




More information about the Linux-nvme mailing list