diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-09-15 10:11:28 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-09-24 10:40:31 -0400 |
commit | ef8c2dab01b6e30c4b2ca3ea3b8db33430493589 (patch) | |
tree | 4556ea23735493311258114d770c5e17d55ca8f5 /drivers/net/Kconfig | |
parent | 7b3742aff1a9946b9b25f16d6a7ca22c10926391 (diff) |
net: davinci_emac: separate out cpdma code
In addition to being embedded into the EMAC controller, the CPDMA hardware
block is used in TI's CPSW switch controller. Fortunately, the programming
interface to this hardware block remains pretty nicely consistent across these
devices.
This patch adds a new CPDMA services layer, which can then be reused across
EMAC and CPSW drivers.
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Tested-by: Michael Williamson <michael.williamson@criticallink.com>
Tested-by: Caglar Akyuz <caglarakyuz@gmail.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r-- | drivers/net/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 911e7f148107..775fd8797c2a 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -952,6 +952,7 @@ config TI_DAVINCI_EMAC | |||
952 | tristate "TI DaVinci EMAC Support" | 952 | tristate "TI DaVinci EMAC Support" |
953 | depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) | 953 | depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) |
954 | select TI_DAVINCI_MDIO | 954 | select TI_DAVINCI_MDIO |
955 | select TI_DAVINCI_CPDMA | ||
955 | select PHYLIB | 956 | select PHYLIB |
956 | help | 957 | help |
957 | This driver supports TI's DaVinci Ethernet . | 958 | This driver supports TI's DaVinci Ethernet . |
@@ -969,6 +970,15 @@ config TI_DAVINCI_MDIO | |||
969 | To compile this driver as a module, choose M here: the module | 970 | To compile this driver as a module, choose M here: the module |
970 | will be called davinci_mdio. This is recommended. | 971 | will be called davinci_mdio. This is recommended. |
971 | 972 | ||
973 | config TI_DAVINCI_CPDMA | ||
974 | tristate "TI DaVinci CPDMA Support" | ||
975 | depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) | ||
976 | help | ||
977 | This driver supports TI's DaVinci CPDMA dma engine. | ||
978 | |||
979 | To compile this driver as a module, choose M here: the module | ||
980 | will be called davinci_cpdma. This is recommended. | ||
981 | |||
972 | config DM9000 | 982 | config DM9000 |
973 | tristate "DM9000 support" | 983 | tristate "DM9000 support" |
974 | depends on ARM || BLACKFIN || MIPS | 984 | depends on ARM || BLACKFIN || MIPS |