Re: tighten i2c dependancies

From: Christoph Hellwig
Date: Sat Apr 30 2005 - 02:38:03 EST


On Sat, Apr 30, 2005 at 01:57:45AM -0400, Dave Jones wrote:
> config I2C_ALI15X3
> tristate "ALI 15x3"
> - depends on I2C && PCI && EXPERIMENTAL
> + depends on X86 && I2C && PCI && EXPERIMENTAL
> help
> If you say yes to this option, support will be included for the
> Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces.

one of the ali bridges is used on sparc64 aswell, not sure which one.

> @@ -41,7 +41,7 @@ config I2C_ALI15X3
>
> config I2C_AMD756
> tristate "AMD 756/766/768/8111 and nVidia nForce"
> - depends on I2C && PCI && EXPERIMENTAL
> + depends on X86 && I2C && PCI && EXPERIMENTAL
> help
> If you say yes to this option, support will be included for the AMD
> 756/766/768 mainboard I2C interfaces. The driver also includes

also used on alpha and ppc64


> config I2C_AMD8111
> tristate "AMD 8111"
> - depends on I2C && PCI && EXPERIMENTAL
> + depends on X86 && I2C && PCI && EXPERIMENTAL
> help
> If you say yes to this option, support will be included for the
> second (SMBus 2.0) AMD 8111 mainboard I2C interface.

ppc64

> config I2C_PIIX4
> tristate "Intel PIIX4"
> - depends on I2C && PCI
> + depends on X86 && I2C && PCI
> help
> If you say yes to this option, support will be included for the Intel
> PIIX4 family of mainboard I2C interfaces. Specifically, the following
> @@ -437,7 +437,7 @@ config I2C_STUB

the PIIX is used on various non-x86 systems, at least ppc and mips come to
mind.

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