Mercurial > ecos-v2_0-branch
diff packages/devs/eth/mips/atlas/current/src/if_atlas.c @ 765:a4d20acb2243
* 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:51:15 +0000 |
| parents | ae8511176102 |
| children | 33d416ad84a7 |
line wrap: on
line diff
--- 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);
