diff options
author | Eric Andersen | 2003-08-06 08:57:35 +0000 |
---|---|---|
committer | Eric Andersen | 2003-08-06 08:57:35 +0000 |
commit | 0a57a79e387060e790d99e7d186be919dee3f92f (patch) | |
tree | aa5a9cb452a81f7226a55d6554adce918fcb64c0 /miscutils/Config.in | |
parent | 4b4e09854c55b060fb36ffc17b7dc08b98a9f387 (diff) | |
download | busybox-0a57a79e387060e790d99e7d186be919dee3f92f.zip busybox-0a57a79e387060e790d99e7d186be919dee3f92f.tar.gz |
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?
Diffstat (limited to 'miscutils/Config.in')
-rw-r--r-- | miscutils/Config.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/miscutils/Config.in b/miscutils/Config.in index 0c56f0e..a994c50 100644 --- a/miscutils/Config.in +++ b/miscutils/Config.in @@ -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 |