Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm/xscale/ixp425/uart_bus_ixp425.c
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | uart_ixp425_probe(device_t dev) | ||||
sc = device_get_softc(dev); | sc = device_get_softc(dev); | ||||
sc->sc_class = &uart_ns8250_class; | sc->sc_class = &uart_ns8250_class; | ||||
if (resource_int_value("uart", unit, "rclk", &rclk)) | if (resource_int_value("uart", unit, "rclk", &rclk)) | ||||
rclk = IXP425_UART_FREQ; | rclk = IXP425_UART_FREQ; | ||||
if (bootverbose) | if (bootverbose) | ||||
device_printf(dev, "rclk %u\n", rclk); | device_printf(dev, "rclk %u\n", rclk); | ||||
return uart_bus_probe(dev, 0, rclk, 0, 0); | return uart_bus_probe(dev, 0, 0, rclk, 0, 0); | ||||
} | } |