diff options
| -rw-r--r-- | Documentation/ide.txt | 2 | ||||
| -rw-r--r-- | drivers/ide/ide-probe.c | 3 | ||||
| -rw-r--r-- | drivers/ide/ide.c | 2 | ||||
| -rw-r--r-- | drivers/ide/pci/cmd640.c | 3 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/ide.txt b/Documentation/ide.txt index 94e2e3b9e77f..7b782e84001f 100644 --- a/Documentation/ide.txt +++ b/Documentation/ide.txt | |||
| @@ -258,8 +258,6 @@ Summary of ide driver parameters for kernel command line | |||
| 258 | As for VLB, it is safest to not specify it. | 258 | As for VLB, it is safest to not specify it. |
| 259 | Bigger values are safer than smaller ones. | 259 | Bigger values are safer than smaller ones. |
| 260 | 260 | ||
| 261 | "idex=noprobe" : do not attempt to access/use this interface | ||
| 262 | |||
| 263 | "idex=base" : probe for an interface at the addr specified, | 261 | "idex=base" : probe for an interface at the addr specified, |
| 264 | where "base" is usually 0x1f0 or 0x170 | 262 | where "base" is usually 0x1f0 or 0x170 |
| 265 | and "ctl" is assumed to be "base"+0x206 | 263 | and "ctl" is assumed to be "base"+0x206 |
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 4a2cb2868226..194ecb0049eb 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
| @@ -756,7 +756,8 @@ static int ide_probe_port(ide_hwif_t *hwif) | |||
| 756 | 756 | ||
| 757 | BUG_ON(hwif->present); | 757 | BUG_ON(hwif->present); |
| 758 | 758 | ||
| 759 | if (hwif->noprobe) | 759 | if (hwif->noprobe || |
| 760 | (hwif->drives[0].noprobe && hwif->drives[1].noprobe)) | ||
| 760 | return -EACCES; | 761 | return -EACCES; |
| 761 | 762 | ||
| 762 | /* | 763 | /* |
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 784d60e376ee..300536697622 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
| @@ -1444,7 +1444,7 @@ static int __init ide_setup(char *s) | |||
| 1444 | 1444 | ||
| 1445 | case -1: /* "noprobe" */ | 1445 | case -1: /* "noprobe" */ |
| 1446 | hwif->noprobe = 1; | 1446 | hwif->noprobe = 1; |
| 1447 | goto done; | 1447 | goto obsolete_option; |
| 1448 | 1448 | ||
| 1449 | case 1: /* base */ | 1449 | case 1: /* base */ |
| 1450 | vals[1] = vals[0] + 0x206; /* default ctl */ | 1450 | vals[1] = vals[0] + 0x206; /* default ctl */ |
diff --git a/drivers/ide/pci/cmd640.c b/drivers/ide/pci/cmd640.c index bd24dad3cfc6..ec667982809c 100644 --- a/drivers/ide/pci/cmd640.c +++ b/drivers/ide/pci/cmd640.c | |||
| @@ -787,7 +787,8 @@ static int __init cmd640x_init(void) | |||
| 787 | /* | 787 | /* |
| 788 | * Try to enable the secondary interface, if not already enabled | 788 | * Try to enable the secondary interface, if not already enabled |
| 789 | */ | 789 | */ |
| 790 | if (cmd_hwif1->noprobe) { | 790 | if (cmd_hwif1->noprobe || |
| 791 | (cmd_hwif1->drives[0].noprobe && cmd_hwif1->drives[1].noprobe)) { | ||
| 791 | port2 = "not probed"; | 792 | port2 = "not probed"; |
| 792 | } else { | 793 | } else { |
| 793 | b = get_cmd640_reg(CNTRL); | 794 | b = get_cmd640_reg(CNTRL); |
