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