From 3ba1d43a12bfaeda5ee0628d70f8759fe76cb19a Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 19 Apr 1995 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1995-04-19 --- pc/ether509.c | 3 ++- port/sysproc.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pc/ether509.c b/pc/ether509.c index 9f5db085c60527ac9fed16fe90478c885fcfab9a..de9e09c80552155471d956416b1bb202744c5ae1 100644 --- a/pc/ether509.c +++ b/pc/ether509.c @@ -347,7 +347,8 @@ interrupt(Ureg *ur, void *arg) /* * Panic if there are any interrupt bits on we haven't - * dealt with other than Latch. + * dealt with other than Latch. Should deal with UP (Update + * Statistics) for happier coexistence with Windows drivers. * Otherwise, acknowledge the interrupt. */ if(status & AllIntr) diff --git a/port/sysproc.c b/port/sysproc.c index 84113ddc8c4eb33c2b32084bd4d84cb64d45c6b0..0869e68f7235594dc5e34efcd28d59c569de557c 100644 --- a/port/sysproc.c +++ b/port/sysproc.c @@ -466,6 +466,7 @@ syssleep(ulong *arg) n = arg[0]; if(n <= 0) { + p->priority = 0; sched(); return 0; }