Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755011AbbDIIc3 (ORCPT ); Thu, 9 Apr 2015 04:32:29 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:36692 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767AbbDIIc0 (ORCPT ); Thu, 9 Apr 2015 04:32:26 -0400 MIME-Version: 1.0 In-Reply-To: <1428494808-12566-5-git-send-email-k.opasiak@samsung.com> References: <1428494808-12566-1-git-send-email-k.opasiak@samsung.com> <1428494808-12566-5-git-send-email-k.opasiak@samsung.com> Date: Thu, 9 Apr 2015 11:32:24 +0300 Message-ID: Subject: Re: [PATCH v2 4/4] Documentation: ABI: Fix documentation for mass_storage function From: Tal Shorer To: Krzysztof Opasiak Cc: balbi@ti.com, "" , jlbec@evilplan.org, andrzej.p@samsung.com, m.szyprowski@samsung.com, linux-api@vger.kernel.org, "" , linux-usb@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2117 Lines: 44 On Wed, Apr 8, 2015 at 3:06 PM, Krzysztof Opasiak wrote: > Luns in mass storage function are identified using their id. > While creating lun's directory user cannot choose any arbitrary > name other than arabic numeral from 1 to FSG_MAX_LUNS. > > Signed-off-by: Krzysztof Opasiak > --- > .../ABI/testing/configfs-usb-gadget-mass-storage | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/Documentation/ABI/testing/configfs-usb-gadget-mass-storage b/Documentation/ABI/testing/configfs-usb-gadget-mass-storage > index 9931fb0..0b54280 100644 > --- a/Documentation/ABI/testing/configfs-usb-gadget-mass-storage > +++ b/Documentation/ABI/testing/configfs-usb-gadget-mass-storage > @@ -11,10 +11,15 @@ Description: > are 2..4. Available only if > CONFIG_USB_GADGET_DEBUG_FILES is set. > > -What: /config/usb-gadget/gadget/functions/mass_storage.name/lun.name > +What: /config/usb-gadget/gadget/functions/mass_storage.name/lun.id > Date: Oct 2013 > KernelVersion: 3.13 > Description: > + id - arabic numeral from 1 to FSG_MAX_LUNS I think "decimal number" or "decimal value" would be easier to understand. > + (which is 8 by default) - 1. LUNs should be numbered contiguously. > + lun.0 is reserved for default lun which appears while creating > + mass_storage.name directory and cannot be removed by the user. > + > The attributes: > > file - The path to the backing file for the LUN. > -- > 1.7.9.5 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/