Mercurial > ecos-v2_0-branch
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 764:4e6a156dfada | 765:a4d20acb2243 |
|---|---|
| 525 #if defined(CYGPKG_REDBOOT) && \ | 525 #if defined(CYGPKG_REDBOOT) && \ |
| 526 defined(CYGSEM_REDBOOT_FLASH_CONFIG) && \ | 526 defined(CYGSEM_REDBOOT_FLASH_CONFIG) && \ |
| 527 !defined(CYGSEM_ARM_ATLAS_SET_ESA) | 527 !defined(CYGSEM_ARM_ATLAS_SET_ESA) |
| 528 flash_get_config("atlas_esa", enaddr, CONFIG_ESA); | 528 flash_get_config("atlas_esa", enaddr, CONFIG_ESA); |
| 529 #else | 529 #else |
| 530 #if 0 | |
| 530 for (i = 0; i < ETHER_ADDR_LEN; i += 2) { | 531 for (i = 0; i < ETHER_ADDR_LEN; i += 2) { |
| 531 unsigned short esa_reg = get_reg(PP_IA+i); | 532 unsigned short esa_reg = get_reg(PP_IA+i); |
| 532 enaddr[i] = esa_reg & 0xFF; | 533 enaddr[i] = esa_reg & 0xFF; |
| 533 enaddr[i+1] = esa_reg >> 8; | 534 enaddr[i+1] = esa_reg >> 8; |
| 534 } | 535 } |
| 536 #endif | |
| 535 #endif | 537 #endif |
| 536 | 538 |
| 537 saa9730_reset(spd); | 539 saa9730_reset(spd); |
| 538 | 540 |
| 539 // Initialize upper level driver | 541 // Initialize upper level driver |
