/* Perform drive side detection decoding, allowing for device vendors who can't follow the documentation.  */
static int ata_is_40wire(struct ata_device *dev)
/* Perform drive side detection decoding, allowing for device vendors who can't follow the documentation.  */
static int ata_is_40wire(struct ata_device *dev)
{
	if (dev->horkage & ATA_HORKAGE_IVB)
		return ata_drive_40wire_relaxed(dev->id);
	return ata_drive_40wire(dev->id);
}