diff options
author | Olof Johansson <olof@lixom.net> | 2007-04-24 19:17:33 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-27 01:51:56 -0400 |
commit | 116ab40df8decf8c519368e31825e9584c86adf2 (patch) | |
tree | e11a6d4aaf1093c41b3ff47dc7df67e2cfcc15c8 /arch/powerpc/platforms/pasemi | |
parent | 952418cd3894cf370cf2c9acdfd498c84c3b7cf9 (diff) |
[POWERPC] pasemi: Kconfig for gpio_mdio
arch/powerpc/platforms/pasemi/gpio_mdio.c really depends on CONFIG_PHYLIB.
Add a config option for it, allow for it to be disabled if needed and fix
the dependency.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pasemi')
-rw-r--r-- | arch/powerpc/platforms/pasemi/Kconfig | 7 | ||||
-rw-r--r-- | arch/powerpc/platforms/pasemi/Makefile | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pasemi/Kconfig b/arch/powerpc/platforms/pasemi/Kconfig index 64e55250ef46..eb4dbc705b06 100644 --- a/arch/powerpc/platforms/pasemi/Kconfig +++ b/arch/powerpc/platforms/pasemi/Kconfig | |||
@@ -19,4 +19,11 @@ config PPC_PASEMI_IOMMU | |||
19 | help | 19 | help |
20 | IOMMU support for PA6T-1682M | 20 | IOMMU support for PA6T-1682M |
21 | 21 | ||
22 | config PPC_PASEMI_MDIO | ||
23 | depends on PHYLIB | ||
24 | tristate "MDIO support via GPIO" | ||
25 | default y | ||
26 | help | ||
27 | Driver for MDIO via GPIO on PWRficient platforms | ||
28 | |||
22 | endmenu | 29 | endmenu |
diff --git a/arch/powerpc/platforms/pasemi/Makefile b/arch/powerpc/platforms/pasemi/Makefile index e90265f610ef..7ffd43b43e02 100644 --- a/arch/powerpc/platforms/pasemi/Makefile +++ b/arch/powerpc/platforms/pasemi/Makefile | |||
@@ -1,2 +1,2 @@ | |||
1 | obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o gpio_mdio.o | 1 | obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o |
2 | 2 | obj-$(CONFIG_PPC_PASEMI_MDIO) += gpio_mdio.o | |