Patch from Steven Scholz:

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?
This commit is contained in:
Eric Andersen
2003-08-06 08:57:35 +00:00
parent 4b4e09854c
commit 0a57a79e38
3 changed files with 20 additions and 2 deletions

View File

@ -100,6 +100,14 @@ config CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
and the '-b' option to get/set bus state. This is dangerous
stuff, so you should probably say N.
config CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
bool " get/set using_dma flag (DANGEROUS)"
default n
depends on CONFIG_HDPARM
help
Enables the 'hdparm -d' option to get/set using_dma flag.
This is dangerous stuff, so you should probably say N.
config CONFIG_MAKEDEVS
bool "makedevs"
default n