From patchwork Thu Mar 3 05:16:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pratyush ANAND X-Patchwork-Id: 604931 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p235HGIW001913 for ; Thu, 3 Mar 2011 05:17:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750695Ab1CCFRP (ORCPT ); Thu, 3 Mar 2011 00:17:15 -0500 Received: from eu1sys200aog119.obsmtp.com ([207.126.144.147]:47343 "EHLO eu1sys200aog119.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750769Ab1CCFRO (ORCPT ); Thu, 3 Mar 2011 00:17:14 -0500 Received: from source ([138.198.100.35]) (using TLSv1) by eu1sys200aob119.postini.com ([207.126.147.11]) with SMTP ID DSNKTW8kS/eyPN1CK0pdULwaSAEkJH71mfDS@postini.com; Thu, 03 Mar 2011 05:17:13 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 3E3FBDD; Thu, 3 Mar 2011 05:16:56 +0000 (GMT) Received: from Webmail-ap.st.com (eapex1hubcas3.st.com [10.80.176.67]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id D10FBB5B; Thu, 3 Mar 2011 05:16:55 +0000 (GMT) Received: from localhost (10.199.7.183) by Webmail-ap.st.com (10.80.176.7) with Microsoft SMTP Server (TLS) id 8.2.234.1; Thu, 3 Mar 2011 13:16:55 +0800 From: Pratyush Anand To: Cc: , , , , , , , , Pratyush Anand Subject: [PATCH] ST SPEAr: PCIe Gadget: Documentation for support of multiple device Date: Thu, 3 Mar 2011 10:46:52 +0530 Message-ID: <1299129412-9632-1-git-send-email-pratyush.anand@st.com> X-Mailer: git-send-email 1.6.0.2 MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 03 Mar 2011 05:17:16 +0000 (UTC) diff --git a/Documentation/ABI/testing/configfs-spear-pcie-gadget b/Documentation/ABI/testing/configfs-spear-pcie-gadget index 29593d0..7c02b32 100644 --- a/Documentation/ABI/testing/configfs-spear-pcie-gadget +++ b/Documentation/ABI/testing/configfs-spear-pcie-gadget @@ -12,8 +12,9 @@ Description: Nodes are only visible when configfs is mounted. To mount configfs in /config directory use: # mount -t configfs none /config/ - - /config/pcie-gadget/ + + For nth PCIe Device Controller + /config/pcie-gadget.n/ link ... used to enable ltssm and read its status. int_type ...used to configure and read type of supported interrupt diff --git a/Documentation/misc-devices/spear-pcie-gadget.txt b/Documentation/misc-devices/spear-pcie-gadget.txt index 7b86b80..02c13ef 100644 --- a/Documentation/misc-devices/spear-pcie-gadget.txt +++ b/Documentation/misc-devices/spear-pcie-gadget.txt @@ -66,7 +66,8 @@ Node programming example Program all PCIe registers in such a way that when this device is connected to the PCIe host, then host sees this device as 1MB RAM. #mount -t configfs none /Config -# cd /config/pcie_gadget/ +For nth PCIe Device Controller +# cd /config/pcie_gadget.n/ Now you have all the nodes in this directory. program vendor id as 0x104a # echo 104A >> vendor_id