Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756332AbbDIQTO (ORCPT ); Thu, 9 Apr 2015 12:19:14 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:60582 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756117AbbDIQSz (ORCPT ); Thu, 9 Apr 2015 12:18:55 -0400 X-AuditID: cbfee61b-f79536d000000f1f-e3-5526a66d7d13 From: Krzysztof Opasiak To: balbi@ti.com, gregkh@linuxfoundation.org, jlbec@evilplan.org Cc: andrzej.p@samsung.com, m.szyprowski@samsung.com, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Krzysztof Opasiak Subject: [PATCH v3 4/4] Documentation: ABI: Fix documentation for mass_storage function Date: Thu, 09 Apr 2015 18:18:10 +0200 Message-id: <1428596290-23637-5-git-send-email-k.opasiak@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1428596290-23637-1-git-send-email-k.opasiak@samsung.com> References: <1428596290-23637-1-git-send-email-k.opasiak@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJLMWRmVeSWpSXmKPExsVy+t9jAd3cZWqhBi2rFC1mvWxnsTh4v96i efF6NouT576xWNyeOI3NYvP3DjaLy7vmsFksWtbKbLH2yF12B06PpxeDPPbPXcPu0bdlFaPH 8RvbmTw+b5ILYI3isklJzcksSy3St0vgyjjVtI2t4CR3Rff+BewNjBc4uxg5OSQETCTu7P3M CmGLSVy4t56ti5GLQ0hgEaPEqV032SGcX4wS/3/8Z+5i5OBgE9CXmLdLFMQUEXCQOLOjCKSE WWAbo8TTHTPYQQYJC0RKdMxezgxiswioSnzf+ggszivgKrHu2B92kF4JAQWJOZNsQExOATeJ vh5pkAohoIodx54xTmDkXcDIsIpRNLUguaA4KT3XSK84Mbe4NC9dLzk/dxMjOMCeSe9gXNVg cYhRgINRiYf3xTfVUCHWxLLiytxDjBIczEoivB8XqoUK8aYkVlalFuXHF5XmpBYfYpTmYFES 552jKxcqJJCeWJKanZpakFoEk2Xi4JRqYJSfpL/+kfnspLNXzzvGzXBx23GvKv76VA7t10ZB ps9rlsW8NVPfmush589/I8fizazu1oPsj/mtJ+qtPcPobxaa07W/UavZzjZwvddrR9tJ9htm 386aIjLHa8byh/K7Wd8t46t/wdj9dW11QNS8HetnPOVNrw6YtWdP+4Qf6avCbj7ec/HGYzkl luKMREMt5qLiRADqJxHvLAIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1689 Lines: 42 Luns in mass storage function are identified using their id. While creating lun's directory user cannot choose any arbitrary name other than decimal value from 1 to FSG_MAX_LUNS. Moreover, LUNs ids should be contiguous. This means that user may remove only lun with max id and can create new lun only if its id equals to max id + 1. 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..2bf085d 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 - decimal value from 1 to FSG_MAX_LUNS + (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-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/