/* We do the basic set up of the interface structure. The SCC requires several custom handlers so we override the default ide DMA handlers appropriately.  */
static void __devinit init_hwif_scc(ide_hwif_t *hwif)
/* We do the basic set up of the interface structure. The SCC requires several custom handlers so we override the default ide DMA handlers appropriately.  */
static void __devinit init_hwif_scc(ide_hwif_t *hwif)
{
	out_be32((void __iomem *)(hwif->dma_base + 0x018), hwif->dmatable_dma);
	if (in_be32((void __iomem *)(hwif->config_data + 0xff0)) & CCKCTRL_ATACLKOEN)
		hwif->ultra_mask = ATA_UDMA6;
	else
		hwif->ultra_mask = ATA_UDMA5;
}