mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
CRIS: ioctl for getting RS485 information
Add ioctl to CRIS serial driver to get RS485 data from user-space. Signed-off-by: Claudio Scordino <[email protected]> Signed-off-by: Jesper Nilsson <[email protected]>
This commit is contained in:
parent
9fe6206f40
commit
f1d23ed821
2 changed files with 12 additions and 0 deletions
|
|
@ -77,6 +77,7 @@
|
|||
#define TIOCSERSETRS485 0x5461 /* enable rs-485 (deprecated) */
|
||||
#define TIOCSERWRRS485 0x5462 /* write rs-485 */
|
||||
#define TIOCSRS485 0x5463 /* enable rs-485 */
|
||||
#define TIOCGRS485 0x542E /* get rs-485 */
|
||||
|
||||
/* Used for packet mode */
|
||||
#define TIOCPKT_DATA 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue