diff options
author | cognet <cognet@FreeBSD.org> | 2004-11-23 16:30:50 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-11-23 16:30:50 +0000 |
commit | 8519448b1b319816778c82132e8cfcc9bdbb1368 (patch) | |
tree | 0e6825cc9da5b606f4bae20173532c0eb544b64f | |
parent | 93fe353ec5725020e33859a4dcde70dd9c0334f3 (diff) | |
download | FreeBSD-src-8519448b1b319816778c82132e8cfcc9bdbb1368.zip FreeBSD-src-8519448b1b319816778c82132e8cfcc9bdbb1368.tar.gz |
Use ns8250.
-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 ab53daa..3c61c73 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 ab04a4c..6281d48 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; |