git: 9front

Download patch

ref: 55f8b29ee14bf80cabf919c5cd777e15ccc51013
parent: 05482b0a40ff7c850ff2c15bed29d74a481e8b99
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Mon May 7 18:21:31 EDT 2012

remove dmaon

--- a/rc/bin/dmaon
+++ /dev/null
@@ -1,7 +1,0 @@
-#!/bin/rc
-# dmaon - turn on ide dma, if possible
-rfork e
-for (ctl in /dev/sd[C-H]?/ctl)
-	if (test -e $ctl && grep -s '^config .* dma ' $ctl &&
-	    ! grep -s '^config (848A|.* dma 00000000 )' $ctl)
-		echo 'dma on' >$ctl
--- a/sys/man/8/diskparts
+++ b/sys/man/8/diskparts
@@ -1,10 +1,8 @@
 .TH DISKPARTS 8
 .SH NAME
-diskparts, dmaon \- prepare disks for use
+diskparts \- prepare disks for use
 .SH SYNOPSIS
 .B diskparts
-.br
-.B dmaon
 .SH DESCRIPTION
 .I Diskparts
 configures FDISK and Plan 9 partitions on any disks named
@@ -24,13 +22,6 @@
 are not bound to
 .B /dev
 yet, they are first bound after the current contents.
-.PP
-.I Dmaon
-enables
-.SM DMA
-for all attached
-.SM IDE
-devices that claim to support it.
 .SH FILES
 .TF /dev/sd[C-H]?/ctl
 .TP
--