1. 23 7月, 2008 1 次提交
    • A
      usb_serial: API all change · 95da310e
      Alan Cox 提交于
      USB serial likes to use port->tty back pointers for the real work it does and
      to do so without any actual locking. Unfortunately when you consider hangup
      events, hangup/parallel reopen or even worse hangup followed by parallel close
      events the tty->port and port->tty pointers are not guaranteed to be the same
      as port->tty is the active tty while tty->port is the port the tty may or
      may not still be attached to.
      
      So rework the entire API to pass the tty struct. For console cases we need
      to pass both for now. This shows up multiple drivers that immediately crash
      with USB console some of which have been fixed in the process.
      
      Longer term we need a proper tty as console abstraction
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      95da310e
  2. 29 4月, 2008 1 次提交
  3. 25 4月, 2008 4 次提交
  4. 02 2月, 2008 2 次提交
  5. 19 10月, 2007 1 次提交
    • J
      Add missing newlines to some uses of dev_<level> messages · 898eb71c
      Joe Perches 提交于
      Found these while looking at printk uses.
      
      Add missing newlines to dev_<level> uses
      Add missing KERN_<level> prefixes to multiline dev_<level>s
      Fixed a wierd->weird spelling typo
      Added a newline to a printk
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: James Smart <James.Smart@Emulex.Com>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      898eb71c
  6. 13 10月, 2007 1 次提交
  7. 11 9月, 2007 1 次提交
  8. 23 8月, 2007 1 次提交
  9. 13 7月, 2007 2 次提交
    • G
      USB: serial: oti6858: clean up urb->status usage · 78c26aeb
      Greg Kroah-Hartman 提交于
      This done in anticipation of removal of urb->status, which will make
      that patch easier to review and apply in the future.
      
      
      Cc: <linux-usb-devel@lists.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      78c26aeb
    • K
      USB: oti6858 usb-serial driver (in Nokia CA-42 cable) · 49cdee0e
      Kees Lemmens 提交于
      Last week I've been searching for a driver for the CA-42 cable (see usb
       below) that fitted my kernel 2.6.20. I only found an abandoned version for a
       driver on your website that indeed worked on 2.6.18 but wouldn't even
       compile with a more recent 2.6.20 kernel.
      
      I fiddled 2 evenings with the kernel code and have patched it up now to work
      with the modifications in the 2.6.20 kernel. The patch is attached hereafter
      and it works fine (at least for me :-) ).
      
      Bus 2 Device 13: ID 0ea0:6858 Ours Technology, Inc.
      
      I had to fiddle a little with the settings in .gnokiirc but that also
       occurred with the older 2.6.18 kernel. Nevertheless, on one system with this
       cable and my Nokia 6070 I had best results with :
      
      model = 6510
      connection = dku5
      
      while on an other system with the same kernel, cable and phone it only worked
      with :
      
      model = AT
      connection = serial
      serial_write_usleep = 1
      
      
      From: Kees Lemmens <C.W.J.Lemmens@ewi.tudelft.nl>
      Cc: <pawel.kot@gmail.com>
      Cc: <bozo@andrews.hu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      49cdee0e