xref: /linux/drivers/net/ethernet/ti/Kconfig (revision be709d48329a500621d2a05835283150ae137b45)
1#
2# TI device configuration
3#
4
5config 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
17if NET_VENDOR_TI
18
19config TI_DAVINCI_EMAC
20	tristate "TI DaVinci EMAC Support"
21	depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST
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
31config TI_DAVINCI_MDIO
32	tristate "TI DaVinci MDIO Support"
33	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
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
41config TI_DAVINCI_CPDMA
42	tristate "TI DaVinci CPDMA Support"
43	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
44	select GENERIC_ALLOCATOR
45	---help---
46	  This driver supports TI's DaVinci CPDMA dma engine.
47
48	  To compile this driver as a module, choose M here: the module
49	  will be called davinci_cpdma.  This is recommended.
50
51config TI_CPSW_PHY_SEL
52	bool "TI CPSW Phy mode Selection (DEPRECATED)"
53	default n
54	---help---
55	  This driver supports configuring of the phy mode connected to
56	  the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
57
58config TI_CPSW_ALE
59	tristate "TI CPSW ALE Support"
60	---help---
61	  This driver supports TI's CPSW ALE module.
62
63config TI_CPSW
64	tristate "TI CPSW Switch Support"
65	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
66	select TI_DAVINCI_CPDMA
67	select TI_DAVINCI_MDIO
68	select TI_CPSW_ALE
69	select MFD_SYSCON
70	select REGMAP
71	---help---
72	  This driver supports TI's CPSW Ethernet Switch.
73
74	  To compile this driver as a module, choose M here: the module
75	  will be called cpsw.
76
77config TI_CPTS
78	bool "TI Common Platform Time Sync (CPTS) Support"
79	depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST
80	depends on POSIX_TIMERS
81	---help---
82	  This driver supports the Common Platform Time Sync unit of
83	  the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
84	  The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
85	  driver offers a PTP Hardware Clock.
86
87config TI_CPTS_MOD
88	tristate
89	depends on TI_CPTS
90	default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y
91	select NET_PTP_CLASSIFY
92	imply PTP_1588_CLOCK
93	default m
94
95config TI_KEYSTONE_NETCP
96	tristate "TI Keystone NETCP Core Support"
97	select TI_CPSW_ALE
98	select TI_DAVINCI_MDIO
99	depends on OF
100	depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
101	---help---
102	  This driver supports TI's Keystone NETCP Core.
103
104	  To compile this driver as a module, choose M here: the module
105	  will be called keystone_netcp.
106
107config TI_KEYSTONE_NETCP_ETHSS
108	depends on TI_KEYSTONE_NETCP
109	tristate "TI Keystone NETCP Ethernet subsystem Support"
110	---help---
111
112	  To compile this driver as a module, choose M here: the module
113	  will be called keystone_netcp_ethss.
114
115config TLAN
116	tristate "TI ThunderLAN support"
117	depends on (PCI || EISA)
118	---help---
119	  If you have a PCI Ethernet network card based on the ThunderLAN chip
120	  which is supported by this driver, say Y here.
121
122	  Devices currently supported by this driver are Compaq Netelligent,
123	  Compaq NetFlex and Olicom cards.  Please read the file
124	  <file:Documentation/networking/device_drivers/ti/tlan.txt>
125	  for more details.
126
127	  To compile this driver as a module, choose M here. The module
128	  will be called tlan.
129
130	  Please email feedback to <torben.mathiasen@compaq.com>.
131
132config CPMAC
133	tristate "TI AR7 CPMAC Ethernet support"
134	depends on AR7
135	select PHYLIB
136	---help---
137	  TI AR7 CPMAC Ethernet support
138
139endif # NET_VENDOR_TI
140