···10461046 if (port_ops && port_ops->init_dev)10471047 port_ops->init_dev(drive);10481048 }10491049-10501050- ide_port_for_each_dev(i, drive, hwif) {10511051- /*10521052- * default to PIO Mode 0 before we figure out10531053- * the most suited mode for the attached device10541054- */10551055- if (port_ops && port_ops->set_pio_mode)10561056- port_ops->set_pio_mode(drive, 0);10571057- }10581049}1059105010601051static void ide_init_port(ide_hwif_t *hwif, unsigned int port,