diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-03-22 11:40:21 -0400 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-03-22 11:40:21 -0400 |
| commit | 15220d9b5a7e6f4ff251350b285674ed676e0d3d (patch) | |
| tree | 19a61fd650ca2797647f8f098a4745146949c888 | |
| parent | ad1c53bcdb831e14b1313ad694d5053ae0349393 (diff) | |
ide: mark "hdx=[driver_name]" and "hdx=scsi" kernel parameters as obsoleted
Mark "hdx=[driver_name]" and "hdx=scsi" kernel parameters as obsoleted
(nowadays device-driver binding can be changed at runtime through sysfs
and it can also be dealt with using per device driver parameters).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
| -rw-r--r-- | Documentation/ide/ide.txt | 4 | ||||
| -rw-r--r-- | drivers/ide/ide.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Documentation/ide/ide.txt b/Documentation/ide/ide.txt index d4877a9e60f6..3f4db0018edc 100644 --- a/Documentation/ide/ide.txt +++ b/Documentation/ide/ide.txt | |||
| @@ -242,10 +242,6 @@ Summary of ide driver parameters for kernel command line | |||
| 242 | 242 | ||
| 243 | "hdx=nodma" : disallow DMA | 243 | "hdx=nodma" : disallow DMA |
| 244 | 244 | ||
| 245 | "hdx=scsi" : the return of the ide-scsi flag, this is useful for | ||
| 246 | allowing ide-floppy, ide-tape, and ide-cdrom|writers | ||
| 247 | to use ide-scsi emulation on a device specific option. | ||
| 248 | |||
| 249 | "idebus=xx" : inform IDE driver of VESA/PCI bus speed in MHz, | 245 | "idebus=xx" : inform IDE driver of VESA/PCI bus speed in MHz, |
| 250 | where "xx" is between 20 and 66 inclusive, | 246 | where "xx" is between 20 and 66 inclusive, |
| 251 | used when tuning chipset PIO modes. | 247 | used when tuning chipset PIO modes. |
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 373bdd4e5ef8..df410e0357d8 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
| @@ -1258,7 +1258,7 @@ static int __init ide_setup(char *s) | |||
| 1258 | drive = &hwif->drives[unit]; | 1258 | drive = &hwif->drives[unit]; |
| 1259 | if (strncmp(s + 4, "ide-", 4) == 0) { | 1259 | if (strncmp(s + 4, "ide-", 4) == 0) { |
| 1260 | strlcpy(drive->driver_req, s + 4, sizeof(drive->driver_req)); | 1260 | strlcpy(drive->driver_req, s + 4, sizeof(drive->driver_req)); |
| 1261 | goto done; | 1261 | goto obsolete_option; |
| 1262 | } | 1262 | } |
| 1263 | switch (match_parm(&s[3], hd_words, vals, 3)) { | 1263 | switch (match_parm(&s[3], hd_words, vals, 3)) { |
| 1264 | case -1: /* "none" */ | 1264 | case -1: /* "none" */ |
| @@ -1296,7 +1296,7 @@ static int __init ide_setup(char *s) | |||
| 1296 | goto done; | 1296 | goto done; |
| 1297 | case -14: /* "scsi" */ | 1297 | case -14: /* "scsi" */ |
| 1298 | drive->scsi = 1; | 1298 | drive->scsi = 1; |
| 1299 | goto done; | 1299 | goto obsolete_option; |
| 1300 | case 3: /* cyl,head,sect */ | 1300 | case 3: /* cyl,head,sect */ |
| 1301 | drive->media = ide_disk; | 1301 | drive->media = ide_disk; |
| 1302 | drive->ready_stat = READY_STAT; | 1302 | drive->ready_stat = READY_STAT; |
