uart_legacy_alloc
if (uart_legacy_alloc(unit, &sc->iobase, &sc->irq) != 0) {
int uart_legacy_alloc(int unit, int *ioaddr, int *irq);