<< It doesnt matter, as long as you have one master per channel, and you do not use the RAID (if you have onboard RAID) for the CD rom drive
You could either do:
Harddisk master on primary IDE channel, CD rom slave on primary IDE channel OR
harddisk master on primary IDE channel, CD rom master...