Any setting required?.
on the back of your drive should be some pins with a small
piece of plastic, this plastic piece is named jumper.
according on which pins the jumper is making contact,
the drive will be set to corresponding mode (master,slave,cable sellect,single).
Look at your drive there should be a description about how to set the jumper
so it has the mode which you prefer.
Same refers also to your Ide cd-rom.
If you have worries about how to set the jumpers
post the model of your ide hdd and ide cd-rom here.