diff options
| author | Matt Domsch <matt_domsch@dell.com> | 2005-01-04 05:31:50 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-04 05:31:50 -0800 |
| commit | e9855e2c503591bd5118e54c06e3978e69f8857f (patch) | |
| tree | 2e9b971468e41b03d7ad3a17f75c56839080f85d /include/linux | |
| parent | 9506e1975f34e76a18b81aa49cbacb589fa52ee7 (diff) | |
[PATCH] EDD: add edd=off and edd=skipmbr options
EDD: add edd=off and edd=skipmbr command line options
New command line options
edd=off (or edd=of)
edd=skipmbr (or edd=sk)
runtime options for disabling all EDD int13 calls completely, or for
skipping the int13 READ SECTOR calls, respectively.
These are provided to allow Linux distributions to include CONFIG_EDD=m, yet
allow end-users to disable parts of EDD which may not work well with their
system's BIOS.
I incorporated comments from Randy Dunlap, and got an ack from Andi Kleen.
Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/edd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/edd.h b/include/linux/edd.h index 5f93881106fa..c6e6747a401d 100644 --- a/include/linux/edd.h +++ b/include/linux/edd.h @@ -49,6 +49,10 @@ #define EDD_MBR_SIG_MAX 16 /* max number of signatures to store */ #define EDD_MBR_SIG_NR_BUF 0x1ea /* addr of number of MBR signtaures at EDD_MBR_SIG_BUF in boot_params - treat this as 1 byte */ +#define EDD_CL_EQUALS 0x3d646465 /* "edd=" */ +#define EDD_CL_OFF 0x666f /* "of" for off */ +#define EDD_CL_SKIP 0x6b73 /* "sk" for skipmbr */ + #ifndef __ASSEMBLY__ #define EDD_EXT_FIXED_DISK_ACCESS (1 << 0) |
