Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/uart/uart_dev_pl011.c
Show First 20 Lines • Show All 373 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
return (0); | return (0); | ||||
} | } | ||||
static int | static int | ||||
uart_pl011_bus_ioctl(struct uart_softc *sc, int request, intptr_t data) | uart_pl011_bus_ioctl(struct uart_softc *sc, int request, intptr_t data) | ||||
{ | { | ||||
struct uart_bas *bas; | |||||
int error; | int error; | ||||
bas = &sc->sc_bas; | |||||
error = 0; | error = 0; | ||||
uart_lock(sc->sc_hwmtx); | uart_lock(sc->sc_hwmtx); | ||||
switch (request) { | switch (request) { | ||||
case UART_IOCTL_BREAK: | case UART_IOCTL_BREAK: | ||||
break; | break; | ||||
case UART_IOCTL_BAUD: | case UART_IOCTL_BAUD: | ||||
*(int*)data = 115200; | *(int*)data = 115200; | ||||
break; | break; | ||||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |