improve behaviour under VPC, fixes from nicolas tittley.

This commit is contained in:
Ben Gras 2010-01-31 18:29:51 +00:00
parent 2fe20e5aaf
commit 82ce09234b

View file

@ -85,7 +85,8 @@ int sef_cb_init(int type, sef_init_info_t *info)
notify(tasknr); notify(tasknr);
else if(r != ESRCH) else if(r != ESRCH)
printf("%s unable to notify inet: %d\n", str_DevName, r); printf("%s unable to notify inet: %d\n", str_DevName, r);
return r;
return OK;
} }
/*===========================================================================* /*===========================================================================*
@ -732,7 +733,6 @@ PRIVATE void do_interrupt(dpeth_t *dep){
PRIVATE void de_reset(dpeth_t *dep){ PRIVATE void de_reset(dpeth_t *dep){
io_outl(CSR_ADDR(dep, CSR0), CSR0_SWR); io_outl(CSR_ADDR(dep, CSR0), CSR0_SWR);
micro_delay(1000000);
} }
PRIVATE void de_hw_conf(dpeth_t *dep){ PRIVATE void de_hw_conf(dpeth_t *dep){