The "primary and secondary IDE channels" are accessed only through the IDE controller. The only difference between the two, IIRC, is that one signals completion on a different IRQ than the other, and one uses a different range of physical memory locations than the other for the memory-mapped I/O. Both ranges are "under" the IDE controller's range, though.
Basically, the IDE controller driver should be the only thing that matters for stuff like this. (I think, anyway.) I don't see how the driver for anything else would matter, because the driver for the IDE channel, and the driver for the hard drive itself, both never change as long as you have an IDE drive. (IIRC) |