/* The BIOS configured everything. Our job is not to fiddle. Just use whatever PIO the hardware is using and leave it at that. When we get some kind of nice user driven API for control then we can expand on this as per hdparm in the base kernel.  */
static int legacy_set_mode(struct ata_link *link, struct ata_device **unused)
/* The BIOS configured everything. Our job is not to fiddle. Just use whatever PIO the hardware is using and leave it at that. When we get some kind of nice user driven API for control then we can expand on this as per hdparm in the base kernel.  */
static int legacy_set_mode(struct ata_link *link, struct ata_device **unused)
{
	struct ata_device *dev;
	ata_for_each_dev(dev, link, ENABLED) {
		ata_dev_printk(dev, KERN_INFO, "configured for PIO\n");
		dev->pio_mode = XFER_PIO_0;
		dev->xfer_mode = XFER_PIO_0;
		dev->xfer_shift = ATA_SHIFT_PIO;
		dev->flags |= ATA_DFLAG_PIO;
	}
	return 0;
}