lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200807021140.23876.mb@bu3sch.de>
Date:	Wed, 2 Jul 2008 11:40:23 +0200
From:	Michael Buesch <mb@...sch.de>
To:	David Brownell <david-b@...bell.net>
Cc:	lkml <linux-kernel@...r.kernel.org>,
	Florian Fainelli <florian.fainelli@...ecomint.eu>
Subject: Re: [PATCH RFC] x86: Add user configurable GPIO-lib support

On Wednesday 02 July 2008 04:57:41 David Brownell wrote:
> More food for thought ... 
> 
> This makes the rdc321x support switch over to using gpiolib,
> along with all of x86.  Quick'n'dirty.
> 
> It's perhaps best done in conjunction with something to
> make GPIOLIB be user-configurable on systems where it's not
> already selected by platform code.  The rdc321x stuff needs
> more working, but this is a start.
> 
> - Dave
> 
> ---
>  arch/x86/Kconfig                            |    6 +
>  arch/x86/mach-rdc321x/gpio.c                |  107 ++++++++--------------------
>  arch/x86/mach-rdc321x/platform.c            |    3 
>  include/asm-x86/gpio.h                      |   22 +++++
>  include/asm-x86/mach-rdc321x/gpio.h         |   52 -------------
>  include/asm-x86/mach-rdc321x/rdc321x_defs.h |    2 
>  6 files changed, 62 insertions(+), 130 deletions(-)
> 
> --- a/arch/x86/Kconfig	2008-07-01 16:46:11.000000000 -0700
> +++ b/arch/x86/Kconfig	2008-07-01 16:46:13.000000000 -0700
> @@ -87,7 +87,10 @@ config GENERIC_HWEIGHT
>  	def_bool y
>  
>  config GENERIC_GPIO
> -	def_bool n
> +	def_bool y
> +
> +config HAVE_GPIO_LIB
> +	def_bool y

I think we should not unconditionally compile in gpiolib.
See my other patch that converts the stuff to be user selectable.

(Too bad all my mail bounces at Daves mailfilter and this won't reach him... :/ )


-- 
Greetings Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ