Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105013
b: refs/heads/master
c: c30daac
h: refs/heads/master
i:
  105011: af3e148
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 23, 2008
1 parent 005d665 commit b2e6be6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: ba4b2e607e4e9eaa929935325dafd5c86d3b5262
refs/heads/master: c30daac190de23779090c645e680c7977377032c
2 changes: 1 addition & 1 deletion trunk/drivers/ide/ide-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ static int set_xfer_rate (ide_drive_t *drive, int arg)
ide_task_t task;
int err;

if (arg < 0 || arg > 70)
if (arg < 0 || (arg > 1 && arg < XFER_PIO_0) || arg > XFER_UDMA_6)
return -EINVAL;

memset(&task, 0, sizeof(task));
Expand Down

0 comments on commit b2e6be6

Please sign in to comment.