]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
1 | From: Tejun Heo <teheo@suse.de> |
2 | Subject: [PATCH] libata: unlock HPA by default | |
3 | References: 299267 | |
4 | ||
5 | Unlock HPA by default. This is to stay compatible with the old IDE | |
6 | drivers. | |
7 | ||
8 | Signed-off-by: Tejun Heo <teheo@suse.de> | |
9 | --- | |
10 | drivers/ata/libata-core.c | 2 +- | |
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
12 | ||
13 | --- a/drivers/ata/libata-core.c | |
14 | +++ b/drivers/ata/libata-core.c | |
15 | @@ -137,7 +137,7 @@ int libata_fua = 0; | |
16 | module_param_named(fua, libata_fua, int, 0444); | |
17 | MODULE_PARM_DESC(fua, "FUA support (0=off, 1=on)"); | |
18 | ||
19 | -static int ata_ignore_hpa; | |
20 | +static int ata_ignore_hpa = 1; | |
21 | module_param_named(ignore_hpa, ata_ignore_hpa, int, 0644); | |
22 | MODULE_PARM_DESC(ignore_hpa, "Ignore HPA limit (0=keep BIOS limits, 1=ignore limits, using full disk)"); | |
23 |