"... IDE code, despite the fact that its user base is shrinking."
This is not so black & white. While most desktop distributions switched to use libata for PATA handling this is not true for many embedded distros (there are new IDE host drivers for embedded appliances submitted/merged with each kernel release, moreover there doesn't seem to be an organized effort from libata side to add support for all non-x86 hardware currently only handled by IDE).