sdide: remove set dma print

This commit is contained in:
cinap_lenrek 2011-07-13 02:01:42 +02:00
parent d72757f7b1
commit 676a7c6f5f

View file

@ -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;
}