improve behaviour under VPC, fixes from nicolas tittley.
This commit is contained in:
parent
2fe20e5aaf
commit
82ce09234b
1 changed files with 2 additions and 2 deletions
|
@ -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){
|
||||||
|
|
Loading…
Reference in a new issue