337
337
unsigned spb = scsi->blocksize >> GRUB_DISK_SECTOR_BITS;
338
338
if (! (spb != 0 && (scsi->blocksize & GRUB_DISK_SECTOR_SIZE) == 0))
339
339
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
342
342
grub_uint32_t sector_mod = 0;
343
343
sector = grub_divmod64 (sector, spb, §or_mod);
345
345
if (! (sector_mod == 0 && size % spb == 0))
346
346
return grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,