From ac4f337f5bfbfb81726ee2213b6f62e2e88b6a1c Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Thu, 18 May 1995 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1995-05-18 --- pc/ether509.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pc/ether509.c b/pc/ether509.c index 39ee2d440fd2f3ce9475bd02642e56b970a21740..35ea069d2b62597336812a318c209a653d918636 100644 --- a/pc/ether509.c +++ b/pc/ether509.c @@ -579,6 +579,10 @@ tcm590(Ether *ether) continue; port = pcicfg->baseaddr[0] & ~0x01; + COMMAND(port, GlobalReset, 0); + while(ins(port+Status) & CmdInProgress) + ; + if(ether->port == 0 || ether->port == port) return pcicfg;