summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-07-13 02:01:42 +0200
committercinap_lenrek <cinap_lenrek@localhost>2011-07-13 02:01:42 +0200
commit676a7c6f5fcd21dac926deb8f7259baa636276fe (patch)
tree95d6dfb6b8c074270a4f5ae250bba0a68d01531c /sys
parentd72757f7b190bced15df66296d86c92a0ef1d307 (diff)
sdide: remove set dma print
Diffstat (limited to 'sys')
-rw-r--r--sys/src/9/pc/sdide.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/src/9/pc/sdide.c b/sys/src/9/pc/sdide.c
index 474df809f..328d6d3e3 100644
--- a/sys/src/9/pc/sdide.c
+++ b/sys/src/9/pc/sdide.c
@@ -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;
}