diff options
| author | Olivier Houchard <cognet@FreeBSD.org> | 2004-11-23 16:30:50 +0000 |
|---|---|---|
| committer | Olivier Houchard <cognet@FreeBSD.org> | 2004-11-23 16:30:50 +0000 |
| commit | 6054abc4954abbc670c6482e6d12b98570e96331 (patch) | |
| tree | 0e6825cc9da5b606f4bae20173532c0eb544b64f | |
| parent | 7258e91f0f3b2ac716c59a84702b4d4c17957881 (diff) | |
Notes
| -rw-r--r-- | sys/arm/xscale/i80321/uart_bus_i80321.c | 3 | ||||
| -rw-r--r-- | sys/arm/xscale/i80321/uart_cpu_i80321.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/arm/xscale/i80321/uart_bus_i80321.c b/sys/arm/xscale/i80321/uart_bus_i80321.c index ab53daa0d26b..3c61c739f344 100644 --- a/sys/arm/xscale/i80321/uart_bus_i80321.c +++ b/sys/arm/xscale/i80321/uart_bus_i80321.c @@ -59,7 +59,6 @@ static driver_t uart_i80321_driver = { sizeof(struct uart_softc), }; -extern struct uart_class uart_i8251_class; extern SLIST_HEAD(uart_devinfo_list, uart_devinfo) uart_sysdevs; static int uart_i80321_probe(device_t dev) @@ -68,7 +67,7 @@ uart_i80321_probe(device_t dev) sc = device_get_softc(dev); sc->sc_sysdev = SLIST_FIRST(&uart_sysdevs); - sc->sc_class = &uart_i8251_class; + sc->sc_class = &uart_ns8250_class; bcopy(&sc->sc_sysdev->bas, &sc->sc_bas, sizeof(sc->sc_bas)); return(uart_bus_probe(dev, 0, 0, 0, 0)); } diff --git a/sys/arm/xscale/i80321/uart_cpu_i80321.c b/sys/arm/xscale/i80321/uart_cpu_i80321.c index ab04a4c1ea0d..6281d48957db 100644 --- a/sys/arm/xscale/i80321/uart_cpu_i80321.c +++ b/sys/arm/xscale/i80321/uart_cpu_i80321.c @@ -55,7 +55,7 @@ DO_corb(void); int uart_cpu_getdev(int devtype, struct uart_devinfo *di) { - di->ops = uart_i8251_ops; + di->ops = uart_ns8250_ops; di->bas.chan = 0; di->bas.bst = &obio_bs_tag; di->bas.regshft = 0; |
