]> err.no Git - linux-2.6/commit
de4x5: Remove developer debug feature about set/clear promisc
authorWang Chen <wangchen@cn.fujitsu.com>
Tue, 22 Jul 2008 05:13:18 +0000 (13:13 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 20:09:09 +0000 (16:09 -0400)
commitb57f9cae8724e4822fedfcc12530f868dcf6ea94
tree310ec9c09017bfffc655ec97ae63d692d3f5cd31
parent2b4ff112a0b3fe90de561a77f2e66000c028ca54
de4x5: Remove developer debug feature about set/clear promisc

IFF_PROMISC flag shouldn't be set or cleared by drivers, because
whether device be promisc mode is decided by how many upper layer
callers being referenced to it.
And the promisc changing feature of de4x5 ioctl is developer debug
feature, we can remove it now.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/tulip/de4x5.c
drivers/net/tulip/de4x5.h