Add set_baudrate, get_baudrate and get_divisor function pointers to
struct ns8250_softc. A driver for a UART with a baud rate generator of
its own sets them before calling ns8250_bus_attach(), which sets the
ones left NULL to the 16550 functions. The param, ioctl, flush and
transmit methods use them, and ns8250_delay(), ns8250_drain() and
ns8250_flush() now take the softc to reach them.
While probing, the softc is not yet an ns8250_softc, so ns8250_delay()
uses the 16550 divisor when UART_BAS_IN_PROBE is set. The low-level
console code, which has no softc, also uses the 16550 functions.
No functional change for existing drivers.
Sponsored by: Alchemilla Ventures Private Limited