1. 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
  2. 15 10月, 2007 1 次提交
  3. 13 10月, 2007 19 次提交
  4. 11 9月, 2007 5 次提交
  5. 23 8月, 2007 8 次提交
    • C
      USB: Adding support for HTC Smartphones to ipaq · 04cab132
      Christian Heim 提交于
      This patch enables support for HTC Smartphones. The original patch is at
      https://bugs.gentoo.org/show_bug.cgi?id=187522. Original author is Mike Doty
      <kingtaco@gentoo.org>.
      Signed-off-by: NChristian Heim <phreak@gentoo.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      04cab132
    • T
      usb-serial: fix oti6858.c segfault in termios handling · a66639ab
      Thomas Viehmann 提交于
      The oti6858 usb serial driver should use kernel_termios_to_user_termios/
      user_termios_to_kernel_termios to avoid segfaults because the kernel
      uses a structure differing from that of user space with a different
      size.
      Signed-off-by: NThomas Viehmann <tv@beamnet.de>
      CC: stable <stable@kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a66639ab
    • A
      USB: belkin_sa: avoid divide by zero error · e48eb085
      Andy Green 提交于
      The belkin_sa module has a problem coping with a 0 return from
      tty_get_baud_rate() -- the subsequent BELKIN_SA_BAUD macro
      
      drivers/usb/serial/belkin_sa.h:#define BELKIN_SA_BAUD(b) (230400/b)
      
      performs a divide with it leading to the following divide error:
      
      usb 3-1: Belkin / Peracom / GoHubs USB Serial Adapter converter now attached to ttyUSB0
      PM: Adding info for No Bus:usbdev3.3_ep81
      PM: Adding info for No Bus:usbdev3.3_ep01
      PM: Adding info for No Bus:usbdev3.3_ep82
      divide error: 0000 [#1]
      SMP
      Modules linked in: vfat fat iwl3945 mac80211 cfg80211 belkin_sa usbserial usb_storage autofs4 vmnet(P) vmmon(P) aes nf_conntrack_netbios_ns ipt_REJECT nf_conntrack_ipv4 xt_state nf_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables cpufreq_ondemand acpi_cpufreq video output sbs button dock battery ac arc4 snd_hda_intel ecb blkcipher snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss sr_mod snd_mixer_oss rtc_cmos cdrom iTCO_wdt iTCO_vendor_support snd_pcm rtc_core snd_timer serio_raw b44 ssb rtc_lib parport ata_piix snd soundcore snd_page_alloc mii ata_generic sg ahci libata sd_mod scsi_mod ext3 jbd mbcache ehci_hcd ohci_hcd uhci_hcd
      CPU:    1
      EIP:    0060:[<f8dd1747>]    Tainted: P        VLI
      EFLAGS: 00010246   (2.6.23-rc1 #1)
      EIP is at belkin_sa_set_termios+0x18e/0x5b9 [belkin_sa]
      eax: 00038400   ebx: 00000000   ecx: 00000000   edx: 00000000
      esi: 00038400   edi: 00001cb2   ebp: de49adb0   esp: de49ad6c
      ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
      Process minicom (pid: 7306, ti=de49a000 task=eed6c3b0 task.ti=de49a000)
      Stack: d85c74f0 00000046 00000002 00000001 d85c74f0 d85c74f0 00000246 c887c658
             00000001 00000cb0 00000001 00000084 00000000 d01b58c0 f6ba10e0 de49ade8
             de49ae40 de49add0 f8e2526b d85c74b8 ca6e6dbc de49ae40 d85c746c eded72e8
      Call Trace:
       [<c0405f35>] show_trace_log_lvl+0x1a/0x2f
       [<c0405fe5>] show_stack_log_lvl+0x9b/0xa3
       [<c04061a5>] show_registers+0x1b8/0x289
       [<c0406389>] die+0x113/0x246
       [<c0622f98>] do_trap+0x8a/0xa3
       [<c04068dc>] do_divide_error+0x85/0x8f
       [<c0622d6a>] error_code+0x72/0x78
       [<f8e2526b>] serial_set_termios+0x86/0x8d [usbserial]
       [<c0542d33>] set_termios+0x309/0x34c
       [<c0542ece>] n_tty_ioctl+0x158/0x4ba
       [<c054030b>] tty_ioctl+0xc78/0xcd6
       [<c048aea0>] do_ioctl+0x50/0x67
       [<c048b100>] vfs_ioctl+0x249/0x25c
       [<c048b15c>] sys_ioctl+0x49/0x61
       [<c0404ed2>] sysenter_past_esp+0x5f/0x99
       =======================
      Code: 85 c0 79 14 c7 44 24 04 67 1c dd f8 c7 04 24 d4 1e dd f8 e8 96 99 65 c7 8b 46 04 be 00 84 03 00 e8 47 11 77 c7 31 d2 89 c1 89 f0 <f7> f1 66 85 c0 89 c1 b8 01 00 00 00 0f 44 c8 8b 45 d8 85 db 8b
      EIP: [<f8dd1747>] belkin_sa_set_termios+0x18e/0x5b9 [belkin_sa] SS:ESP 0068:de49ad6c
      
      The small patch below should take care of this situation.  Note that my
      kernel was tainted (vmware) but the problem will occur if
      tty_get_baud_rate() ever returns zero and should be taken care of.
      Signed-off-by: NAndy Green <andy@warmcat.com>
      Cc: William Greathouse <wgreathouse@smva.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: stable <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e48eb085
    • S
      USB: Support for the Evolution Scorpion robots · c1f8ea7d
      Søren Hauberg 提交于
        The attached (mostly trivial) patches adds support for the Evolution
      Scorpion Robots.
        Evolution Robotics supplies a patch against 2.6.8 with their
      software. My patch is based on their work, so I don't know if I can
      sign it off, or if you need some Evolution people to do this (which
      might be hard).
        The patch adds device ID's for some robots which is trivial.
      
      
      
      From: Søren Hauberg <hauberg@gmail.com>
      Acked-by: NAlan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      Søren
      c1f8ea7d
    • F
      USB: fix support for Dell Wireless Broadband (aka WWAN) · 96443218
      Faidon Liambotis 提交于
      Dell Wireless Broadband ExpressCards are rebrands of Novatel's cards.
      Add all of their known PCI IDs to date along with their mapping to the exact
      Novatel model to the Option driver which already claims to support them.
      Signed-off-by: NFaidon Liambotis <paravoid@debian.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      96443218
    • R
      USB: Typo: "USB_SAFE_PADDED" -> "USB_SERIAL_SAFE_PADDED". · 3aec6e26
      Robert P. J. Day 提交于
      Fix typo in safe_serial.c to match the actual CONFIG variable.
      Signed-off-by: NRobert P. J. Day <rpjday@mindspring.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      3aec6e26
    • H
      USB: serial: garmin_gps: fixes package loss if used from gpsbabel · 468d1362
      Hermann Kneissel 提交于
      This patch contains two fixes submitted by Ondrej Palkovsky:
      - the 'ACK' packet is sent after the transfer of the USB packet is
      completed, i.e. in the write_callback function. Because the close
      function sends the 'abort' command, a parameter is added that allows
      the caller of garmin_write_bulk to specify, if the 'ack' should be
      propagated to the serial link or dimissed.
      This fixes the problem with gpsbabel, it has sent several packets that
      were acknowledged before they were sent to the GPS and GpsBabel closed
      the device - thus effectively cancelled all outstanding requests in the
      queue.
      - removed the APP_RESP_SEEN and APP_REQ_SEEN flags and changed
      them into counters. It evades USB reset of the gps on every device close.
      Signed-off-by: NHermann Kneissel <hermann.kneissel@gmx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      468d1362
    • M
      USB: visor add ACER S10 palm device id · c8ba84a0
      Maximilian Attems 提交于
      modprobe visor vendor=0x502 product=0x1
      is said to work, plus there are patch instructions for it.
      fixes http://bugs.debian.org/340547
      see http://www.chinaitpower.com/A/2004-07-28/87909.htmlSigned-off-by: NMaximilian Attems <max@stro.at>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c8ba84a0
  6. 31 7月, 2007 6 次提交