/* Provide our own set_mode() as we don't want to change anything that has already been configured..  */
static int pata_platform_set_mode(struct ata_link *link, struct ata_device **unused)
/* Provide our own set_mode() as we don't want to change anything that has already been configured..  */
static int pata_platform_set_mode(struct ata_link *link, struct ata_device **unused)
{
	struct ata_device *dev;
	ata_for_each_dev(dev, link, ENABLED) {
		dev->pio_mode = dev->xfer_mode = XFER_PIO_0;
		dev->xfer_shift = ATA_SHIFT_PIO;
		dev->flags |= ATA_DFLAG_PIO;
		ata_dev_printk(dev, KERN_INFO, "configured for PIO\n");
	}
	return 0;
}