Thread (3 messages) 3 messages, 2 authors, 2011-01-06

Re: [PATCH] RS485 on Cris: use global value of TIOCSRS485

From: Alan Cox <hidden>
Date: 2011-01-06 13:36:12
Also in: lkml

With this patch, TIOCSRS485 gets the same value across all
architectures, making maintenance and portability of user-level code
easier.
I don't see why this is worth doing - no application code should ever
hardcode the value.
+	case TIOCSRS485DEPR:
+	{
+		printk(KERN_DEBUG "The use of this ioctl is deprecated. Use TIOCSRS485 instead\n");
+		/* Fall through */
+	}
and letting everyone spew printks is not a good thing.

NAK
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help