From 7072b1506147f341b8a6e4b6e59bc0a7e20bfade Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 22 Aug 2002 21:10:52 +0000 Subject: remove disabling of DMA; it can cause problems --- rc.d/rc.sysinit | 7 ------- 1 file changed, 7 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 5180845a..909be0e4 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -653,13 +653,6 @@ if grep -q "ide-scsi" /proc/cmdline ; then modprobe ide-scsi >/dev/null 2>&1 fi -# Turn off DMA on CD-ROMs. It more often than not causes problems. -if [ -x /sbin/hdparm -a -e /proc/ide ]; then - for N in `grep -v ide-disk /proc/ide/*/*/driver 2>/dev/null | awk -F / '{ print $5 }'`; do - hdparm -q -d0 /dev/$N >/dev/null 2>&1 - done -fi - # Turn on harddisk optimization # There is only one file /etc/sysconfig/harddisks for all disks # after installing the hdparm-RPM. If you need different hdparm parameters -- cgit v1.2.1