From 72684fc0eaeb69bb25ab042c1c516f567235ad95 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Thu, 23 May 2002 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2002-05-23 --- port/devaudio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/port/devaudio.c b/port/devaudio.c index 340148f43c5d4df605ff444331466cd3c883fe91..e01cdf21d8c61eb6cc19623d2c66a8e835e43aec 100644 --- a/port/devaudio.c +++ b/port/devaudio.c @@ -733,7 +733,9 @@ audioinit(void) sbconf.irq = IrqAUDIO; if(isaconfig("audio", 0, &sbconf) == 0) return; - if(cistrcmp(sbconf.type, "sb16") != 0 && cistrcmp(sbconf.type, "ess1688") != 0) + if(sbconf.type == nil || + (cistrcmp(sbconf.type, "sb16") != 0 && + cistrcmp(sbconf.type, "ess1688") != 0)) return; switch(sbconf.port){ case 0x220: