Lines Matching +full:ide +full:- +full:port

2  *  Q40 I/O port IDE Driver
17 #include <linux/ide.h>
20 #include <asm/ide.h>
23 * Bases of the IDE interfaces
59 assumption: only DATA port is ever used in 16 bit mode */ in q40_ide_setup_ports()
60 hw->io_ports.data_addr = Q40_ISA_IO_W(base); in q40_ide_setup_ports()
61 hw->io_ports.error_addr = Q40_ISA_IO_B(base + 1); in q40_ide_setup_ports()
62 hw->io_ports.nsect_addr = Q40_ISA_IO_B(base + 2); in q40_ide_setup_ports()
63 hw->io_ports.lbal_addr = Q40_ISA_IO_B(base + 3); in q40_ide_setup_ports()
64 hw->io_ports.lbam_addr = Q40_ISA_IO_B(base + 4); in q40_ide_setup_ports()
65 hw->io_ports.lbah_addr = Q40_ISA_IO_B(base + 5); in q40_ide_setup_ports()
66 hw->io_ports.device_addr = Q40_ISA_IO_B(base + 6); in q40_ide_setup_ports()
67 hw->io_ports.status_addr = Q40_ISA_IO_B(base + 7); in q40_ide_setup_ports()
68 hw->io_ports.ctl_addr = Q40_ISA_IO_B(base + 0x206); in q40_ide_setup_ports()
70 hw->irq = irq; in q40_ide_setup_ports()
76 unsigned long data_addr = drive->hwif->io_ports.data_addr; in q40ide_input_data()
78 if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { in q40ide_input_data()
89 unsigned long data_addr = drive->hwif->io_ports.data_addr; in q40ide_output_data()
91 if (drive->media == ide_disk && cmd && (cmd->tf_flags & IDE_TFLAG_FS)) { in q40ide_output_data()
99 /* Q40 has a byte-swapped IDE interface */
123 * hwif->name unfortunately isn't available yet
130 * Probe for Q40 IDE interfaces
139 return -ENODEV; in q40ide_init()
141 printk(KERN_INFO "ide: Q40 IDE controller\n"); in q40ide_init()
147 printk("could not reserve ports %lx-%lx for %s\n", in q40ide_init()
152 printk("could not reserve port %lx for %s\n", in q40ide_init()