[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Bugfix for EmacLite driver with RX/TX PingPong enabled



Hello,

once again a one line patch which fixes the EmacLite driver to work
correctly when the PingPong setup for the TX/RX buffers is choosen.

-- 
Dr. Johann Pfefferl   ------------   mailto j.pfefferl at eubus dot net
Eubus GmbH            http://www.eubus.net +++++ http://www.hydraxc.com
Phone: +49 (0)89 45 22 578-67
Fax:   +49 (0)89 45 22 578-55
==
 -o)   A computer program does what you tell it to do,
 /\\        not what you want it to do.               
_\_v-                                                 
Fixed a bug in the driver when RX/TX PingPong is switched on

The bug is caused by a wrong setup of the XEmacLite_ConfigTable array
table. If PingPong is not selected you are in luck and there is no
influence on the correct functioning of the driver ;-).

---
commit 9d736ab1ef02ae300937d304b6aefb1082187920
tree 7b4ef7a55d9188cbb038c3801e817b8fff0dd975
parent 1a7b45c382a4b00e4b03a580680170b9b04fcdd2
author Dr. Johann Pfefferl <pfefferl@xxxxxxx> Mon, 13 Nov 2006 16:59:25 +0100
committer Dr. Johann Pfefferl <pfefferl@xxxxxxxxxxxxxxx> Mon, 13 Nov 2006 16:59:25 +0100

 drivers/net/xilinx_emaclite/xemaclite_g.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/xilinx_emaclite/xemaclite_g.c b/drivers/net/xilinx_emaclite/xemaclite_g.c
index e27b89d..1207c0a 100644
--- a/drivers/net/xilinx_emaclite/xemaclite_g.c
+++ b/drivers/net/xilinx_emaclite/xemaclite_g.c
@@ -61,6 +61,7 @@ XEmacLite_Config XEmacLite_ConfigTable[C
     {
 	0,				/* Unique ID  of device */
         CONFIG_XILINX_ETHERNETLITE_0_BASEADDR,	    /* Base address */
+        0, /* Physical address */
         CONFIG_XILINX_ETHERNETLITE_0_TX_PING_PONG,  /* Hardware configuration */
         CONFIG_XILINX_ETHERNETLITE_0_RX_PING_PONG   /* Hardware configuration */
     }