From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934782AbbEOVAZ (ORCPT ); Fri, 15 May 2015 17:00:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39894 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161002AbbEOVAP (ORCPT ); Fri, 15 May 2015 17:00:15 -0400 From: Jeff Moyer To: Dan Williams Cc: linux-nvdimm@ml01.01.org, Neil Brown , Greg KH , "Rafael J. Wysocki" , Robert Moore , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [Linux-nvdimm] [PATCH v2 04/20] libnd: ndctl class device, and nd bus attributes References: <20150428181203.35812.60474.stgit@dwillia2-desk3.amr.corp.intel.com> <20150428182434.35812.49091.stgit@dwillia2-desk3.amr.corp.intel.com> X-PGP-KeyID: 1F78E1B4 X-PGP-CertKey: F6FE 280D 8293 F72C 65FD 5A58 1FF8 A7CA 1F78 E1B4 X-PCLoadLetter: What the f**k does that mean? Date: Fri, 15 May 2015 17:00:08 -0400 In-Reply-To: <20150428182434.35812.49091.stgit@dwillia2-desk3.amr.corp.intel.com> (Dan Williams's message of "Tue, 28 Apr 2015 14:24:34 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dan Williams 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