diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-11-01 10:22:30 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-01 16:04:45 -0400 |
commit | 644fdf9b08e51e172d54cb500473470edb4ba1e0 (patch) | |
tree | f08b214b5772f2281c2f453dbdaf58be0607cf2c /drivers/net/Kconfig | |
parent | e403149c92a2a0643211debbbb0a9ec7cc04cff7 (diff) |
mpc5200: Fix Kconfig dependancies on MPC5200 FEC device driver
When not building an arch/powerpc kernel, the mpc5200 FEC driver depends
on some symbols which are not defined (BESTCOMM & BESTCOMM_FEC).
This patch flips around the dependancy logic so that it cannot be
selected unless BESTCOMM_FEC is selected first. Kconfig stops
complaining this way.
Also, the driver only works for arch/powerpc (not arch/ppc) anyway so
it should depend on PPC_MERGE also.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.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 867cb7345b5f..5f800a6dd978 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1883,9 +1883,7 @@ config FEC2 | |||
1883 | 1883 | ||
1884 | config FEC_MPC52xx | 1884 | config FEC_MPC52xx |
1885 | tristate "MPC52xx FEC driver" | 1885 | tristate "MPC52xx FEC driver" |
1886 | depends on PPC_MPC52xx | 1886 | depends on PPC_MERGE && PPC_MPC52xx && PPC_BESTCOMM_FEC |
1887 | select PPC_BESTCOMM | ||
1888 | select PPC_BESTCOMM_FEC | ||
1889 | select CRC32 | 1887 | select CRC32 |
1890 | select PHYLIB | 1888 | select PHYLIB |
1891 | ---help--- | 1889 | ---help--- |