|
Форум cronyx.ru (архив)
Я кое-что забыл (patch) | ly  :: 2006-04-07 14:55 |
60a61 > struct pci_dev *dev; 144c145 < int i, freq; --- > int i, freq, err; 151a153,159 > if (dev) { > err = pci_enable_device (dev); > if (err) > return err; > irq = dev->irq; > } > 156a165 > pci_disable_device (dev); 166c175,177 < if (!co_probe_chan (port_io + i * 8)) --- > if (!co_probe_chan (port_io + i * 8)) { > if (dev) > pci_disable_device (dev); 167a179 > } 177c189 < printk ("%s at %s 0x%lx on irq %d, max %d baud
", --- > printk (KERN_INFO "%s at %s 0x%lx on irq %d, max %d baud
", 199a212,214 > if (port2line[nadapters * OMEGA_NCHAN + i] <= 0) > printk (KERN_WARNING "%s: unable register uart #%d
", > name, nadapters * OMEGA_NCHAN + i); 246a262 > omega_adapters[nadapters].dev = dev; 282c298,299 < printk ("CronyxOmega-ISA at 0x%x: no irq available, adapter disabled
", --- > printk (KERN_ERR > "CronyxOmega-ISA at 0x%x: no irq available, adapter disabled
", 359c376 < printk ("No CronyxOmega adapters found
"); --- > printk (KERN_NOTICE "No CronyxOmega adapters found
"); 395a413,414 > if (omega_adapters[i].dev) > pci_disable_device (omega_adapters[i].dev);
|