Better DMA handling.
[rsc] --rw-rw-r-- M 374841 glenda sys 2466 Nov 28 09:22 sys/lib/dist/pc/sub/termrc
/n/sourcesdump/2005/1128/plan9/sys/lib/dist/pc/sub/termrc:18,27 -
/n/sourcesdump/2005/1129/plan9/sys/lib/dist/pc/sub/termrc:18,27
for(disk in /dev/sd??) {
if(test -f $disk/data && test -f $disk/ctl){
disk/fdisk -p $disk/data >$disk/ctl >[2]/dev/null
- if(~ $#nosddma 0)
- echo dma on >$disk/ctl
- if(~ $#nosdrwm 0)
- echo rwm on >$disk/ctl
+ # if(~ $#nosddma 0)
+ # echo dma on >$disk/ctl
+ # if(~ $#nosdrwm 0)
+ # echo rwm on >$disk/ctl
}
}
/n/sourcesdump/2005/1128/plan9/sys/lib/dist/pc/sub/termrc:70,76 -
/n/sourcesdump/2005/1129/plan9/sys/lib/dist/pc/sub/termrc:70,76
if(~ $dmamode yes)
for(i in /dev/sd*/ctl)
if(test -f $i)
- {echo dma on; echo rwm on} >$i
+ {echo dma on; echo rwm on >[2]/dev/null} >$i
if(~ $installmode ask){
echo -n 'install mode is (text, graphics)[graphics]: '
|