diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:40 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-13 15:39:40 -0400 |
commit | 7f612f272ad8abe82411f368bfacf793b466e1b3 (patch) | |
tree | 4d850be5dc0569a24a7f8049d4b68d6ab511518e /drivers/ide/pci/scc_pata.c | |
parent | 123995b97136cb41fa282f0ed2385f2c8066df96 (diff) |
ide: remove [ata_]select_t
* Use 'drive->dn & 1' in ide_init_disk().
* remove [ata_]select_t.
While at it:
* Use ATA_DEVICE_OBS define in ide_port_init_devices_data().
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/scc_pata.c')
-rw-r--r-- | drivers/ide/pci/scc_pata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/pci/scc_pata.c b/drivers/ide/pci/scc_pata.c index 0eced0ae2e86..c2e85fc21b5a 100644 --- a/drivers/ide/pci/scc_pata.c +++ b/drivers/ide/pci/scc_pata.c | |||
@@ -705,7 +705,7 @@ static void scc_tf_load(ide_drive_t *drive, ide_task_t *task) | |||
705 | scc_ide_outb(tf->lbah, io_ports->lbah_addr); | 705 | scc_ide_outb(tf->lbah, io_ports->lbah_addr); |
706 | 706 | ||
707 | if (task->tf_flags & IDE_TFLAG_OUT_DEVICE) | 707 | if (task->tf_flags & IDE_TFLAG_OUT_DEVICE) |
708 | scc_ide_outb((tf->device & HIHI) | drive->select.all, | 708 | scc_ide_outb((tf->device & HIHI) | drive->select, |
709 | io_ports->device_addr); | 709 | io_ports->device_addr); |
710 | } | 710 | } |
711 | 711 | ||