TI DaVinci EMAC driver
Subsystems (2)
PATCH 1/1 TI DaVinci EMAC driver
Add support for TI DaVinci EMAC driver.
TI DaVinci Ethernet Media Access Controller module is based upon TI CPPI 3.0 DMA engine and supports 10/100 Mbps on all and Gigabit modes on some TI devices. It supports MII/RMII and has up to 8Kbytes of internal descriptor memory. This driver has been working on several TI devices including DM644x, DM646x and DA830 platforms. The specs of this device are available at:
http://www.ti.com/litv/pdf/sprue24a
--- drivers/net/Kconfig | 10 + drivers/net/Makefile | 3 + drivers/net/davinci_emac.c | 2832 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 2845 insertions(+), 0 deletions(-) create mode 100644 drivers/net/davinci_emac.c
drivers/net/Kconfig +10 -0
@@ -927,6 +927,16 @@ config NET_NETX To compile this driver as a module, choose M here. The module will be called netx-eth. +config TI_DAVINCI_EMAC + tristate "TI DaVinci EMAC Support" + depends on ARM && ARCH_DAVINCI + select PHYLIB + help + This driver supports TI's DaVinci Ethernet . + + To compile this driver as a module, choose M here: the module + will be called davinci_emac_driver. This is recommended. + config DM9000 tristate "DM9000 support" depends on ARM || BLACKFIN || MIPS
drivers/net/Makefile +3 -0
@@ -2,6 +2,9 @@ # Makefile for the Linux network (ethercard) device drivers. # +davinci_emac_driver-objs := davinci_emac.o +obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac_driver.o + obj-$(CONFIG_E1000) += e1000/ obj-$(CONFIG_E1000E) += e1000e/ obj-$(CONFIG_IBM_NEW_EMAC) += ibm_newemac/
drivers/net/davinci_emac.c new file +2832 -0
2,832 lines not on this page · raw message
Signature · 1 line
1.5.6
David Miller
maintainerFrom: Chaithrika U S <[email protected]>
Date: Fri, 8 May 2009 09:34:22 -0400
Quoted 5 lines
drivers/net/Makefile +0
-0
drivers/net/Makefile line 10
Quoted 9 lines
drivers/net/Makefile +3
-0@@ -2,6 +2,9 @@ # Makefile for the Linux network (ethercard) device drivers. # +davinci_emac_driver-objs := davinci_emac.o +obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac_driver.o + obj-$(CONFIG_E1000) += e1000/ obj-$(CONFIG_E1000E) += e1000e/ obj-$(CONFIG_IBM_NEW_EMAC) += ibm_newemac/
If there is only one source file, this complicated construct is overkill. Simply do something like:
obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o
Quoted 32 lines
-----Original Message-----
From: David Miller [mailto:[email protected]]
Sent: Sunday, May 10, 2009 1:47 AM
To: [email protected]
Cc: [email protected]; davinci-linux-open- [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH net-next-2.6] TI DaVinci EMAC driverFrom: Chaithrika U S <[email protected]>
Date: Fri, 8 May 2009 09:34:22 -0400Quoted 5 lines
drivers/net/Makefile +0
-0drivers/net/Makefile line 10
Quoted 9 lines
drivers/net/Makefile +3
-0@@ -2,6 +2,9 @@ # Makefile for the Linux network (ethercard) device drivers. # +davinci_emac_driver-objs := davinci_emac.o +obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac_driver.o + obj-$(CONFIG_E1000) += e1000/ obj-$(CONFIG_E1000E) += e1000e/ obj-$(CONFIG_IBM_NEW_EMAC) += ibm_newemac/If there is only one source file, this complicated construct is overkill. Simply do something like:
Quoted 1 line
obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o
OK. Will change the makefile entry.
Regards,
Chaithrika