Re: [PATCH] Remove Hayes ESP ioctls

From: Arnd Bergmann
Date: Thu Jun 17 2010 - 16:41:19 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/