Check drive side detection
int ata_is_40wire(struct ata_device * dev);
dev
device
Perform drive side detection decoding, allowing for device vendors who can't follow the documentation.
Jeff Garzik
Author.