]> git.ipfire.org Git - people/ms/linux.git/blame - drivers/net/ethernet/freescale/Kconfig
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[people/ms/linux.git] / drivers / net / ethernet / freescale / Kconfig
CommitLineData
ec21e2ec
JK
1#
2# Freescale device configuration
3#
4
5config NET_VENDOR_FREESCALE
6 bool "Freescale devices"
88f07484 7 default y
ec21e2ec
JK
8 depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \
9 M523x || M527x || M5272 || M528x || M520x || M532x || \
fe761bcb
SX
10 ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \
11 ARCH_LAYERSCAPE
ec21e2ec 12 ---help---
138b15ed 13 If you have a network (Ethernet) card belonging to this class, say Y.
ec21e2ec
JK
14
15 Note that the answer to this question doesn't directly affect the
16 kernel: saying N will just cause the configurator to skip all
230dec61
SG
17 the questions about Freescale devices. If you say Y, you will be
18 asked for your specific card in the following questions.
ec21e2ec
JK
19
20if NET_VENDOR_FREESCALE
21
22config FEC
26cf820d 23 tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
ec21e2ec 24 depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
0d903247
WS
25 ARCH_MXC || SOC_IMX28)
26 default ARCH_MXC || SOC_IMX28 if ARM
ec21e2ec 27 select PHYLIB
ff43da86 28 select PTP_1588_CLOCK
ec21e2ec
JK
29 ---help---
30 Say Y here if you want to use the built-in 10/100 Fast ethernet
31 controller on some Motorola ColdFire and Freescale i.MX processors.
32
33config FEC_MPC52xx
34 tristate "FEC MPC52xx driver"
35 depends on PPC_MPC52xx && PPC_BESTCOMM
36 select CRC32
37 select PHYLIB
38 select PPC_BESTCOMM_FEC
39 ---help---
40 This option enables support for the MPC5200's on-chip
41 Fast Ethernet Controller
42 If compiled as module, it will be called fec_mpc52xx.
43
44config FEC_MPC52xx_MDIO
45 bool "FEC MPC52xx MDIO bus driver"
46 depends on FEC_MPC52xx
47 default y
48 ---help---
49 The MPC5200's FEC can connect to the Ethernet either with
50 an external MII PHY chip or 10 Mbps 7-wire interface
51 (Motorola? industry standard).
52 If your board uses an external PHY connected to FEC, enable this.
53 If not sure, enable.
54 If compiled as module, it will be called fec_mpc52xx_phy.
55
56source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
57
58config FSL_PQ_MDIO
59 tristate "Freescale PQ MDIO"
ec21e2ec
JK
60 select PHYLIB
61 ---help---
62 This driver supports the MDIO bus used by the gianfar and UCC drivers.
63
9f35a734
TT
64config FSL_XGMAC_MDIO
65 tristate "Freescale XGMAC MDIO"
9f35a734 66 select PHYLIB
39f33367 67 select OF_MDIO
9f35a734 68 ---help---
1fcf77c8
AF
69 This driver supports the MDIO bus on the Fman 10G Ethernet MACs, and
70 on the FMan mEMAC (which supports both Clauses 22 and 45)
9f35a734 71
ec21e2ec
JK
72config UCC_GETH
73 tristate "Freescale QE Gigabit Ethernet"
74 depends on QUICC_ENGINE
75 select FSL_PQ_MDIO
76 select PHYLIB
77 ---help---
78 This driver supports the Gigabit Ethernet mode of the QUICC Engine,
79 which is available on some Freescale SOCs.
80
81config UGETH_TX_ON_DEMAND
82 bool "Transmit on Demand support"
83 depends on UCC_GETH
84
85config GIANFAR
86 tristate "Gianfar Ethernet"
ec21e2ec
JK
87 select FSL_PQ_MDIO
88 select PHYLIB
89 select CRC32
90 ---help---
91 This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
bbc65bf7
AW
92 and MPC86xx family of chips, the eTSEC on LS1021A and the FEC
93 on the 8540.
ec21e2ec
JK
94
95endif # NET_VENDOR_FREESCALE