| 51 | #include "bcm_machdep.h" |
| 52 | |
| 53 | static int |
| 54 | uart_chipc_probe(device_t dev) |
| 55 | { |
| 56 | struct uart_softc *sc; |
| 57 | u_int rclk; |
| 58 | |
| 59 | sc = device_get_softc(dev); |
| 60 | sc->sc_class = &uart_ns8250_class; |
| 61 | |
| 62 | rclk = bcm_get_uart_rclk(bcm_get_platform()); |
| 63 | return (uart_bus_probe(dev, 0, 0, rclk, 0, 0, 0)); |
| 64 | } |
| 65 | |
| 66 | static device_method_t uart_chipc_methods[] = { |
| 67 | /* Device interface */ |
nothing calls this directly
no test coverage detected