aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-probe.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-03 16:58:49 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-03 16:58:49 -0400
commit9d7542f891f22d16ea1465d19d253888e87f7ad6 (patch)
tree5038aa63019138b2e09fa31a53b562bfb77e428c /drivers/ide/ide-probe.c
parentf744a0547ac5055a3e9eb20bfe7ff29077a32c16 (diff)
parentd61bcce9c1aa2c9f8a768d73c4c517f81d226725 (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6: ide: ide_scan_pcibus(): check __pci_register_driver return value ide: pdc202xx_new PLL input clock fix it821x: fix incorrect SWDMA mask amd74xx: resume fix hpt366: use correct enablebits for HPT36x hpt366: blacklist MAXTOR STM3320620A for UltraDMA/66 ide: Fix a theoretical Ooops case ide: never called printk statement in ide-taskfile.c::wait_drive_not_busy
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r--drivers/ide/ide-probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 41bfa4d21ab6..f5ce22c38f82 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -574,11 +574,11 @@ static inline u8 probe_for_drive (ide_drive_t *drive)
574 /* look for ATAPI device */ 574 /* look for ATAPI device */
575 (void) do_probe(drive, WIN_PIDENTIFY); 575 (void) do_probe(drive, WIN_PIDENTIFY);
576 } 576 }
577 if (strstr(drive->id->model, "E X A B Y T E N E S T"))
578 enable_nest(drive);
579 if (!drive->present) 577 if (!drive->present)
580 /* drive not found */ 578 /* drive not found */
581 return 0; 579 return 0;
580 if (strstr(drive->id->model, "E X A B Y T E N E S T"))
581 enable_nest(drive);
582 582
583 /* identification failed? */ 583 /* identification failed? */
584 if (!drive->id_read) { 584 if (!drive->id_read) {