On Monday 07 January 2008, Paul Gortmaker wrote: > + /* Next, fill our array with any localbus serial ports */ > + for_each_compatible_node(np, "serial", "ns16550") { > + struct device_node *lbs = of_get_parent(np); > + if (lbs && of_device_is_compatible(lbs, "localbus")) { > + index = add_legacy_soc_port(np, np); > + if (index >= 0 && np == stdout) > + legacy_serial_console = index; > + } > + of_node_put(lbs); > + } > +
This is getting a little silly. Can't you finally unify the code so it checks for any 8250/16450/16550 on any soc/isa/tsi-bridge/opb/localbus? Arnd <>< _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev