From a687bf0dba3cfcabebb189d73e3ea13367bea927 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 25 Oct 1996 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1996-10-25 --- pc/etherelnk3.c | 2 +- port/devaudio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pc/etherelnk3.c b/pc/etherelnk3.c index 58bfc1d2a32e28318efd1440a76ad0489bdb3d3c..05077a94bc0e4722f5b58bcdfe0df1bd7b592e66 100644 --- a/pc/etherelnk3.c +++ b/pc/etherelnk3.c @@ -1056,7 +1056,7 @@ tcm59Xpci(Ether* ether) static int tcm5XXpcmcia(Ether* ether) { - if(cistrcmp(ether->type, "3C589") == 0 || cistrcmp(ether->type, "3C562") == 0) + if(!cistrcmp(ether->type, "3C589") || !cistrcmp(ether->type, "3C562")) return ether->port; return 0; diff --git a/port/devaudio.c b/port/devaudio.c index c87e8fdd6883f5a761674787edb52a7992c86f6d..eb7c82d8ea3014b22fd43af50aa95c3675153b78 100644 --- a/port/devaudio.c +++ b/port/devaudio.c @@ -512,7 +512,7 @@ audioinit(void) int i; sbconf.port = 0x220; - sbconf.dma = 5; + sbconf.dma = Dma; sbconf.irq = 7; if(isaconfig("audio", 0, &sbconf) == 0) return;