tty: Add C_MSPAR(tty)
PATCH 1/1 tty: Add C_MSPAR(tty)
Add the missing C_MSPAR(tty) macro.
--- include/linux/tty.h | 1 + 1 file changed, 1 insertion(+)
include/linux/tty.h +1 -0
@@ -137,6 +137,7 @@ struct tty_bufhead {#define C_CLOCAL (tty) _C_FLAG((tty), CLOCAL)#define C_CIBAUD (tty) _C_FLAG((tty), CIBAUD)#define C_CRTSCTS (tty) _C_FLAG((tty), CRTSCTS) +#define C_MSPAR (tty) _C_FLAG((tty), CMSPAR)#define L_ISIG (tty) _L_FLAG((tty), ISIG)#define L_ICANON (tty) _L_FLAG((tty), ICANON)
Signature · 1 line
1.8.4.rc3
Quoted 12 lines · Andrew Lunn
Add the missing
C_MSPAR(tty)macro.Signed-off-by Andrew Lunn <[email protected]>--- include/linux/tty.h | 1 + 1 file changed, 1 insertion(+)include/linux/tty.h +0
-0
include/linux/tty.h struct tty_bufhead { · line 143
Quoted 7 lines
include/linux/tty.h +1
-0@@ -137,6 +137,7 @@ struct tty_bufhead {#define C_CLOCAL (tty) _C_FLAG((tty), CLOCAL)#define C_CIBAUD (tty) _C_FLAG((tty), CIBAUD)#define C_CRTSCTS (tty) _C_FLAG((tty), CRTSCTS) +#define C_MSPAR (tty) _C_FLAG((tty), CMSPAR)#define L_ISIG (tty) _L_FLAG((tty), ISIG)#define L_ICANON (tty) _L_FLAG((tty), ICANON)
Is this to support an out-of-tree driver?
Regards,
Peter Hurley
Quoted 18 lines · Peter Hurley
Quoted 17 lines · Andrew Lunn
Add the missing
C_MSPAR(tty)macro.Signed-off-by Andrew Lunn <[email protected]>--- include/linux/tty.h | 1 + 1 file changed, 1 insertion(+)include/linux/tty.h +1
-0@@ -137,6 +137,7 @@ struct tty_bufhead {#define C_CLOCAL (tty) _C_FLAG((tty), CLOCAL)#define C_CIBAUD (tty) _C_FLAG((tty), CIBAUD)#define C_CRTSCTS (tty) _C_FLAG((tty), CRTSCTS) +#define C_MSPAR (tty) _C_FLAG((tty), CMSPAR)
Quoted 4 lines
include/linux/tty.h struct tty_bufhead { · line 143
Quoted 2 lines
include/linux/tty.h +0
-0#define L_ISIG (tty) _L_FLAG((tty), ISIG)#define L_ICANON (tty) _L_FLAG((tty), ICANON)Is this to support an out-of-tree driver?
Hi Peter
It is to support a driver i'm trying to get accepted. It is a USB serial driver which was posted for the forth time today to the USB list:
http://article.gmane.org/gmane.linux.usb.general/96740
Andrew
Quoted 1 line · Andrew Lunn
Add the missing
C_MSPAR(tty)macro.
Please rename the macro C_CMSPAR to be consistent with the other termios-flag macros (with C_BAUD being the exception that confirms the rule).
Thanks,
Johan
Quoted 20 lines
Signed-off-by Andrew Lunn <[email protected]>--- include/linux/tty.h | 1 + 1 file changed, 1 insertion(+)include/linux/tty.h +1
-0@@ -137,6 +137,7 @@ struct tty_bufhead {#define C_CLOCAL (tty) _C_FLAG((tty), CLOCAL)#define C_CIBAUD (tty) _C_FLAG((tty), CIBAUD)#define C_CRTSCTS (tty) _C_FLAG((tty), CRTSCTS) +#define C_MSPAR (tty) _C_FLAG((tty), CMSPAR)#define L_ISIG (tty) _L_FLAG((tty), ISIG)#define L_ICANON (tty) _L_FLAG((tty), ICANON)Signature · 1 line
1.8.4.rc3
Quoted 6 lines · Johan Hovold
Quoted 1 line · Andrew Lunn
Add the missing
C_MSPAR(tty)macro.Please rename the macro
C_CMSPARto be consistent with the other termios-flag macros (withC_BAUDbeing the exception that confirms the rule).
Hi Johan
O.K, i will rename it.
Should i add this to the MOXA patch series, or submit is separately? I'm just thinking about dependencies. It will probably be easier to take both through one tree.
Thanks
Andrew
Greg KH
maintainerQuoted 8 lines · Andrew Lunn
Quoted 6 lines · Johan Hovold
Quoted 1 line · Andrew Lunn
Add the missing
C_MSPAR(tty)macro.Please rename the macro
C_CMSPARto be consistent with the other termios-flag macros (withC_BAUDbeing the exception that confirms the rule).
Quoted 7 lines
Hi Johan
O.K, i will rename it.
Should i add this to the MOXA patch series, or submit is separately? I'm just thinking about dependencies. It will probably be easier to take both through one tree.
I'll take both through the same tree, so might as well make it part of the same patch.
thanks,
greg k-h
Quoted 8 lines · Andrew Lunn
Quoted 6 lines · Johan Hovold
Quoted 1 line · Andrew Lunn
Add the missing
C_MSPAR(tty)macro.Please rename the macro
C_CMSPARto be consistent with the other termios-flag macros (withC_BAUDbeing the exception that confirms the rule).
Quoted 7 lines
Hi Johan
O.K, i will rename it.
Should i add this to the MOXA patch series, or submit is separately? I'm just thinking about dependencies. It will probably be easier to take both through one tree.
Yeah, you're right. I was gonna mention this in my review of v4 (it's under way). Submit them as a two-part series for v5 and Greg can take them both through the usb tree.
Thanks,
Johan