From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760324AbYGAWJz (ORCPT ); Tue, 1 Jul 2008 18:09:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755772AbYGAWJr (ORCPT ); Tue, 1 Jul 2008 18:09:47 -0400 Received: from xenotime.net ([66.160.160.81]:59266 "HELO xenotime.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754320AbYGAWJq (ORCPT ); Tue, 1 Jul 2008 18:09:46 -0400 Date: Tue, 1 Jul 2008 15:09:38 -0700 (PDT) From: "Randy.Dunlap" X-X-Sender: rddunlap@shark.he.net To: Domenico Andreoli cc: linux-kernel , David Brownell Subject: Re: [PATCH] Add btgpio driver In-Reply-To: <20080701220601.GA31029@ska.dandreoli.com> Message-ID: References: <200807010206.38714.mb@bu3sch.de> <20080701010414.GA5279@ska.dandreoli.com> <20080701220601.GA31029@ska.dandreoli.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2 Jul 2008, Domenico Andreoli wrote: > On Tue, Jul 01, 2008 at 03:04:15AM +0200, Domenico Andreoli wrote: > > On Tue, Jul 01, 2008 at 02:06:38AM +0200, Michael Buesch wrote: > > > This adds the btgpio driver. > > > The purpose of the btgpio driver is to export all of the 24 GPIO pins > > > available on Brooktree 8xx chips to the kernel GPIO infrastructure. > > > > > > This makes it possible to use a physically modified BT8xx card as > > > cheap digital GPIO card. > > > > > > Signed-off-by: Michael Buesch > > > > How one is supposed to test this driver? I am unable to switch on > > the GIPO lib support in my config. I tried also allyesconfig but no > > trace of gpio lib stuff. > > Really, GPIO menu is no present anywhere. While searching for GPIO > finds stuff, I am unable to locate and select it. I am using 2.6.26-rc8. For what $ARCH? GPIO menu says this: config HAVE_GPIO_LIB bool help Platforms select gpiolib if they use this infrastructure for all their GPIOs, usually starting with ones integrated into SOC processors. and then the arch-es that select HAVE_GPIO_LIB are these: ./arch/powerpc/platforms/52xx/Kconfig:50: select HAVE_GPIO_LIB ./arch/mips/Kconfig:803: select HAVE_GPIO_LIB ./arch/avr32/Kconfig:90: select HAVE_GPIO_LIB ./arch/avr32/Kconfig.orig:85: select HAVE_GPIO_LIB ./arch/arm/Kconfig:257: select HAVE_GPIO_LIB ./arch/arm/Kconfig:396: select HAVE_GPIO_LIB ./arch/arm/Kconfig:426: select HAVE_GPIO_LIB ./arch/arm/Kconfig:466: select HAVE_GPIO_LIB ./arch/arm/Kconfig.orig:401: select HAVE_GPIO_LIB so are you using one of those arches? -- ~Randy