This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
KS32C5000 ethernet driver sets programmable I/O pins for debug output
- From: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
- To: "eCos-Patches" <ecos-patches at sources dot redhat dot com>
- Date: Sat, 23 Nov 2002 16:31:24 -0000
- Subject: KS32C5000 ethernet driver sets programmable I/O pins for debug output
- Organization: Sweeney Design
- Reply-to: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
Index: current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/ChangeLog,v
retrieving revision 1.8
diff -u -5 -b -p -r1.8 ChangeLog
--- current/ChangeLog 5 Nov 2002 02:49:50 -0000 1.8
+++ current/ChangeLog 23 Nov 2002 16:23:38 -0000
@@ -1,5 +1,11 @@
+2002-11-23 Chris Garry <cgarry@sweeneydesign.co.uk>
+
+ * src/ks5000_ether.c:
+ Removed line setting up programmable I/O pins as debug outputs.
+
+
2002-11-05 Jonathan Larmour <jifl@eCosCentric.com>
* cdl/ks32c5000_eth.cdl: Ensure exactly 1 PHY enabled.
2002-11-05 Chris Garry <cgarry@sweeneydesign.co.uk>
Index: current/src/ks5000_ether.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/arm/ks32c5000/current/src/ks5000_ether.c,v
retrieving revision 1.7
diff -u -5 -b -p -r1.7 ks5000_ether.c
--- current/src/ks5000_ether.c 5 Nov 2002 02:24:43 -0000 1.7
+++ current/src/ks5000_ether.c 23 Nov 2002 16:23:44 -0000
@@ -1121,12 +1121,10 @@ ks32c5000_priv_data_t ks32c5000_priv_dat
static unsigned char myMacAddr[6] = { CYGPKG_DEVS_ETH_ARM_KS32C5000_MACADDR };
static bool ks32c5000_eth_init(struct cyg_netdevtab_entry *tab)
{
struct eth_drv_sc *sc = (struct eth_drv_sc *)tab->device_instance;
- *(unsigned*)0x7ff5000 |= Bit(1)+Bit(3)+Bit(5); // enable debug output bits
- // memcpy(myMacAddr,(unsigned char*)CAM_BaseAddr,6);
debug_printf("ks32c5000_eth_init()\n");
debug_printf(" MAC address
%02x:%02x:%02x:%02x:%02x:%02x\n",myMacAddr[0],myMacAddr[1],myMacAddr[2],myMacAddr[3],myMacAddr[4],myMacAddr[5]);
#if defined(CYGPKG_NET)
ifStats.duplex = 1; //unknown
ifStats.operational = 1; //unknown