Root/target/linux/coldfire/patches-2.6.31/006-mcf548x_ethernet.patch

1--- a/drivers/net/Kconfig
2+++ b/drivers/net/Kconfig
3@@ -2010,6 +2010,29 @@ config FEC2
4       Say Y here if you want to use the second built-in 10/100 Fast
5       ethernet controller on some Motorola ColdFire processors.
6 
7+config FEC_548x
8+ tristate "MCF547x/MCF548x Fast Ethernet Controller support"
9+ depends on M547X_8X
10+ select PHYLIB
11+ help
12+ The MCF547x and MCF548x have a built-in Fast Ethernet Controller.
13+ Saying Y here will include support for this device in the kernel.
14+
15+ To compile this driver as a module, choose M here: the module
16+ will be called fecm.
17+
18+config FEC_548x_ENABLE_FEC2
19+ bool "Enable the second FEC"
20+ depends on FEC_548x
21+ help
22+ This enables the second FEC on the 547x/548x.
23+
24+config FEC_548x_SHARED_PHY
25+ bool "Shared PHY interface(on some ColdFire designs)"
26+ depends on FEC_548x_ENABLE_FEC2
27+ help
28+ Say Y here if both PHYs are controlled via a single channel.+
29+
30 config FEC_MPC52xx
31     tristate "MPC52xx FEC driver"
32     depends on PPC_MPC52xx && PPC_BESTCOMM
33--- a/drivers/net/Makefile
34+++ b/drivers/net/Makefile
35@@ -114,6 +114,7 @@ obj-$(CONFIG_PCMCIA_PCNET) += 8390.o
36 obj-$(CONFIG_HP100) += hp100.o
37 obj-$(CONFIG_SMC9194) += smc9194.o
38 obj-$(CONFIG_FEC) += fec.o
39+obj-$(CONFIG_FEC_548x) += fec_m547x.o
40 obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx.o
41 ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y)
42     obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o
43

Archive Download this file



interactive