/* Just throw the needed data at the libata helper and it does all our work.  */
static int sc1200_init_one(struct pci_dev *dev, const struct pci_device_id *id)
/* Just throw the needed data at the libata helper and it does all our work.  */
static int sc1200_init_one(struct pci_dev *dev, const struct pci_device_id *id)
{
	static const struct ata_port_info info = {
		.flags = ATA_FLAG_SLAVE_POSS,
		.pio_mask = ATA_PIO4,
		.mwdma_mask = ATA_MWDMA2,
		.udma_mask = ATA_UDMA2,
		.port_ops = &sc1200_port_ops
	};
	const struct ata_port_info *ppi[] = { &info, NULL };
	return ata_pci_sff_init_one(dev, ppi, &sc1200_sht, NULL);
}