From: Ben Gras Date: Sun, 31 Jan 2010 18:29:51 +0000 (+0000) Subject: improve behaviour under VPC, fixes from nicolas tittley. X-Git-Tag: v3.1.7~330 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/processing.js?a=commitdiff_plain;h=82ce09234b71cddcd18eeb8c2284d206645f1fc7;p=minix.git improve behaviour under VPC, fixes from nicolas tittley. --- diff --git a/drivers/dec21140A/dec21140A.c b/drivers/dec21140A/dec21140A.c index 0308a183a..6b8506e98 100644 --- a/drivers/dec21140A/dec21140A.c +++ b/drivers/dec21140A/dec21140A.c @@ -85,7 +85,8 @@ int sef_cb_init(int type, sef_init_info_t *info) notify(tasknr); else if(r != ESRCH) 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){ io_outl(CSR_ADDR(dep, CSR0), CSR0_SWR); - micro_delay(1000000); } PRIVATE void de_hw_conf(dpeth_t *dep){