Skip to contentSkip to conversation

net: add Xilinx emac lite device driver

PATCH Superseded John Linn 3 participants 5 messages Aug 19, 2009 – Aug 20, 2009

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

John Linn

author
#0 lore raw

PATCH v2 1/1 net: add Xilinx emac lite device driver

This patch adds support for the Xilinx Ethernet Lite device. The soft logic core from Xilinx is typically used on Virtex and Spartan designs attached to either a PowerPC or a Microblaze processor.

CC Grant Likely <[email protected]>
CC Josh Boyer <[email protected]>
CC John Williams <[email protected]>
CC Michal Simek <[email protected]>

---

V2 - cleanup based on review, added depends for ppc and mb in Kconfig

---
 drivers/net/Kconfig           |    6 +
 drivers/net/Makefile          |    1 +
 drivers/net/xilinx_emaclite.c | 1040 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1047 insertions(+), 0 deletions(-)
 create mode 100755 drivers/net/xilinx_emaclite.c
drivers/net/Kconfig +6 -0
index 5f6509a..ec77b69 100644
@@ -1926,6 +1926,12 @@ config ATL2
 	  To compile this driver as a module, choose M here.  The module
 	  will be called atl2.
 
+config XILINX_EMACLITE
+	tristate "Xilinx 10/100 Ethernet Lite support"
+	depends on PPC32 || MICROBLAZE
+	help
+	  This driver supports the 10/100 Ethernet Lite from Xilinx.
+
 source "drivers/net/fs_enet/Kconfig"
 
 endif # NET_ETHERNET
drivers/net/Makefile +1 -0
index ead8cab..99ae6d7 100644
@@ -142,6 +142,7 @@ obj-$(CONFIG_TSI108_ETH) += tsi108_eth.o
 obj-$(CONFIG_MV643XX_ETH) += mv643xx_eth.o
 ll_temac-objs := ll_temac_main.o ll_temac_mdio.o
 obj-$(CONFIG_XILINX_LL_TEMAC) += ll_temac.o
+obj-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
 obj-$(CONFIG_QLA3XXX) += qla3xxx.o
 obj-$(CONFIG_QLGE) += qlge/
 
drivers/net/xilinx_emaclite.c new file +1040 -0

1,040 lines not on this page · raw message

Signature · 5 lines
1.6.2.1



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
#2 lore raw
Quoted 8 lines · David Miller

From: John Linn <[email protected]>
Date: Wed, 19 Aug 2009 06:29:11 -0600

Quoted 4 lines

This patch adds support for the Xilinx Ethernet Lite device. The soft logic core from Xilinx is typically used on Virtex and Spartan designs attached to either a PowerPC or a Microblaze processor.

Quoted 6 lines
Quoted 3 lines

Looks good, applied to net-next-2.6, thanks!

There were one bug with spinlock which John L fixed but not send to mainling list. :-(
He wanted to create new v3 version. :-(.
When he wake up, he send you that bug fix or v3 version with it.

Regards,
Michal

Signature · 3 lines
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
maintainer
#3 lore raw

From: Michal Simek <[email protected]>
Date: Thu, 20 Aug 2009 11:28:48 +0200

Quoted 4 lines

There were one bug with spinlock which John L fixed but not send to mainling list. :-(
He wanted to create new v3 version. :-(.
When he wake up, he send you that bug fix or v3 version with it.

Send a new version, I'll revert V2 from my tree as I didn't push it out yet.

author
#4 lore raw
Quoted 5 lines

-----Original Message-----
From: David Miller [mailto:[email protected]]
Sent: Thursday, August 20, 2009 10:31 AM
To: [email protected]
Cc: John Linn; [email protected]; [email protected];

[email protected];

Quoted 1 line

[email protected]; [email protected];

[email protected]; Sadanand Mutyala

Quoted 5 lines

Subject: Re: [PATCH] [V2] net: add Xilinx emac lite device driver

From: Michal Simek <[email protected]>
Date: Thu, 20 Aug 2009 11:28:48 +0200

Quoted 7 lines
Quoted 4 lines

There were one bug with spinlock which John L fixed but not send to mainling list. :-(
He wanted to create new v3 version. :-(.
When he wake up, he send you that bug fix or v3 version with it.

Send a new version, I'll revert V2 from my tree as I didn't push it out yet.

I'll send a V3 version very soon, thanks.

Sorry for the hassle as I thought there would be more comments and I'd incorporate the bug fix into those.

Appreciate your help.

-- John

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.