diff options
Diffstat (limited to 'sys/dev/ata/ata-disk.c')
-rw-r--r-- | sys/dev/ata/ata-disk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index 05f7307..9bbacd2 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -354,7 +354,8 @@ addump(void *arg, void *virtual, vm_offset_t physical, request.flags = ATA_R_CONTROL; } - if (request.device->channel->hw.transaction(&request) == ATA_OP_CONTINUES) { + if (request.device->channel-> + hw.begin_transaction(&request) == ATA_OP_CONTINUES) { while (request.device->channel->running == &request && !(request.status & ATA_S_ERROR)) { DELAY(20); |