1. 16 11月, 2009 6 次提交
  2. 15 11月, 2009 2 次提交
  3. 14 11月, 2009 27 次提交
  4. 13 11月, 2009 1 次提交
  5. 12 11月, 2009 4 次提交
    • A
      net/atm: move all compat_ioctl handling to atm/ioctl.c · 805003a4
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Cc: Eric Dumazet <eric.dumazet@gmail.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      805003a4
    • A
      net/compat: fix dev_ifsioc emulation corner cases · a2116ed2
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Cc: Patrick Ohly <patrick.ohly@intel.com>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a2116ed2
    • B
      DM9000: Wake on LAN support · c029f444
      Ben Dooks 提交于
      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: NBen Dooks <ben@simtec.co.uk>
      Signed-off-by: NSimtec Linux Team <linux@simtec.co.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c029f444
    • A
      ixgbe: r_idx not used in ixgbe_msix_clean_rx() · f9254eda
      Ali Gholami Rudi 提交于
      The values of r_idx and rx_ring are not used after the last time they
      are set in ixgbe_msix_clean_rx(), so they can be removed.
      Signed-off-by: NAli Gholami Rudi <ali@rudi.ir>
      Acked-by: NPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f9254eda