1. 16 Nov, 2009 7 commits
  2. 15 Nov, 2009 1 commit
  3. 14 Nov, 2009 25 commits
  4. 13 Nov, 2009 3 commits
  5. 12 Nov, 2009 4 commits
    • Dmitry Eremin-Solenikov's avatar
      ieee802154: make wpan-phy class registration to subsys_initcall · 282a3954
      Dmitry Eremin-Solenikov authored
      Move ieee802154 initialisation to subsys_initcall call, so that
      wpan-phy class is initialised before all devices (thus saving us from
      oops during bootup).
      Signed-off-by: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
      282a3954
    • Arnd Bergmann's avatar
      net/atm: move all compat_ioctl handling to atm/ioctl.c · 805003a4
      Arnd Bergmann authored
      We have two implementations of the compat_ioctl handling for ATM, the
      one that we have had for ages in fs/compat_ioctl.c and the one added to
      net/atm/ioctl.c by David Woodhouse. Unfortunately, both versions are
      incomplete, and in practice we use a very confusing combination of the
      two.
      
      For ioctl numbers that have the same identifier on 32 and 64 bit systems,
      we go directly through the compat_ioctl socket operation, for those that
      
      differ, we do a conversion in fs/compat_ioctl.c.
      
      This patch moves both variants into the vcc_compat_ioctl() function,
      while preserving the current behaviour. It also kills off the COMPATIBLE_IOCTL
      definitions that we never use here.
      Doing it this way is clearly not a good solution, but I hope it is a
      step into the right direction, so that someone is able to clean up this
      mess for real.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Eric Dumazet <eric.dumazet@gmail.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      805003a4
    • Arnd Bergmann's avatar
      net/compat: fix dev_ifsioc emulation corner cases · a2116ed2
      Arnd Bergmann authored
      Handling for SIOCSHWTSTAMP is broken on architectures
      with a split user/kernel address space like s390,
      because it passes a real user pointer while using
      set_fs(KERNEL_DS).
      A similar problem might arise the next time somebody
      adds code to dev_ifsioc.
      
      Split up dev_ifsioc into three separate functions for
      SIOCSHWTSTAMP, SIOC*IFMAP and all other numbers so
      we can get rid of set_fs in all potentially affected
      cases.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Patrick Ohly <patrick.ohly@intel.com>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a2116ed2
    • Ben Dooks's avatar
      DM9000: Wake on LAN support · c029f444
      Ben Dooks authored
      Add support for Wake on LAN (WOL) reception and waking the device up from
      this signal via the ethtool interface. Currently we are only supporting
      the magic-packet variant of wakeup.
      
      WOL is enabled by specifying a second interrupt resource to the driver
      which indicates where the interrupt for the WOL is being signalled. This
      then enables the necessary ethtool calls to leave the device in a state
      to receive WOL frames when going into suspend.
      Signed-off-by: default avatarBen Dooks <ben@simtec.co.uk>
      Signed-off-by: default avatarSimtec Linux Team <linux@simtec.co.uk>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c029f444