Skip to content

Commit

Permalink
ide: mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bzolnier committed Mar 22, 2008
1 parent 15220d9 commit d708c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions Documentation/ide/ide.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions drivers/ide/ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d708c40

Please sign in to comment.