patch-2.4.19 linux-2.4.19/include/asm-cris/rs485.h

Next file: linux-2.4.19/include/asm-cris/siginfo.h
Previous file: linux-2.4.19/include/asm-cris/processor.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-cris/rs485.h linux-2.4.19/include/asm-cris/rs485.h
@@ -0,0 +1,20 @@
+/* RS-485 structures */
+
+/* RS-485 support */
+/* Used with ioctl() TIOCSERSETRS485 */
+struct rs485_control {
+        unsigned short rts_on_send;
+        unsigned short rts_after_sent;
+        __u32 delay_rts_before_send;
+        unsigned short enabled;
+#ifdef __KERNEL__
+        int disable_serial_loopback;
+#endif
+};
+
+/* Used with ioctl() TIOCSERWRRS485 */
+struct rs485_write {
+        __u16 outc_size;
+        unsigned char *outc;
+};
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)