/* Check for the presence of an ATA66 capable cable on the interface.  */
static u8 sil_cable_detect(ide_hwif_t *hwif)
/* Check for the presence of an ATA66 capable cable on the interface.  */
static u8 sil_cable_detect(ide_hwif_t *hwif)
{
	struct pci_dev *dev	= to_pci_dev(hwif->dev);
	unsigned long addr	= siimage_selreg(hwif, 0);
	u8 ata66		= sil_ioread8(dev, addr);
	return (ata66 & 0x01) ? ATA_CBL_PATA80 : ATA_CBL_PATA40;
}