Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sparc64/pci/sbbc.c
Show First 20 Lines • Show All 612 Lines • ▼ Show 20 Lines | |||||
static int | static int | ||||
sbbc_uart_sbbc_probe(device_t dev) | sbbc_uart_sbbc_probe(device_t dev) | ||||
{ | { | ||||
struct uart_softc *sc; | struct uart_softc *sc; | ||||
sc = device_get_softc(dev); | sc = device_get_softc(dev); | ||||
sc->sc_class = &uart_sbbc_class; | sc->sc_class = &uart_sbbc_class; | ||||
device_set_desc(dev, "Serengeti console"); | device_set_desc(dev, "Serengeti console"); | ||||
return (uart_bus_probe(dev, 0, 0, SBBC_PCI_BAR, 0)); | return (uart_bus_probe(dev, 0, 0, 0, SBBC_PCI_BAR, 0)); | ||||
} | } | ||||
/* | /* | ||||
* Low-level UART interface | * Low-level UART interface | ||||
*/ | */ | ||||
static int sbbc_uart_probe(struct uart_bas *bas); | static int sbbc_uart_probe(struct uart_bas *bas); | ||||
static void sbbc_uart_init(struct uart_bas *bas, int baudrate, int databits, | static void sbbc_uart_init(struct uart_bas *bas, int baudrate, int databits, | ||||
int stopbits, int parity); | int stopbits, int parity); | ||||
▲ Show 20 Lines • Show All 482 Lines • Show Last 20 Lines |