1. 03 3月, 2010 1 次提交
    • B
      jsm: fixing error if the driver fails to load · 137ee2f5
      Breno Leitao 提交于
      Currently if the driver fails to register on port, the kernel
      crashes with the following stack:
      
      cpu 0x1: Vector: 300 (Data Access) at [c0000000e0303090]
          pc: c00000000039aa74: .__mutex_lock_slowpath+0x44/0x10c
          lr: c00000000039aa58: .__mutex_lock_slowpath+0x28/0x10c
      [c0000000e03033c0] c00000000026b074 .uart_remove_one_port+0xbc/0x16c
      [c0000000e0303460] d0000000000e0554 .jsm_remove_uart_port+0x8c/0x10c [jsm]
      [c0000000e03034f0] d0000000000dc034 .jsm_remove_one+0x34/0x108 [jsm]
      [c0000000e0303590] c0000000001f4aa0 .pci_device_remove+0x48/0x74
      ...
      
      This patch just fixes the code flow to abort the load when an
      error is detected.
      Signed-off-by: NBreno Leitao <leitao@linux.vnet.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      137ee2f5
  2. 12 12月, 2009 3 次提交
  3. 20 9月, 2009 1 次提交
  4. 25 6月, 2009 1 次提交
  5. 11 6月, 2009 1 次提交
  6. 07 4月, 2009 2 次提交
  7. 31 1月, 2009 1 次提交
  8. 03 1月, 2009 1 次提交
  9. 21 7月, 2008 1 次提交
  10. 17 10月, 2007 1 次提交
  11. 09 5月, 2007 1 次提交
  12. 15 2月, 2007 1 次提交
  13. 09 12月, 2006 1 次提交
    • A
      [PATCH] tty: switch to ktermios · 606d099c
      Alan Cox 提交于
      This is the grungy swap all the occurrences in the right places patch that
      goes with the updates.  At this point we have the same functionality as
      before (except that sgttyb() returns speeds not zero) and are ready to
      begin turning new stuff on providing nobody reports lots of bugs
      
      If you are a tty driver author converting an out of tree driver the only
      impact should be termios->ktermios name changes for the speed/property
      setting functions from your upper layers.
      
      If you are implementing your own TCGETS function before then your driver
      was broken already and its about to get a whole lot more painful for you so
      please fix it 8)
      
      Also fill in c_ispeed/ospeed on init for most devices, although the current
      code will do this for you anyway but I'd like eventually to lose that extra
      paranoia
      
      [akpm@osdl.org: bluetooth fix]
      [mp3@de.ibm.com: sclp fix]
      [mp3@de.ibm.com: warning fix for tty3270]
      [hugh@veritas.com: fix tty_ioctl powerpc build]
      [jdike@addtoit.com: uml: fix ->set_termios declaration]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NMartin Peschke <mp3@de.ibm.com>
      Acked-by: NPeter Oberparleiter <oberpar@de.ibm.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      606d099c
  14. 29 6月, 2006 1 次提交
    • P
      [PATCH] remove TTY_DONT_FLIP · 817d6d3b
      Paul Fulghum 提交于
      Remove TTY_DONT_FLIP tty flag.  This flag was introduced in 2.1.X kernels
      to prevent the N_TTY line discipline functions read_chan() and
      n_tty_receive_buf() from running at the same time.  2.2.15 introduced
      tty->read_lock to protect access to the N_TTY read buffer, which is the
      only state requiring protection between these two functions.
      
      The current TTY_DONT_FLIP implementation is broken for SMP, and is not
      universally honored by drivers that send data directly to the line
      discipline receive_buf function.
      
      Because TTY_DONT_FLIP is not necessary, is broken in implementation, and is
      not universally honored, it is removed.
      Signed-off-by: NPaul Fulghum <paulkf@microgate.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Theodore Ts'o <tytso@mit.edu>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      817d6d3b
  15. 01 4月, 2006 1 次提交
  16. 04 2月, 2006 2 次提交
  17. 01 5月, 2005 1 次提交
  18. 17 4月, 2005 2 次提交
    • C
      [PATCH] fix up newly added jsm driver · 614a7d6a
      Christoph Hellwig 提交于
       - plug various leaks and use after frees in the remove and
         initialization failure path (some still left)
       - remove useless global list of boards and use pci_set_drvdata instead
       - unobsfucate init path by merging functions together
       - kill various totally useless state variables
       - .. probably more I forgot
      
      Note that the tty part still generates lots of sparse warnings and there's
      still a totally useless layer of function pointer indirections, but maybe
      someone else will fix that bit up.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      614a7d6a
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4