1. 19 8月, 2005 2 次提交
    • B
      [PATCH] DM9000 - incorrect ioctl() handling · 2ae2d77c
      Ben Dooks 提交于
      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: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      2ae2d77c
    • B
      [PATCH] DM9000 - spinlock fixes · 9ef9ac51
      Ben Dooks 提交于
      Fix DM9000 driver usage of spinlocks, which mainly came to light
      when running a kernel with spinlock debugging. These come down to:
      
      1) Un-initialised spin lock
      
      2) Several cases of using  spin_xxx(lock) and not spin_xxx(&lock)
      
      3) move the locking around the phy reg for read/write to only
         keep the lock when actually reading or writing to the phy.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      9ef9ac51
  2. 27 6月, 2005 1 次提交
  3. 16 5月, 2005 1 次提交