Source
420
420
421
421
switch (pc_buf[desc_start + 4] & 0x03) {
422
422
/* Clik! drive returns this instead of CAPACITY_CURRENT */
423
423
case CAPACITY_UNFORMATTED:
424
424
if (!(drive->atapi_flags & IDE_AFLAG_CLIK_DRIVE))
425
425
/*
426
426
* If it is not a clik drive, break out
427
427
* (maintains previous driver behaviour)
428
428
*/
429
429
break;
430
-
/* else: fall through */
430
+
/* fall through */
431
431
case CAPACITY_CURRENT:
432
432
/* Normal Zip/LS-120 disks */
433
433
if (memcmp(cap_desc, &floppy->cap_desc, 8))
434
434
printk(KERN_INFO PFX "%s: %dkB, %d blocks, %d "
435
435
"sector size\n",
436
436
drive->name, blocks * length / 1024,
437
437
blocks, length);
438
438
memcpy(&floppy->cap_desc, cap_desc, 8);
439
439
440
440
if (!length || length % 512) {