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