lkml.org 
[lkml]   [2010]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Remove Hayes ESP ioctls
Date
On Thursday 17 June 2010 22:14:17 Greg KH wrote:
> --- a/include/asm-generic/ioctls.h
> +++ b/include/asm-generic/ioctls.h
> @@ -87,12 +87,10 @@
> #define TIOCGICOUNT 0x545D /* read serial port inline interrupt counts */
>
> /*
> - * some architectures define FIOQSIZE as 0x545E, which is used for
> - * TIOCGHAYESESP on others
> + * Some arches already define FIOQSIZE due to a historical
> + * conflict with a Hayes modem-specific ioctl value.
> */
> #ifndef FIOQSIZE
> -# define TIOCGHAYESESP 0x545E /* Get Hayes ESP configuration */
> -# define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */
> # define FIOQSIZE 0x5460
> #endif

Yes, that looks right. I had introduced the #ifdef originally, but
did not look closely enough at the patch now.

Arnd


\
 
 \ /
  Last update: 2010-06-17 22:43    [W:0.044 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site