blob: 4dbe41f1cbc6b1fa13eb12fa9357a748c5610edb [file] [log] [blame]
Jeff Kirsherec21e2e2011-06-11 02:29:36 -07001#
2# Freescale device configuration
3#
4
5config NET_VENDOR_FREESCALE
6 bool "Freescale devices"
Jeff Kirsher88f07482011-08-23 01:29:52 -07007 default y
Jeff Kirsherec21e2e2011-06-11 02:29:36 -07008 depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
9 M523x || M527x || M5272 || M528x || M520x || M532x || \
10 IMX_HAVE_PLATFORM_FEC || MXS_HAVE_PLATFORM_FEC || \
11 (PPC_MPC52xx && PPC_BESTCOMM)
12 ---help---
13 If you have a network (Ethernet) card belonging to this class, say Y
14 and read the Ethernet-HOWTO, available from
15 <http://www.tldp.org/docs.html#howto>.
16
17 Note that the answer to this question doesn't directly affect the
18 kernel: saying N will just cause the configurator to skip all
19 the questions about IBM devices. If you say Y, you will be asked for
20 your specific card in the following questions.
21
22if NET_VENDOR_FREESCALE
23
24config FEC
25 bool "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
26 depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
27 IMX_HAVE_PLATFORM_FEC || MXS_HAVE_PLATFORM_FEC)
28 default IMX_HAVE_PLATFORM_FEC || MXS_HAVE_PLATFORM_FEC if ARM
29 select PHYLIB
30 ---help---
31 Say Y here if you want to use the built-in 10/100 Fast ethernet
32 controller on some Motorola ColdFire and Freescale i.MX processors.
33
34config FEC_MPC52xx
35 tristate "FEC MPC52xx driver"
36 depends on PPC_MPC52xx && PPC_BESTCOMM
37 select CRC32
38 select PHYLIB
39 select PPC_BESTCOMM_FEC
40 ---help---
41 This option enables support for the MPC5200's on-chip
42 Fast Ethernet Controller
43 If compiled as module, it will be called fec_mpc52xx.
44
45config FEC_MPC52xx_MDIO
46 bool "FEC MPC52xx MDIO bus driver"
47 depends on FEC_MPC52xx
48 default y
49 ---help---
50 The MPC5200's FEC can connect to the Ethernet either with
51 an external MII PHY chip or 10 Mbps 7-wire interface
52 (Motorola? industry standard).
53 If your board uses an external PHY connected to FEC, enable this.
54 If not sure, enable.
55 If compiled as module, it will be called fec_mpc52xx_phy.
56
57source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
58
59config FSL_PQ_MDIO
60 tristate "Freescale PQ MDIO"
61 depends on FSL_SOC
62 select PHYLIB
63 ---help---
64 This driver supports the MDIO bus used by the gianfar and UCC drivers.
65
66config UCC_GETH
67 tristate "Freescale QE Gigabit Ethernet"
68 depends on QUICC_ENGINE
69 select FSL_PQ_MDIO
70 select PHYLIB
71 ---help---
72 This driver supports the Gigabit Ethernet mode of the QUICC Engine,
73 which is available on some Freescale SOCs.
74
75config UGETH_TX_ON_DEMAND
76 bool "Transmit on Demand support"
77 depends on UCC_GETH
78
79config GIANFAR
80 tristate "Gianfar Ethernet"
81 depends on FSL_SOC
82 select FSL_PQ_MDIO
83 select PHYLIB
84 select CRC32
85 ---help---
86 This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
87 and MPC86xx family of chips, and the FEC on the 8540.
88
89endif # NET_VENDOR_FREESCALE