Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105004
b: refs/heads/master
c: 40f095f
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 23, 2008
1 parent 4cfaf64 commit 59dc22f
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 4e65837b293f3ee6399006e94120d61430f72f26
refs/heads/master: 40f095f0138ea5b5971e5128b27e1bb907161149
6 changes: 5 additions & 1 deletion trunk/drivers/ide/ide-iops.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,15 @@ void SELECT_DRIVE (ide_drive_t *drive)
{
ide_hwif_t *hwif = drive->hwif;
const struct ide_port_ops *port_ops = hwif->port_ops;
ide_task_t task;

if (port_ops && port_ops->selectproc)
port_ops->selectproc(drive);

hwif->OUTB(drive->select.all, hwif->io_ports.device_addr);
memset(&task, 0, sizeof(task));
task.tf_flags = IDE_TFLAG_OUT_DEVICE;

drive->hwif->tf_load(drive, &task);
}

void SELECT_MASK(ide_drive_t *drive, int mask)
Expand Down

0 comments on commit 59dc22f

Please sign in to comment.