Set hard drive to master/slave or both to cable select (this will go on your Primary IDE controller)
Use another ribbon set it cable select (This will go to your secondary IDE controller) and the other drive as cable select.
Cable select will just select whether it's master/slave depending on which position the drive is connected to. If this is too difficult, just set each drive to master or slave.