The IDE controller, in the bios and in Windows.
In windows: right click My Computer / Properties / Hardware / Device Manager / IDE Ata Atapi Controllers
click the little + sign
right click the controller name / choose properties - make sure DMA is enabled or "let bios determine mode"
then make sure everything for the Primary and Secondary IDE in bios is set to Auto