···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,
+1-7
drivers/ide/ide-proc.c
···273273274274static void proc_ide_settings_warn(void)275275{276276- static int warned;277277-278278- if (warned)279279- return;280280-281281- printk(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is "276276+ printk_once(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is "282277 "obsolete, and will be removed soon!\n");283283- warned = 1;284278}285279286280static int ide_settings_proc_show(struct seq_file *m, void *v)