IDE interrupt based driver
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m36s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m36s
This commit is contained in:
@@ -32,9 +32,9 @@ static int device_probe_partitions_dos (struct proc* proc, struct reschedule_ctx
|
||||
|
||||
spin_lock (&device->lock, &fd);
|
||||
|
||||
device_op (device, XDRV_GET_SECTOR_SIZE, proc, rctx, §or_size);
|
||||
device_op (device, XDRV_GET_SECTOR_SIZE, proc, rctx, &fd, §or_size);
|
||||
|
||||
int ret = device_op (device, XDRV_READ, proc, rctx, §or, §or_count, &mbr);
|
||||
int ret = device_op (device, XDRV_READ, proc, rctx, &fd, §or, §or_count, &mbr);
|
||||
|
||||
if (ret < 0) {
|
||||
spin_unlock (&device->lock, fd);
|
||||
|
||||
Reference in New Issue
Block a user