2001-10-09 16:04:30

by Stelian Pop

[permalink] [raw]
Subject: Re: Sonypi driver?

On Tue, Oct 09, 2001 at 08:14:31AM -0700, Tom Rini wrote:

> Hello. This driver is for some x86-only HW, yes? If so could you
> please change drivers/char/Config.in to only ask about it if
> "$CONFIG_EXPERIMENTAL" = "y" -a "$CONFIG_X86" = "y" ? Thanks.

Tom is right, patch attached (against 2.4.10-ac10 or 2.4.11-pre6).

Alan, Linus, please apply.

Stelian.

--- linux-2.4.10-ac10.orig/drivers/char/Config.in Tue Oct 9 11:13:23 2001
+++ linux-2.4.10-ac10/drivers/char/Config.in Tue Oct 9 17:49:55 2001
@@ -192,7 +192,7 @@
tristate 'Double Talk PC internal speech card support' CONFIG_DTLK
tristate 'Siemens R3964 line discipline' CONFIG_R3964
tristate 'Applicom intelligent fieldbus card support' CONFIG_APPLICOM
-if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
+if [ "$CONFIG_EXPERIMENTAL" = "y" -a "$CONFIG_X86" = "y" ]; then
dep_tristate 'Sony Vaio Programmable I/O Control Device support' CONFIG_SONYPI $CONFIG_PCI
fi

--
Stelian Pop <[email protected]>
|---------------- Free Software Engineer -----------------|
| Alc?ve - http://www.alcove.com - Tel: +33 1 49 22 68 00 |
|------------- Alc?ve, liberating software ---------------|