}
cb.block = htonl (start);
cb.numblocks = htonw (n);
-
+
return execute_command (dev, dir, (u8 *) &cb, sizeof (cb), buf,
n * MSC_INST(dev)->blocksize);
}
cmdblock6_t cb;
memset (&cb, 0, sizeof (cb));
cb.command = 0x3;
-
+
return execute_command (dev, cbw_direction_data_in, (u8 *) &cb,
sizeof (cb), buf, 19);
}
timeout = 30 * 10; /* SCSI/ATA specs say we have to wait up to 30s. Ugh */
while (test_unit_ready (dev) && --timeout) {
mdelay (100);
- if (!(timeout % 10))
+ if (!(timeout % 10))
printf (".");
}
if (test_unit_ready (dev)) {