From c0423dd8ef7079a845a1aa3ceb20e565e815f97b Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 29 Apr 2019 14:13:54 +0300 Subject: 10884 kbd: add option to limit autorepeat count, convert manual Reviewed by: Peter Tribble Approved by: Dan McDonald --- usr/src/uts/common/os/streamio.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'usr/src/uts/common/os/streamio.c') diff --git a/usr/src/uts/common/os/streamio.c b/usr/src/uts/common/os/streamio.c index d4c2f7023d..0f6077915f 100644 --- a/usr/src/uts/common/os/streamio.c +++ b/usr/src/uts/common/os/streamio.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ +/* All Rights Reserved */ /* @@ -3419,6 +3419,7 @@ strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag, case KIOCSDIRECT: case KIOCSCOMPAT: case KIOCSKABORTEN: + case KIOCSRPTCOUNT: case KIOCSRPTDELAY: case KIOCSRPTRATE: case VUIDSFORMAT: @@ -3488,6 +3489,7 @@ strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag, case TCGETS: case LDGETT: case TIOCGETP: + case KIOCGRPTCOUNT: case KIOCGRPTDELAY: case KIOCGRPTRATE: strioc.ic_len = 0; @@ -5422,7 +5424,7 @@ strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag, /* * Set/clear the write options. arg is a bit * mask with any of the following bits set... - * SNDZERO - send zero length message + * SNDZERO - send zero length message * SNDPIPE - send sigpipe to process if * sd_werror is set and process is * doing a write or putmsg. @@ -5883,7 +5885,7 @@ out: * ic_timout is not INFTIM). Non-stream head errors may be returned if * the ioc_error indicates that the driver/module had problems, * an EFAULT was found when accessing user data, a lack of - * resources, etc. + * resources, etc. */ int strdoioctl( -- cgit v1.2.3