From: Bartlomiej Zolnierkiewicz Date: Sat, 22 Mar 2008 15:40:22 +0000 (+0100) Subject: ide: mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted X-Git-Tag: v2.6.25-rc7~30^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d708c40da83a86551556999e924e27fdc43dad71;p=platform%2Fkernel%2Flinux-exynos.git ide: mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted Mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted (they are layering violation and should be dealt with in the same way as done by libata - device-mapper should be used instead). Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/Documentation/ide/ide.txt b/Documentation/ide/ide.txt index 3f4db00..818676a 100644 --- a/Documentation/ide/ide.txt +++ b/Documentation/ide/ide.txt @@ -228,11 +228,6 @@ Summary of ide driver parameters for kernel command line "hdx=cyl,head,sect" : disk drive is present, with specified geometry - "hdx=remap" : remap access of sector 0 to sector 1 (for EZDrive) - - "hdx=remap63" : remap the drive: add 63 to all sector numbers - (for DM OnTrack) - "hdx=autotune" : driver will attempt to tune interface speed to the fastest PIO mode supported, if possible for this drive only. diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index df410e0..fc69fe2 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -1290,10 +1290,10 @@ static int __init ide_setup(char *s) goto done; case -12: /* "remap" */ drive->remap_0_to_1 = 1; - goto done; + goto obsolete_option; case -13: /* "remap63" */ drive->sect0 = 63; - goto done; + goto obsolete_option; case -14: /* "scsi" */ drive->scsi = 1; goto obsolete_option;