]> err.no Git - linux-2.6/commit
sundance: SIOCDEVPRIVATE pollution
authorFrancois Romieu <romieu@fr.zoreil.com>
Thu, 1 Nov 2007 07:52:13 +0000 (00:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:46 +0000 (15:03 -0800)
commit3627947e84dd2f6dbfd01f796139949f65a43b31
tree86f4a5382cde3a8da303f6a6d81838fd08502c05
parent993fb90c5b1727342362c43ed4e29c26682f54f7
sundance: SIOCDEVPRIVATE pollution

To quote one of my favorite contemporary author:
[include/linux/sockios.h]
 *      THESE IOCTLS ARE _DEPRECATED_ AND WILL DISAPPEAR IN 2.5.X -DaveM
 */

#define SIOCDEVPRIVATE  0x89F0  /* to 89FF */

[...]

Gentoo's snmpd trips up over this code when trying to figure if the driver
supports the non-SIOCDEVPRIVATE API or not.  One can argue over its choice
of heuristic but there no reason to make ioctl more ugly than needed.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Jesse Huang <jesse@icplus.com.tw>
Tested-by: Volker Sauer <vsauer@dvs.tu-darmstadt.de>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sundance.c