22 static const struct pci_driver soc_cavium_uart
__pci_driver = {
#define PCI_DID_CAVIUM_THUNDERX_UART
#define PCI_VENDOR_CAVIUM
int uart_setup(const size_t bus, int baudrate)
Setup UART with desired BAUD rate in 8N1, no parity mode.
int uart_is_enabled(const size_t bus)
Returns the UART state.
static struct device_operations device_ops
static const struct pci_driver soc_cavium_uart __pci_driver
struct chip_operations soc_cavium_common_pci_ops
static void cavium_uart_init(struct device *dev)
void(* init)(struct device *dev)