changeset 824:627a52d44b44

* cdl/atlas_eth_drivers.cdl: Changed CYGPKG_DEVS_ETH_ARM_ATLAS_OPTIONS to CYGPKG_DEVS_ETH_MIPS_ATLAS_OPTIONS. * src/if_atlas.c (atlas_saa9730_init): ifdeffed out bogus code to set MAC address in non-redboot configuration just to make it compile. Note that there are other problems with this driver in eCos.
author nickg
date Thu, 13 Mar 2003 18:49:37 +0000
parents 850cc6a5d480
children 9e7f35a911c3
files packages/devs/eth/mips/atlas/current/ChangeLog packages/devs/eth/mips/atlas/current/cdl/atlas_eth_drivers.cdl packages/devs/eth/mips/atlas/current/src/if_atlas.c
diffstat 3 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/eth/mips/atlas/current/ChangeLog
+++ b/packages/devs/eth/mips/atlas/current/ChangeLog
@@ -1,3 +1,14 @@
+2003-03-13  Nick Garnett  <nickg@balti.calivar.com>
+
+	* cdl/atlas_eth_drivers.cdl:
+	Changed CYGPKG_DEVS_ETH_ARM_ATLAS_OPTIONS to
+	CYGPKG_DEVS_ETH_MIPS_ATLAS_OPTIONS. 
+
+	* src/if_atlas.c (atlas_saa9730_init): ifdeffed out bogus code to
+	set MAC address in non-redboot configuration just to make it
+	compile. Note that there are other problems with this driver in
+	eCos.
+
 2002-06-14  Gary Thomas  <gary@chez-thomas.org>
 
 	* src/if_atlas.c: 
--- a/packages/devs/eth/mips/atlas/current/cdl/atlas_eth_drivers.cdl
+++ b/packages/devs/eth/mips/atlas/current/cdl/atlas_eth_drivers.cdl
@@ -86,7 +86,7 @@ cdl_package CYGPKG_DEVS_ETH_MIPS_ATLAS {
         flavor  none
 	no_define
 
-        cdl_option CYGPKG_DEVS_ETH_ARM_ATLAS_CFLAGS_ADD {
+        cdl_option CYGPKG_DEVS_ETH_MIPS_ATLAS_CFLAGS_ADD {
             display "Additional compiler flags"
             flavor  data
             no_define
--- a/packages/devs/eth/mips/atlas/current/src/if_atlas.c
+++ b/packages/devs/eth/mips/atlas/current/src/if_atlas.c
@@ -527,12 +527,14 @@ atlas_saa9730_init(struct cyg_netdevtab_
     !defined(CYGSEM_ARM_ATLAS_SET_ESA)
     flash_get_config("atlas_esa", enaddr, CONFIG_ESA);
 #else
+#if 0
     for (i = 0;  i < ETHER_ADDR_LEN;  i += 2) {
         unsigned short esa_reg = get_reg(PP_IA+i);
         enaddr[i] = esa_reg & 0xFF;
         enaddr[i+1] = esa_reg >> 8;
     }
 #endif
+#endif
 
     saa9730_reset(spd);