31a32,33 > * Ver 0.91 Dec 11 99 Added IOMEGA Clik! drive support by > * 34c36 < #define IDEFLOPPY_VERSION "0.9" --- > #define IDEFLOPPY_VERSION "0.91" 877c880 < printk (KERN_INFO "ide-floppy: %s: I/O error\n",drive->name); --- > printk (KERN_INFO "ide-floppy: %s: I/O error status.b.check\n",drive->name); 1014a1018 > if (IDE_CONTROL_REG) 1155c1159 < printk (KERN_ERR "ide-floppy: %s: I/O error\n", drive->name); --- > printk (KERN_ERR "ide-floppy: %s: I/O error in idefloppy_do_request\n", drive->name); 1207a1212,1220 > /* Inserted by Paul Bristow > * The IOMEGA Clik! drive does not support this command > * so I removed it and fake the important parameters. > * This does not appear to have any major side effects, > * so I hope everything is OK. > */ > if (!strstr(drive->id->model,"Clik")) { > > 1237a1251,1258 > } > else { > /* It is an IOMEGA Clik! Drive, which does not support the above command */ > printk (KERN_INFO "Forcing Clik! Parameters\n"); > floppy->blocks=78882; > floppy->block_size=512; > floppy->bs_factor=1; > } 1290c1311 < return rc; --- > return rc ; 1305a1328,1329 > /* The IOMEGA CLik! Drive doesn't support this command */ > if (!strstr(drive->id->model,"Clik")) { 1307a1332 > } 1328a1354,1356 > printk (KERN_INFO "Testing if unit is ready...\n"); > /* Send are you ready command */ > /* Will fail if no disk... */ 1330a1359,1360 > printk (KERN_INFO "Not ready, issuing start command\n"); > /* This will also fail for a Clik! drive if no disk... */ 1332a1363,1364 > } else > { printk (KERN_INFO "Yes unit is ready\n"); 1336a1369 > printk (KERN_INFO "I/O Error Getting Capacity\n"); 1344a1378,1379 > /* IOMEGA Clik! drives do not support lock/unlock commands */ > if (!strstr(drive->id->model,"Clik")) { 1346a1382 > } 1361a1398,1399 > /* IOMEGA Clik! drives do not support lock/unlock commands */ > if (!strstr(drive->id->model,"Clik")) { 1364a1403 > } 1544a1584,1593 > /* > * Guess what? The IOMEGA Clik! drive also needs the > * above fix. It makes nasty clicking noises without > * it, so please don't remove this. > */ > if (strcmp(drive->id->model, "IOMEGA Clik! 40 CZ ATAPI") == 0) > { > for (i = 0; i < 1 << PARTN_BITS; i++) > max_sectors[major][minor + i] = 64; > }