16c95x Serial Port Driver

while (!(read_reg(dev->base + UART_LSR) & LSR_TXFIFO_FULL)) if (ringbuf_empty(&dev->tx_ring)) // No more data: disable Tx interrupt uint8_t ier = read_reg(dev->base + UART_IER); write_reg(dev->base + UART_IER, ier & ~IER_THRE); break;

struct uart_port *port = dev_id; unsigned int iir = serial_in(port, UART_IIR); if (iir & UART_IIR_NO_INT) return IRQ_NONE; 16c95x serial port driver

: Most 16C95x devices use Oxford Semiconductor (now part of PLX Technology/Broadcom) chips. Look for Hardware IDs like PCI\VEN_1415 or OXPCIMF\PNP0501 in the device properties. Download Sources : while (

: PLCs and CNC machines that require low-latency, high-reliability serial links. Before downloading, identify your chip

Before downloading, identify your chip. Most 16C95x technology is found on PCI, PCI-Express, or PCMCIA expansion cards from brands like StarTech, Quatech, or Perle. 2. Driver Acquisition

Some of the key registers used by the driver include: