M pc/etherelnk3.c => pc/etherelnk3.c +1 -1
@@ 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;
M port/devaudio.c => port/devaudio.c +1 -1
@@ 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;