2 #include <linux/kernel.h>
4 #include <linux/module.h>
7 #define DRV_NAME "ide-4drives"
9 static bool probe_4drives;
14 static void ide_4drives_init_dev(
ide_drive_t *drive)
16 if (drive->
hwif->channel)
20 static const struct ide_port_ops ide_4drives_port_ops = {
21 .init_dev = ide_4drives_init_dev,
25 .port_ops = &ide_4drives_port_ops,
31 static int __init ide_4drives_init(
void)
33 unsigned long base = 0x1f0,
ctl = 0x3f6;
36 if (probe_4drives == 0)
54 ide_std_init_ports(&
hw, base,
ctl);