summaryrefslogtreecommitdiffstats
path: root/sys/mips/rt305x/uart_bus_rt305x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/rt305x/uart_bus_rt305x.c')
-rw-r--r--sys/mips/rt305x/uart_bus_rt305x.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/mips/rt305x/uart_bus_rt305x.c b/sys/mips/rt305x/uart_bus_rt305x.c
index 9cd1df7..8b10080 100644
--- a/sys/mips/rt305x/uart_bus_rt305x.c
+++ b/sys/mips/rt305x/uart_bus_rt305x.c
@@ -75,21 +75,13 @@ static driver_t uart_rt305x_driver = {
sizeof(struct uart_softc),
};
-extern SLIST_HEAD(uart_devinfo_list, uart_devinfo) uart_sysdevs;
-
static int
uart_rt305x_probe(device_t dev)
{
struct uart_softc *sc;
sc = device_get_softc(dev);
- sc->sc_sysdev = SLIST_FIRST(&uart_sysdevs);
sc->sc_class = &uart_rt305x_uart_class;
- bcopy(&sc->sc_sysdev->bas, &sc->sc_bas, sizeof(sc->sc_bas));
- sc->sc_sysdev->bas.regshft = 2;
- sc->sc_sysdev->bas.bst = mips_bus_space_generic;
- sc->sc_sysdev->bas.bsh =
- MIPS_PHYS_TO_KSEG1(device_get_unit(dev)?UARTLITE_BASE:UART_BASE);
sc->sc_bas.regshft = 2;
sc->sc_bas.bst = mips_bus_space_generic;
sc->sc_bas.bsh =
OpenPOWER on IntegriCloud