diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-01-21 15:49:53 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-02-06 00:19:03 -0500 |
commit | 8353ec7b0d6666c0674ca978379c55234609dae8 (patch) | |
tree | c95f9678b52891c6748ee68b4c8e6f7dd96f3051 /drivers/net/Kconfig | |
parent | 9ef9dc69d4167276c04590d67ee55de8380bc1ad (diff) |
cpmac: convert to new Fixed PHY infrastructure
This patch converts cpmac to the new Fixed PHY infrastructure, though it
doesn't fix all the problems with that driver. I didn't even bother to
test this patch to compile, because cpmac driver is broken in several ways:
1. This driver won't compile by itself because lack of its header describing
platform data;
2. It assumes that fixed PHYs should be created by the ethernet driver.
It is wrong assumption: fixed PHYs creation is platform code authority,
driver must blindly accept bus_id and phy_id platform data variables
instead.
Also, it seem that that driver doesn't have actual in-tree users, so
nothing to fix further.
The main purpose of that patch is to get rid of the following Kconfig
warning:
scripts/kconfig/conf -s arch/powerpc/Kconfig
drivers/net/Kconfig:1713:warning: 'select' used by config symbol
'CPMAC' refers to undefined symbol 'FIXED_MII_100_FDX'
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index f234ba3f0404..5cac0914a979 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1738,10 +1738,8 @@ config SC92031 | |||
1738 | 1738 | ||
1739 | config CPMAC | 1739 | config CPMAC |
1740 | tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)" | 1740 | tristate "TI AR7 CPMAC Ethernet support (EXPERIMENTAL)" |
1741 | depends on NET_ETHERNET && EXPERIMENTAL && AR7 | 1741 | depends on NET_ETHERNET && EXPERIMENTAL && AR7 && BROKEN |
1742 | select PHYLIB | 1742 | select PHYLIB |
1743 | select FIXED_PHY | ||
1744 | select FIXED_MII_100_FDX | ||
1745 | help | 1743 | help |
1746 | TI AR7 CPMAC Ethernet support | 1744 | TI AR7 CPMAC Ethernet support |
1747 | 1745 | ||