Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77284
b: refs/heads/master
c: 852738f
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jan 26, 2008
1 parent edcf0df commit d53eecd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 145b75e9aedbe36c55e45da8564dcd0814bdd89e
refs/heads/master: 852738f39258deafb3d89c187cb1a4050820d555
4 changes: 3 additions & 1 deletion trunk/drivers/ide/ide-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,10 @@ static int set_multcount(ide_drive_t *drive, int arg)

if (drive->special.b.set_multmode)
return -EBUSY;

ide_init_drive_cmd (&rq);
rq.cmd_type = REQ_TYPE_ATA_CMD;
rq.cmd_type = REQ_TYPE_ATA_TASKFILE;

drive->mult_req = arg;
drive->special.b.set_multmode = 1;
(void) ide_do_drive_cmd (drive, &rq, ide_wait);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/ide-taskfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ int ide_cmd_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg)
struct request rq;

ide_init_drive_cmd(&rq);
rq.cmd_type = REQ_TYPE_ATA_CMD;
rq.cmd_type = REQ_TYPE_ATA_TASKFILE;

return ide_do_drive_cmd(drive, &rq, ide_wait);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/ide/ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ int set_pio_mode(ide_drive_t *drive, int arg)
return -EBUSY;

ide_init_drive_cmd(&rq);
rq.cmd_type = REQ_TYPE_ATA_CMD;
rq.cmd_type = REQ_TYPE_ATA_TASKFILE;

drive->tune_req = (u8) arg;
drive->special.b.set_tune = 1;
Expand Down

0 comments on commit d53eecd

Please sign in to comment.