|
@@ -1390,10 +1390,10 @@ static int ide_floppy_probe(ide_drive_t *drive)
|
|
|
|
|
|
if (!strstr("ide-floppy", drive->driver_req))
|
|
if (!strstr("ide-floppy", drive->driver_req))
|
|
goto failed;
|
|
goto failed;
|
|
- if (!drive->present)
|
|
|
|
- goto failed;
|
|
|
|
|
|
+
|
|
if (drive->media != ide_floppy)
|
|
if (drive->media != ide_floppy)
|
|
goto failed;
|
|
goto failed;
|
|
|
|
+
|
|
if (!idefloppy_identify_device(drive, drive->id)) {
|
|
if (!idefloppy_identify_device(drive, drive->id)) {
|
|
printk(KERN_ERR "ide-floppy: %s: not supported by this version"
|
|
printk(KERN_ERR "ide-floppy: %s: not supported by this version"
|
|
" of ide-floppy\n", drive->name);
|
|
" of ide-floppy\n", drive->name);
|