History

Add register definitions used in several Exar PCI/PCIe UARTs

Add register definitions used in several Exar PCI/PCIe UARTs

Matt Schulte committed 13 years ago

Commit d02f8151 parent 1cd3f2d1 file · +13 −1Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/serial_reg.h+13−1
@@ -368,10 +368,22 @@ · 367 unmodified lines
368368 #define UART_OMAP_MDR1_DISABLE 0x07 /* Disable (default state) */
369369
370370 /*
371− * These are definitions for the XR17V35X and XR17D15X
371+ * These are definitions for the Exar XR17V35X and XR17(C|D)15X
372372 */
373+#define UART_EXAR_8XMODE 0x88 /* 8X sampling rate select */
373374 #define UART_EXAR_SLEEP 0x8b /* Sleep mode */
374375 #define UART_EXAR_DVID 0x8d /* Device identification */
375376
377+#define UART_EXAR_FCTR 0x08 /* Feature Control Register */
378+#define UART_FCTR_EXAR_IRDA 0x08 /* IrDa data encode select */
379+#define UART_FCTR_EXAR_485 0x10 /* Auto 485 half duplex dir ctl */
380+#define UART_FCTR_EXAR_TRGA 0x00 /* FIFO trigger table A */
381+#define UART_FCTR_EXAR_TRGB 0x60 /* FIFO trigger table B */
382+#define UART_FCTR_EXAR_TRGC 0x80 /* FIFO trigger table C */
383+#define UART_FCTR_EXAR_TRGD 0xc0 /* FIFO trigger table D programmable */
384+
385+#define UART_EXAR_TXTRG 0x0a /* Tx FIFO trigger level write-only */
386+#define UART_EXAR_RXTRG 0x0b /* Rx FIFO trigger level write-only */
387+
376388 #endif /* _LINUX_SERIAL_REG_H */
377389

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t