mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
netdev: driver: ethernet: Add TI CPSW driver
This patch adds support for TI's CPSW driver. The three port switch gigabit ethernet subsystem provides ethernet packet communication and can be configured as an ethernet switch. Supports 10/100/1000 Mbps. Signed-off-by: Cyril Chemparathy <[email protected]> Signed-off-by: Sriramakrishnan A G <[email protected]> Signed-off-by: Mugunthan V N <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
db82173f23
commit
df828598a7
4 changed files with 1086 additions and 0 deletions
|
|
@ -49,6 +49,17 @@ config TI_DAVINCI_CPDMA
|
|||
To compile this driver as a module, choose M here: the module
|
||||
will be called davinci_cpdma. This is recommended.
|
||||
|
||||
config TI_CPSW
|
||||
tristate "TI CPSW Switch Support"
|
||||
depends on ARM && (ARCH_DAVINCI || SOC_OMAPAM33XX)
|
||||
select TI_DAVINCI_CPDMA
|
||||
select TI_DAVINCI_MDIO
|
||||
---help---
|
||||
This driver supports TI's CPSW Ethernet Switch.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called cpsw.
|
||||
|
||||
config TLAN
|
||||
tristate "TI ThunderLAN support"
|
||||
depends on (PCI || EISA)
|
||||
|
|
|
|||
|
|
@ -7,3 +7,5 @@ obj-$(CONFIG_CPMAC) += cpmac.o
|
|||
obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o
|
||||
obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o
|
||||
obj-$(CONFIG_TI_DAVINCI_CPDMA) += davinci_cpdma.o
|
||||
obj-$(CONFIG_TI_CPSW) += ti_cpsw.o
|
||||
ti_cpsw-y := cpsw_ale.o cpsw.o
|
||||
|
|
|
|||
1018
drivers/net/ethernet/ti/cpsw.c
Normal file
1018
drivers/net/ethernet/ti/cpsw.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue