diff options
-rw-r--r-- | Documentation/ide/ide.txt | 2 | ||||
-rw-r--r-- | drivers/ide/ide-probe.c | 9 | ||||
-rw-r--r-- | drivers/ide/ide.c | 6 | ||||
-rw-r--r-- | include/linux/ide.h | 1 |
4 files changed, 4 insertions, 14 deletions
diff --git a/Documentation/ide/ide.txt b/Documentation/ide/ide.txt index 8209033d2a7f..53e5beda525c 100644 --- a/Documentation/ide/ide.txt +++ b/Documentation/ide/ide.txt | |||
@@ -217,8 +217,6 @@ Summary of ide driver parameters for kernel command line | |||
217 | As for VLB, it is safest to not specify it. | 217 | As for VLB, it is safest to not specify it. |
218 | Bigger values are safer than smaller ones. | 218 | Bigger values are safer than smaller ones. |
219 | 219 | ||
220 | "idex=reset" : reset interface after probe | ||
221 | |||
222 | "ide=doubler" : probe/support IDE doublers on Amiga | 220 | "ide=doubler" : probe/support IDE doublers on Amiga |
223 | 221 | ||
224 | There may be more options than shown -- use the source, Luke! | 222 | There may be more options than shown -- use the source, Luke! |
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 4a33100a2314..004062b5751e 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -800,14 +800,9 @@ static int ide_probe_port(ide_hwif_t *hwif) | |||
800 | if (drive->present) | 800 | if (drive->present) |
801 | rc = 0; | 801 | rc = 0; |
802 | } | 802 | } |
803 | if (hwif->io_ports[IDE_CONTROL_OFFSET] && hwif->reset) { | 803 | |
804 | printk(KERN_WARNING "%s: reset\n", hwif->name); | ||
805 | hwif->OUTB(12, hwif->io_ports[IDE_CONTROL_OFFSET]); | ||
806 | udelay(10); | ||
807 | hwif->OUTB(8, hwif->io_ports[IDE_CONTROL_OFFSET]); | ||
808 | (void)ide_busy_sleep(hwif); | ||
809 | } | ||
810 | local_irq_restore(flags); | 804 | local_irq_restore(flags); |
805 | |||
811 | /* | 806 | /* |
812 | * Use cached IRQ number. It might be (and is...) changed by probe | 807 | * Use cached IRQ number. It might be (and is...) changed by probe |
813 | * code above | 808 | * code above |
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 3cac96f3b0aa..7ccf99a11fb6 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -996,7 +996,7 @@ static int __init ide_setup(char *s) | |||
996 | */ | 996 | */ |
997 | static const char *ide_words[] = { | 997 | static const char *ide_words[] = { |
998 | "minus1", "minus2", "minus3", "minus4", | 998 | "minus1", "minus2", "minus3", "minus4", |
999 | "reset", "minus6", "ata66", "minus8", "minus9", | 999 | "minus5", "minus6", "ata66", "minus8", "minus9", |
1000 | "minus10", "four", "qd65xx", "ht6560b", "cmd640_vlb", | 1000 | "minus10", "four", "qd65xx", "ht6560b", "cmd640_vlb", |
1001 | "dtc2278", "umc8672", "ali14xx", NULL }; | 1001 | "dtc2278", "umc8672", "ali14xx", NULL }; |
1002 | 1002 | ||
@@ -1073,9 +1073,7 @@ static int __init ide_setup(char *s) | |||
1073 | #else | 1073 | #else |
1074 | goto bad_hwif; | 1074 | goto bad_hwif; |
1075 | #endif | 1075 | #endif |
1076 | case -5: /* "reset" */ | 1076 | case -5: |
1077 | hwif->reset = 1; | ||
1078 | goto obsolete_option; | ||
1079 | case -2: | 1077 | case -2: |
1080 | case -1: | 1078 | case -1: |
1081 | case 0: | 1079 | case 0: |
diff --git a/include/linux/ide.h b/include/linux/ide.h index f80d303e5dcd..5f8df20a9e39 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -520,7 +520,6 @@ typedef struct hwif_s { | |||
520 | unsigned present : 1; /* this interface exists */ | 520 | unsigned present : 1; /* this interface exists */ |
521 | unsigned serialized : 1; /* serialized all channel operation */ | 521 | unsigned serialized : 1; /* serialized all channel operation */ |
522 | unsigned sharing_irq: 1; /* 1 = sharing irq with another hwif */ | 522 | unsigned sharing_irq: 1; /* 1 = sharing irq with another hwif */ |
523 | unsigned reset : 1; /* reset after probe */ | ||
524 | unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ | 523 | unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ |
525 | unsigned mmio : 1; /* host uses MMIO */ | 524 | unsigned mmio : 1; /* host uses MMIO */ |
526 | 525 | ||