sdide: remove set dma print
This commit is contained in:
parent
d72757f7b1
commit
676a7c6f5f
|
@ -539,10 +539,8 @@ atadmamode(SDunit *unit, Drive* drive)
|
||||||
if(unit != nil){
|
if(unit != nil){
|
||||||
snprint(buf, sizeof buf, "*%sdma", unit->name);
|
snprint(buf, sizeof buf, "*%sdma", unit->name);
|
||||||
s = getconf(buf);
|
s = getconf(buf);
|
||||||
if((s && !strcmp(s, "on")) || (!s && !getconf("*nodma"))){
|
if((s && !strcmp(s, "on")) || (!s && !getconf("*nodma")))
|
||||||
print("set %s dma\n", unit->name);
|
|
||||||
drive->dmactl = drive->dma;
|
drive->dmactl = drive->dma;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return dma;
|
return dma;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue