1. 07 2月, 2008 1 次提交
    • S
      [POWERPC] Xilinx: hwicap driver · ef141a0b
      Stephen Neuendorffer 提交于
      This includes code for new fifo-based xps_hwicap in addition to the
      older opb_hwicap, which has a significantly different interface.  The
      common code between the two drivers is largely shared.
      
      Significant differences exists between this driver and what is
      supported in the EDK drivers.  In particular, most of the
      architecture-specific code for reconfiguring individual FPGA resources
      has been removed.  This functionality is likely better provided in a
      user-space support library.  In addition, read and write access is
      supported.  In addition, although the xps_hwicap cores support
      interrupt-driver mode, this driver only supports polled operation, in
      order to make the code simpler, and since the interrupt processing
      overhead is likely to slow down the throughput under Linux.
      Signed-off-by: NStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      ef141a0b
  2. 30 1月, 2008 8 次提交
  3. 25 1月, 2008 3 次提交
    • G
      kobject: convert hvcs to use kref, not kobject · f7eb12c6
      Greg Kroah-Hartman 提交于
      hvcs is using a kobject only for reference counting, nothing else.  So
      switch it to use a kref instead, which is all that is needed, and is
      much smaller.
      
      Cc: Anton Blanchard <anton@au.ibm.com>
      Cc: Paul Mackerras <paulus@au.ibm.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Ryan S. Arnold <rsa@us.ibm.com>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      f7eb12c6
    • G
      kobject: convert hvc_console to use kref, not kobject · 12b20ded
      Greg Kroah-Hartman 提交于
      hvc_console is using a kobject only for reference counting, nothing
      else.  So switch it to use a kref instead, which is all that is needed,
      and is much smaller.
      
      Cc: Anton Blanchard <anton@au.ibm.com>
      Cc: Paul Mackerras <paulus@au.ibm.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Ryan S. Arnold <rsa@us.ibm.com>
      Cc: Kay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      12b20ded
    • F
      nozomi driver · 20fd1e3b
      Frank Seidel 提交于
      This is a driver to control the cardbus wireless data card that works on
      3g networks.
      
      Greg Kroah-Hartman <gregkh@suse.de> did the initial driver cleanup.
      Thanks to Arnaud Patard <apatard@mandriva.com> for help with bugfixing.
      Thanks to Alan Cox for a lot of tty fixes.
      Thanks to Satyam Sharma <satyam@infradead.org> for fixing buildbreakage.
      Thanks to Frank Seidel <fseidel@suse.de> for a lot of bugfixes and
      rewriting to make it a sane Linux driver
      Thanks to Jiri Slaby <jirislaby@gmail.com> for a lot bugfixes, cleanups
      and rewrites that make it much more readable.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NFrank Seidel <fseidel@suse.de>
      Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
      20fd1e3b
  4. 24 1月, 2008 2 次提交
  5. 23 1月, 2008 1 次提交
  6. 15 1月, 2008 1 次提交
  7. 11 1月, 2008 2 次提交
  8. 09 1月, 2008 1 次提交
  9. 24 12月, 2007 1 次提交
    • C
      tty: fix logic change introduced by wait_event_interruptible_timeout() · db99247a
      Cory T. Tusar 提交于
      Commit 5a52bd4a introduced a subtle logic
      change in tty_wait_until_sent().  The original version would only error out
      of the 'do { ...  } while (timeout)' loop if signal_pending() evaluated to
      true; a timeout or break due to an empty buffer would fall out of the loop
      and into the tty->driver->wait_until_sent handling.  The current
      implementation will error out on either a pending signal or an empty
      buffer, falling through to the tty->driver->wait_until_sent handling only
      on a timeout.
      
      The ->wait_until_sent() will not be reached if the buffer empties before
      timeout jiffies have elapsed.  This behavior differs from that prior to commit
      5a52bd4a.
      
      I turned this up while using a little serial download utility to bootstrap an
      ARM-based eval board.  The util worked fine on 2.6.22.x, but consistently
      failed on 2.6.23.x.  Once I'd determined that, I narrowed things down with git
      bisect, and found the above difference in logic in tty_wait_until_sent() by
      inspection.
      
      This change reverts the logic flow in tty_wait_until_sent() to match that
      prior to the aforementioned commit.
      Signed-off-by: NCory T. Tusar <ctusar@videon-central.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Acked-by: NJiri Slaby <jirislaby@gmail.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      db99247a
  10. 18 12月, 2007 1 次提交
  11. 06 12月, 2007 1 次提交
  12. 30 11月, 2007 2 次提交
  13. 29 11月, 2007 1 次提交
  14. 28 11月, 2007 1 次提交
  15. 22 11月, 2007 2 次提交
  16. 21 11月, 2007 1 次提交
    • R
      Freezer: Fix APM emulation breakage · cb43c54c
      Rafael J. Wysocki 提交于
      The APM emulation is currently broken as a result of commit
      83144186
      "Freezer: make kernel threads nonfreezable by default"
      that removed the PF_NOFREEZE annotations from apm_ioctl() without adding
      the appropriate freezer hooks.  Fix it and remove the unnecessary variable flags
      from apm_ioctl().
      
      Special thanks to Franck Bui-Huu <vagabon.xyz@gmail.com> for pointing out the
      problem.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Franck Bui-Huu <vagabon.xyz@gmail.com>
      Cc: Nigel Cunningham <nigel@nigel.suspend2.net>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      cb43c54c
  17. 15 11月, 2007 3 次提交
  18. 14 11月, 2007 1 次提交
  19. 07 11月, 2007 1 次提交
    • A
      [TTY]: Fix network driver interactions with TCGET/SET calls. · 0fc00e24
      Alan Cox 提交于
      Dave Miller noted various cases where line disciplines for things like
      ppp go poking around in termios themselves in ways that broke with the
      new termios code. Rather than have them all learning about termios
      internals provide proper methods for this
      
      - tty_mode_ioctl()
      
      	This handles all the terminal mode handling for speed/carrier
      etc and none of the methods are ldisc dependant so they can be called
      by any user
      
      - tty_perform_flush()
      
      	This extracts the flush functionality and enables pppd the ppp
      layer to share it cleanly.
      
      The existing n_tty_ioctl code is refactored in this patch to provide
      the new functions and to call them itself appropriately. This patch
      has no (intended) behaviour changes and simply prepares for the other
      fixes.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0fc00e24
  20. 06 11月, 2007 4 次提交
  21. 05 11月, 2007 2 次提交