linux-017-omap_serial_for_rs485.patch 585 B

123456789101112
  1. --- a/include/uapi/linux/serial.h 2016-11-08 16:38:32.000000000 +0100
  2. +++ b/include/uapi/linux/serial.h 2017-02-18 14:27:23.569732653 +0100
  3. @@ -119,7 +119,8 @@ struct serial_rs485 {
  4. #define SER_RS485_RX_DURING_TX (1 << 4)
  5. __u32 delay_rts_before_send; /* Delay before send (milliseconds) */
  6. __u32 delay_rts_after_send; /* Delay after send (milliseconds) */
  7. - __u32 padding[5]; /* Memory is cheap, new structs
  8. + __u32 udelay_before_enable_tx;/* Delay before switching to tx direction */
  9. + __u32 padding[4]; /* Memory is cheap, new structs
  10. are a royal PITA .. */
  11. };