Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[linux-2.6-block.git] / drivers / net / ethernet / ti / Kconfig
1 #
2 # TI device configuration
3 #
4
5 config NET_VENDOR_TI
6         bool "Texas Instruments (TI) devices"
7         default y
8         depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
9         ---help---
10           If you have a network (Ethernet) card belonging to this class, say Y
11           and read the Ethernet-HOWTO, available from
12           <http://www.tldp.org/docs.html#howto>.
13
14           Note that the answer to this question doesn't directly affect the
15           kernel: saying N will just cause the configurator to skip all
16           the questions about TI devices. If you say Y, you will be asked for
17           your specific card in the following questions.
18
19 if NET_VENDOR_TI
20
21 config TI_DAVINCI_EMAC
22         tristate "TI DaVinci EMAC Support"
23         depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 )
24         select TI_DAVINCI_MDIO
25         select TI_DAVINCI_CPDMA
26         select PHYLIB
27         ---help---
28           This driver supports TI's DaVinci Ethernet .
29
30           To compile this driver as a module, choose M here: the module
31           will be called davinci_emac_driver.  This is recommended.
32
33 config TI_DAVINCI_MDIO
34         tristate "TI DaVinci MDIO Support"
35         depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
36         select PHYLIB
37         ---help---
38           This driver supports TI's DaVinci MDIO module.
39
40           To compile this driver as a module, choose M here: the module
41           will be called davinci_mdio.  This is recommended.
42
43 config TI_DAVINCI_CPDMA
44         tristate "TI DaVinci CPDMA Support"
45         depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
46         ---help---
47           This driver supports TI's DaVinci CPDMA dma engine.
48
49           To compile this driver as a module, choose M here: the module
50           will be called davinci_cpdma.  This is recommended.
51
52 config TI_CPSW_PHY_SEL
53         bool "TI CPSW Switch Phy sel Support"
54         depends on TI_CPSW
55         ---help---
56           This driver supports configuring of the phy mode connected to
57           the CPSW.
58
59 config TI_CPSW_ALE
60         tristate "TI CPSW ALE Support"
61         ---help---
62           This driver supports TI's CPSW ALE module.
63
64 config TI_CPSW
65         tristate "TI CPSW Switch Support"
66         depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
67         select TI_DAVINCI_CPDMA
68         select TI_DAVINCI_MDIO
69         select TI_CPSW_PHY_SEL
70         select TI_CPSW_ALE
71         select MFD_SYSCON
72         select REGMAP
73         ---help---
74           This driver supports TI's CPSW Ethernet Switch.
75
76           To compile this driver as a module, choose M here: the module
77           will be called cpsw.
78
79 config TI_CPTS
80         bool "TI Common Platform Time Sync (CPTS) Support"
81         depends on TI_CPSW
82         select PTP_1588_CLOCK
83         ---help---
84           This driver supports the Common Platform Time Sync unit of
85           the CPSW Ethernet Switch. The unit can time stamp PTP UDP/IPv4
86           and Layer 2 packets, and the driver offers a PTP Hardware Clock.
87
88 config TI_KEYSTONE_NETCP
89         tristate "TI Keystone NETCP Core Support"
90         select TI_CPSW_ALE
91         depends on OF
92         depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
93         ---help---
94           This driver supports TI's Keystone NETCP Core.
95
96           To compile this driver as a module, choose M here: the module
97           will be called keystone_netcp.
98
99 config TI_KEYSTONE_NETCP_ETHSS
100         depends on TI_KEYSTONE_NETCP
101         tristate "TI Keystone NETCP Ethernet subsystem Support"
102         ---help---
103
104           To compile this driver as a module, choose M here: the module
105           will be called keystone_netcp_ethss.
106
107 config TLAN
108         tristate "TI ThunderLAN support"
109         depends on (PCI || EISA)
110         ---help---
111           If you have a PCI Ethernet network card based on the ThunderLAN chip
112           which is supported by this driver, say Y and read the
113           Ethernet-HOWTO, available from
114           <http://www.tldp.org/docs.html#howto>.
115
116           Devices currently supported by this driver are Compaq Netelligent,
117           Compaq NetFlex and Olicom cards.  Please read the file
118           <file:Documentation/networking/tlan.txt> for more details.
119
120           To compile this driver as a module, choose M here. The module
121           will be called tlan.
122
123           Please email feedback to <torben.mathiasen@compaq.com>.
124
125 config CPMAC
126         tristate "TI AR7 CPMAC Ethernet support"
127         depends on AR7
128         select PHYLIB
129         ---help---
130           TI AR7 CPMAC Ethernet support
131
132 endif # NET_VENDOR_TI