1. 04 12月, 2006 2 次提交
  2. 01 12月, 2006 2 次提交
  3. 10 11月, 2006 2 次提交
  4. 31 10月, 2006 1 次提交
  5. 21 10月, 2006 1 次提交
  6. 17 10月, 2006 1 次提交
  7. 12 10月, 2006 1 次提交
  8. 11 10月, 2006 1 次提交
  9. 08 10月, 2006 1 次提交
  10. 07 10月, 2006 3 次提交
  11. 06 10月, 2006 1 次提交
  12. 05 10月, 2006 12 次提交
  13. 04 10月, 2006 5 次提交
  14. 02 10月, 2006 7 次提交
    • J
      [PATCH] const struct tty_operations · b68e31d0
      Jeff Dike 提交于
      As part of an SMP cleanliness pass over UML, I consted a bunch of
      structures in order to not have to document their locking.  One of these
      structures was a struct tty_operations.  In order to const it in UML
      without introducing compiler complaints, the declaration of
      tty_set_operations needs to be changed, and then all of its callers need to
      be fixed.
      
      This patch declares all struct tty_operations in the tree as const.  In all
      cases, they are static and used only as input to tty_set_operations.  As an
      extra check, I ran an i386 allyesconfig build which produced no extra
      warnings.
      
      53 drivers are affected.  I checked the history of a bunch of them, and in
      most cases, there have been only a handful of maintenance changes in the
      last six months.  serial_core.c was the busiest one that I looked at.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Acked-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b68e31d0
    • M
      [SERIAL] add PNP IDs for FPI based touchscreens · 75fde2ed
      Matthew Garrett 提交于
      The Compaq TC1000 and Fujitsu Stylistic range of tablet machines use
      touchscreens from FPI. These are implemented as serial interfaces,
      generally exposed in the ACPIPNP information on the system. This patch
      adds them to the 8250_pnp driver tables, avoiding the need to mess
      around with setserial to set them up.
      
      I haven't been able to confirm what FUJ02B5, FUJ02BA and FUJ02BB are.
      FUJ02B1 refers to the controller for the system hotkeys. FUJ02BC appears
      to be the last in the range - after this, they moved to Wacom-based
      systems.
      Signed-off-by: NMatthew Garrett <mjg59@srcf.ucam.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      75fde2ed
    • D
      [SERIAL] tickle NMI watchdog on serial output. · e480af09
      Dave Jones 提交于
      Serial is _slow_ sometimes. So slow, that the NMI watchdog kicks in.
      
      NMI Watchdog detected LOCKUP on CPU2CPU 2
      Modules linked in: loop usb_storage md5 ipv6 parport_pc lp parport autofs4 i2c_dev i2c_core rfcomm l2cap bluetooth sunrpc pcdPid: 3138, comm: gpm Not tainted 2.6.11-1.1290_FC4smp
      RIP: 0010:[<ffffffff80273b8a>] <ffffffff80273b8a>{serial_in+106}
      RSP: 0018:ffff81003afc3d50  EFLAGS: 00000002
      RAX: 0000000000000020 RBX: 0000000000000020 RCX: 0000000000000000
      RDX: 00000000000003fd RSI: 0000000000000005 RDI: ffffffff804dcd60
      RBP: 00000000000024fc R08: 000000000000000a R09: 0000000000000033
      R10: ffff81001beb7c20 R11: 0000000000000020 R12: ffffffff804dcd60
      R13: ffffffff804ade76 R14: 000000000000002b R15: 000000000000002c
      FS:  00002aaaaaac4920(0000) GS:ffffffff804fca00(0000) knlGS:0000000000000000
      CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
      CR2: 00002aaaaabcb000 CR3: 000000003c0d0000 CR4: 00000000000006e0
      Process gpm (pid: 3138, threadinfo ffff81003afc2000, task ffff81003eb63780)
      Stack: ffffffff80275f2e 0000000000000000 ffffffff80448380 0000000000007d6b
             000000000000002c fffffffffffffbbf 0000000000000292 0000000000008000
             ffffffff80138e8c 0000000000007d97
      Call Trace:<ffffffff80275f2e>{serial8250_console_write+270} <ffffffff80138e8c>{__call_console_drivers+76}
             <ffffffff8013914b>{release_console_sem+315} <ffffffff80260325>{con_open+149}
             <ffffffff80254e99>{tty_open+537} <ffffffff80192713>{chrdev_open+387}
             <ffffffff80188824>{dentry_open+260} <ffffffff80188994>{filp_open+68}
             <ffffffff80187b73>{get_unused_fd+227} <ffffffff80188a6c>{sys_open+76}
             <ffffffff8010ebc6>{tracesys+209}
      
      Code: 0f b6 c0 c3 66 90 41 57 49 89 f7 41 56 41 be 00 01 00 00 41
      console shuts up ...
      
      I initially did the patch below a year ago for the Fedora kernel, and have
      been keeping it up to date since.  I recently got the same thing happening
      on a vanilla kernel, so figured it was time to repost this.
      Signed-off-by: NDave Jones <davej@redhat.com>
      Acked-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e480af09
    • R
      [SERIAL] Fix oops when removing suspended serial port · a6b93a90
      Russell King 提交于
      A serial card might have been removed when the system is resumed.
      This results in a suspended port being shut down, which results in
      the ports shutdown method being called twice in a row.  This causes
      BUGs.  Avoid this by tracking the suspended state separately from
      the initialised state.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a6b93a90
    • R
      [SERIAL] Fix resume handling bug · fe59d537
      Russell King 提交于
      Unfortunately, pcmcia_dev_present() returns false when a device is
      suspended, so checking this on resume does not work too well.  Omit
      this test.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      fe59d537
    • A
      [SERIAL] CONFIG_PM=n slim: drivers/serial/8250_pci.c · 1d5e7996
      Alexey Dobriyan 提交于
      Remove some code which is unneeded if CONFIG_PM=n.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1d5e7996
    • J
      [SERIAL] OMAP1510 serial fix for 115200 baud · 255341c6
      Jonathan McDowell 提交于
      The patch below is necessary for 115200 baud on an OMAP1510 internal UART.
      It's been in the linux-omap tree for some time and with it applied to a
      vanilla Linus git tree the serial console on the Amstrad Delta (which is
      OMAP1510 based and whose initial bootloader runs at 115200) works fine (it
      doesn't without it).
      Signed-off-by: NJonathan McDowell <noodles@earth.li>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      255341c6