From mboxrd@z Thu Jan 1 00:00:00 1970 From: akpm@linux-foundation.org (Andrew Morton) Date: Tue, 19 Oct 2010 14:48:03 -0700 Subject: [PATCH V2 45/69] ST SPEAr: PCIE gadget suppport In-Reply-To: <4CBD33B8.5030105@st.com> References: <4CBD33B8.5030105@st.com> Message-ID: <20101019144803.96d59689.akpm@linux-foundation.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, 19 Oct 2010 11:29:20 +0530 viresh kumar wrote: > On 10/01/2010 05:26 PM, Viresh KUMAR wrote: > > From: Pratyush Anand > > > > This is a configurable gadget. can be configured by sysfs interface. Any > > IP available at PCIE bus can be programmed to be used by host > > controller.It supoorts both INTX and MSI. > > By default, gadget is configured for INTX and SYSRAM1 is mapped to BAR0 > > with size 0x1000 > > > > Signed-off-by: Pratyush Anand > > Signed-off-by: Viresh Kumar > > --- > > drivers/misc/Kconfig | 10 + > > drivers/misc/Makefile | 1 + > > drivers/misc/spear13xx_pcie_gadget.c | 888 ++++++++++++++++++++++++++++++++++ > > 3 files changed, 899 insertions(+), 0 deletions(-) > > create mode 100644 drivers/misc/spear13xx_pcie_gadget.c > > Andrew, > > Any review comments on this patch?? > I looked. I'd suggest cc'ing the PCI list and maintainer on future versions. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758016Ab0JSVsk (ORCPT ); Tue, 19 Oct 2010 17:48:40 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:53044 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753247Ab0JSVsj (ORCPT ); Tue, 19 Oct 2010 17:48:39 -0400 Date: Tue, 19 Oct 2010 14:48:03 -0700 From: Andrew Morton To: viresh kumar Cc: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Pratyush ANAND , Shiraz HASHIM , Vipin KUMAR , Deepak SIKRI , Armando VISCONTI , Vipul Kumar SAMAR , Rajeev KUMAR , Bhupesh SHARMA , Amit VIRDI Subject: Re: [PATCH V2 45/69] ST SPEAr: PCIE gadget suppport Message-Id: <20101019144803.96d59689.akpm@linux-foundation.org> In-Reply-To: <4CBD33B8.5030105@st.com> References: <4CBD33B8.5030105@st.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Oct 2010 11:29:20 +0530 viresh kumar wrote: > On 10/01/2010 05:26 PM, Viresh KUMAR wrote: > > From: Pratyush Anand > > > > This is a configurable gadget. can be configured by sysfs interface. Any > > IP available at PCIE bus can be programmed to be used by host > > controller.It supoorts both INTX and MSI. > > By default, gadget is configured for INTX and SYSRAM1 is mapped to BAR0 > > with size 0x1000 > > > > Signed-off-by: Pratyush Anand > > Signed-off-by: Viresh Kumar > > --- > > drivers/misc/Kconfig | 10 + > > drivers/misc/Makefile | 1 + > > drivers/misc/spear13xx_pcie_gadget.c | 888 ++++++++++++++++++++++++++++++++++ > > 3 files changed, 899 insertions(+), 0 deletions(-) > > create mode 100644 drivers/misc/spear13xx_pcie_gadget.c > > Andrew, > > Any review comments on this patch?? > I looked. I'd suggest cc'ing the PCI list and maintainer on future versions.