I think you'd have to google your motherboard's make/model for a manual and that should tell you all the correct jumper settings. But I'm fairly new to all this so I'm willing to stand corrected.
There should be a diagram on the body of the HDD which shows all the jumper settings.Whether it is slaved to the primary or secondary IDE device makes no difference to the jumper setting as long as it is across the pins marked SL as per the diagram.