First, I assume these are P-ATA and not S-ATA. You'll know because PATA uses the wide ribbon cable (>1 disk per cable) while SATA uses the (~1cm) cable (one per drive).
So... for PATA each drive has jumpers in which you can choose to set as either...as seen
here (just an example - your drives will be different)
Also, as far as I know.. master/slave means the same thing as primary/secondary
cheers