]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] DM9000 - incorrect ioctl() handling
authorBen Dooks <ben-netdev@fluff.org>
Sat, 23 Jul 2005 16:29:38 +0000 (17:29 +0100)
committerJeff Garzik <jgarzik@pobox.com>
Thu, 18 Aug 2005 20:59:14 +0000 (16:59 -0400)
commit01a027e4814230422aeb5ff3f62579e0efe760d5
treedb587b806019155a84b7e1411f398863c5fdf81f
parentfc533abdad13e01124201128030cef170a76fc9b
[PATCH] DM9000 - incorrect ioctl() handling

The DM9000 driver is responding to ioctl() calls it should not be. This
can cause problems with the wireless tools incorrectly indentifying the
device as wireless capable, and crashing under certain operations.

This patch also moves the version printk() to the init call, so that
you only get it once for multiple devices, and to show it is loaded
if there are no defined dm9000s

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/dm9000.c