This commit is contained in:
root 2011-06-20 19:04:43 +02:00
parent ab32443f5b
commit 1f7fba81dc
2 changed files with 2 additions and 2 deletions

View file

@ -233,7 +233,6 @@ __inline int get_my_core_no(void)
/* Determine the local IP address from the core number in the
* tile ID register
*/
DEBUGPRINTF("COREBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB");
tmp = ReadConfigReg(local_crb + RCK_TILEID);
x = (tmp>>3) & 0x0f; /* bits 06:03 */
y = (tmp>>7) & 0x0f; /* bits 10:07 */
@ -1182,6 +1181,8 @@ int mmnif_open()
IP4_ADDR(&netmask, 255,0,0,0);
own_ip_address+= get_my_core_no() +1;
DEBUGPRINTF("COCOCOCOCOOCOCOCOCOCOCOMBO BREAKER %d",own_ip_address);
#ifdef WIN32
mmnif_dev = malloc(sizeof(struct netif));
#else

View file

@ -96,7 +96,6 @@ int main(void)
multitasking_init();
mmu_init();
#ifdef CONFIG_ROCKCREEK
kprintf("CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCc");
icc_init();
#endif
initrd_init();