set parms.write on disk write
This commit is contained in:
parent
3c51ecb82b
commit
c76ae9b4da
1 changed files with 1 additions and 0 deletions
|
@ -302,6 +302,7 @@ grub_ata_readwrite (grub_disk_t disk, grub_disk_addr_t sector,
|
|||
parms.taskfile.cmd = (! rw ? cmd : cmd_write);
|
||||
parms.buffer = buf;
|
||||
parms.size = batch * GRUB_DISK_SECTOR_SIZE;
|
||||
parms.write = rw;
|
||||
if (ata->dma)
|
||||
parms.dma = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue