Re: [Linux-nvdimm] [PATCH v2 04/20] libnd: ndctl class device, and nd bus attributes

Jeff Moyer
2015-05-15T21:00:15Z

Dan Williams <dan.j.williams@intel.com> writes:

> This is the position (device topology) independent method to find all
> the libnd buses in the system. The expectation is that there will only
> ever be one "nd" bus discovered via /sys/class/nd/ndctl0. However, we
> allow for the possibility of multiple buses and they will listed in
> discovery order as ndctl0...ndctlN. This character device hosts the
> ioctl for passing control messages (inspired by the ACPI-NFIT DSM
> interface commands).
>
> Note, nd_ioctl() and the backing ->ndctl() implementation are defined in
> a subsequent patch.

Acked-by: Jeff Moyer <jmoyer@redhat.com>