mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
edd: add default mode CONFIG_EDD_OFF=n, override with edd={on,off}
Add a kernel parameter option to 'edd' to enable/disable BIOS Enhanced Disk Drive Services. CONFIG_EDD_OFF disables EDD while still compiling EDD into the kernel. Default behavior can be forced using 'edd=on' or 'edd=off' as a kernel parameter. [[email protected]: fix kernel-parameters.txt] Signed-off-by: Tim Gardner <[email protected]> Signed-off-by: Matt Domsch <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: "Randy.Dunlap" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
d7321cd624
commit
8c4dd60682
3 changed files with 19 additions and 3 deletions
|
|
@ -17,6 +17,15 @@ config EDD
|
|||
obscure configurations. Most disk controller BIOS vendors do
|
||||
not yet implement this feature.
|
||||
|
||||
config EDD_OFF
|
||||
bool "Sets default behavior for EDD detection to off"
|
||||
depends on EDD
|
||||
default n
|
||||
help
|
||||
Say Y if you want EDD disabled by default, even though it is compiled into the
|
||||
kernel. Say N if you want EDD enabled by default. EDD can be dynamically set
|
||||
using the kernel parameter 'edd={on|skipmbr|off}'.
|
||||
|
||||
config EFI_VARS
|
||||
tristate "EFI Variable Support via sysfs"
|
||||
depends on EFI
|
||||
|
|
|
|||
Loading…
Reference in a new issue