Skip to contentSkip to conversation

net-next-2.6: TI DaVinci EMAC driver

PATCH Applied Chaithrika U S 2 participants 3 messages May 18, 2009 – May 21, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net-next-2.6: 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       |    2 +
 drivers/net/davinci_emac.c | 2832 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 2844 insertions(+), 0 deletions(-)
 create mode 100644 drivers/net/davinci_emac.c
drivers/net/Kconfig +10 -0
index 48b73b0..0fb446e 100644
@@ -926,6 +926,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 +2 -0
index dcd5f15..f07a1e9 100644
@@ -2,6 +2,8 @@
 # Makefile for the Linux network (ethercard) device drivers.
 #
 
+obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.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
maintainer Applied
#1 lore raw

From: Chaithrika U S <[email protected]>
Date: Mon, 18 May 2009 07:34:32 -0400

Quoted 9 lines

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

Quoted 3 lines

Applied, thanks.

BTW, DECLARE_MAC_BUF(), print_mac() et al. is deprecated, you can simply use the printf format specifier "%pM" to print MAC addresses directly.

author
#2 lore raw

David,

Quoted 22 lines

-----Original Message-----
From: David Miller [mailto:[email protected]]
Sent: Tuesday, May 19, 2009 3:50 AM
To: [email protected]
Cc: [email protected]; davinci-linux-open- [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v2] net-next-2.6: TI DaVinci EMAC driver

From: Chaithrika U S <[email protected]>
Date: Mon, 18 May 2009 07:34:32 -0400

Quoted 4 lines

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

Quoted 1 line

some TI devices. It supports MII/RMII and has up to 8Kbytes of

internal

Quoted 1 line

descriptor memory. This driver has been working on several TI devices

including

Quoted 1 line

DM644x, DM646x and DA830 platforms. The specs of this device are

Quoted 9 lines

available at:

Quoted 5 lines

http://www.ti.com/litv/pdf/sprue24a

Applied, thanks.

Thanks.

Quoted 3 lines

BTW, DECLARE_MAC_BUF(), print_mac() et al. is deprecated, you can simply use the printf format specifier "%pM" to print MAC addresses directly.

OK. Will submit a patch for this.

Regards,
Chaithrika