[BusyBox] hdparm and CONFIG_FEATURE_HDPARM_HDIO_GET_DMA ?

Steven Scholz steven.scholz at imc-berlin.de
Thu Jul 31 10:20:58 UTC 2003


I wrote:

> And should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and 
> use it for "set" and "get" ???
> 
> Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still 
> can use "hdparm -d 1 /dev/hda" to switch the DMA on.
> Is this desireable or meant to be like that?

So how about the applied patch?

It changes the define CONFIG_FEATURE_HDPARM_HDIO_GET_DMA to 
CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA and the behaviour appropriate.

Cheers,

Steven
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: HDPARM_HDIO_GETSET_DMA.patch
Url: http://lists.busybox.net/pipermail/busybox/attachments/20030731/f187217f/attachment.diff 


More information about the busybox mailing list