From: Ben Gras Date: Sat, 30 Jan 2010 16:14:24 +0000 (+0000) Subject: Nick's dec21140A fixes X-Git-Tag: v3.1.6~11 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=ac33a29cf93ad16a180db1cb39172675a7d55391;p=minix.git Nick's dec21140A fixes --- diff --git a/drivers/dec21140A/dec21140A.c b/drivers/dec21140A/dec21140A.c index 06d635669..6b8506e98 100644 --- a/drivers/dec21140A/dec21140A.c +++ b/drivers/dec21140A/dec21140A.c @@ -85,6 +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 OK; } /*===========================================================================* @@ -731,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){