1. 01 Mar, 2006 19 commits
  2. 28 Feb, 2006 21 commits
    • Stephen Hemminger's avatar
      [PATCH] sky2: remove MSI support · 958ddb75
      Stephen Hemminger authored
      Remove Message Signaled Interrupt support (for 2.6.16).
      MSI is inherently edge-triggered and that is incompatiable (without more
      work) with NAPI.
      
      In future, will replace with smarter lockless-IRQ handling like
      tg3.c
      Signed-off-by: default avatarStephen Hemminger <shemminger@osdl.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      958ddb75
    • Jeff Garzik's avatar
      ce7eeb6b
    • Jeff Garzik's avatar
    • Linus Torvalds's avatar
    • Ian Abbott's avatar
      [PATCH] USB: ftdi_sio: new microHAM device IDs · 34d1a8aa
      Ian Abbott authored
      This patch adds a bunch of new device IDs to the ftdi_sio driver for
      various devices from microHAM using FTDI chips.
      
      Micheal Studer supplied the PID for the USB-Y9 device.  I examined the
      INF file in microHAM's Windows driver package for the USB-KW, USB-YS,
      USB-IC, USB-DB9 and USB-RS232 devices.
      Signed-off-by: default avatarIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      34d1a8aa
    • Hendrik Schweppe's avatar
      [PATCH] USB: visor.c id for gspda smartphone · 04d52461
      Hendrik Schweppe authored
      Added the USB vendorID of GSPDA and the productID of GSPDA's palm
      smartphone 'xplore m68' to the list of known devices.
      Signed-off-by: default avatarHendrik Schweppe <linuxkpatch@hendrik.fam-schweppe.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      04d52461
    • Shaun Tancheff's avatar
      [PATCH] USB: Gadget RNDIS fix alloc bug. (buffer overflow) · 8763716b
      Shaun Tancheff authored
      Remote NDIS response to OID_GEN_SUPPORTED_LIST only allocated space
      for the data attached to the reply, and not the reply structure
      itself. This caused other kmalloc'd memory to be corrupted.
      Signed-off-by: default avatarShaun Tancheff <shaun@tancheff.com>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      8763716b
    • Franck Bui-Huu's avatar
      [PATCH] USB: lh7a40x gadget driver: Fixed a dead lock · d5ec3349
      Franck Bui-Huu authored
      There is a dead lock in lh7a40x udc driver. When the driver receive a
      SET_FEATURE HALT request, the dev lock is taken by the interrupt
      handler lh7a40x_udc_irq then the handler will call lh7a40x_set_halt
      function which in its turn will try to acquire the dev lock.
      Signed-off-by: default avatarFranck Bui-Huu <franck.bui-huu@innova-card.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      d5ec3349
    • Alan Stern's avatar
      [PATCH] USB: unusual_devs entry for Lyra RCA RD1080 · 754501b3
      Alan Stern authored
      This patch (as656) adds an unusual_devs.h entry for the Lyra RCA RD1080
      MP3 player.  Its card-reader firmware has the common
      report-one-too-many-sectors bug.  This fixes Novell bug #152175.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      754501b3
    • Andrew Fuller's avatar
      [PATCH] USB: Wisegroup MP-8866 Dual USB Joypad · e65335ef
      Andrew Fuller authored
      This patch is for the Dual USB Joypad [0925:8866] from Wisegroup.  The
      HID_QUIRK_NOGET is necessary for it to respond to input, and the
      HID_QUIRK_MULTI_INPUT is necessary to have two js# nodes appear.
      Signed-off-by: default avatarAndrew Fuller <mactalla.obair@gmail.com>
      Cc: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e65335ef
    • David Brownell's avatar
      [PATCH] USB: fix EHCI BIOS handshake · 8c450802
      David Brownell authored
      Fix http://bugzilla.kernel.org/show_bug.cgi?id=6128
      
      Finish morphing the "early handoff" version of the EHCI BIOS handshake over
      to match the previous implementation inside the EHCI driver (except that
      now we forcibly disable the SMI).  The version that had been with the PCI
      code was surprisingly full of bugs.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: <yazar256@gmail.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      8c450802
    • David S. Miller's avatar
      [SUNSU]: Fix locking error in sunsu_stop_rx(). · 436002e3
      David S. Miller authored
      The caller takes the UART port lock, so we shouldn't try
      to take it again.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      436002e3
    • Jes Sorensen's avatar
      [IA64] sysctl option to silence unaligned trap warnings · d2b176ed
      Jes Sorensen authored
      Allow sysadmin to disable all warnings about userland apps
      making unaligned accesses by using:
       # echo 1 > /proc/sys/kernel/ignore-unaligned-usertrap
      Rather than having to use prctl on a process by process basis.
      
      Default behaivour leaves the warnings enabled.
      Signed-off-by: default avatarJes Sorensen <jes@sgi.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      d2b176ed
    • Linus Torvalds's avatar
    • Ralf Baechle's avatar
    • Ralf Baechle's avatar
      [MIPS] Initialize S-cache function pointers even on S-cache-less CPUs. · 4debe4f9
      Ralf Baechle authored
          
      When a CPU has no scache, the scache flushing functions currently
      aren't getting initialized and the NULL pointer is eventually called
      as a function.  Initialize the scache flushing functions as a noop
      when there's no scache.
          
      Initial patch by me and most of the debugging done by Martin Michlmayr.
      Signed-off-by: default avatarMartin Michlmayr <tbm@cyrius.com>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      4debe4f9
    • Ken Chen's avatar
      [IA64] cleanup in fsys.S · c8c1635f
      Ken Chen authored
      beautify coding style for zeroing end of fsyscall_table entries.
      Remove misleading __NR_syscall_last and add more comments.
      Drop (now unneeded) "guard against failure to increase NR_syscalls"
      Signed-off-by: default avatarKen Chen <kenneth.w.chen@intel.com>
      Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
      c8c1635f
    • Linus Torvalds's avatar
    • Jens Axboe's avatar
      [PATCH] cfq-iosched: slice expiry fixups · 7b14e3b5
      Jens Axboe authored
      During testing of SLES10, we encountered a hang in the CFQ io scheduler.
      Turns out the deferred slice expiry logic is buggy, so remove that for
      now.  We could be left with an idle queue that would never wake up.  So
      kill that logic, always expire immediately.  Also fix a potential timer
      race condition.
      
      Patch looks bigger than it is, because it moves a function.
      Signed-off-by: default avatarJens Axboe <axboe@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      7b14e3b5
    • Michael Ellerman's avatar
      [PATCH] powerpc/iseries: Fix double phys_to_abs bug in htab_bolt_mapping · 56ec6462
      Michael Ellerman authored
      Before the merge I updated create_pte_mapping() to work for iSeries, by
      calling iSeries_hpte_bolt_or_insert. (4c55130b)
      
      Later we changed iSeries_hpte_insert to cope with the bolting case, and called
      that instead from create_pte_mapping() (which was renamed to htab_bolt_mapping)
      (3c726f8d).
      
      Unfortunately that change introduced a subtle bug, where we pass an absolute
      address to iSeries_hpte_insert() where it expects a physical address. This
      leads to us calling phys_to_abs() twice on the physical address, which is
      seriously bogus.
      
      This only causes a problem if the absolute address from the first translation
      can be looked up again in the chunk_map, which depends on the size and layout
      of memory. I've seen it fail on one box, but not others.
      
      The minimal fix is to pass the physical address to iSeries_hpte_insert(). For
      2.6.17 we should make phys_to_abs() BUG if we try to double-translate an
      address.
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      56ec6462
    • Olaf Hering's avatar
      [PATCH] powerpc: fix NULL pointer in handle_eeh_events · 273d2803
      Olaf Hering authored
      This patch fixes a crash in handle_eeh_events,
      but ethtool -t still doesnt work right.
      
      ...
      pepino:~ # cpu 0x3: Vector: 300 (Data Access) at [c00000005192bbe0]
          pc: c00000000004a380: .handle_eeh_events+0xe0/0x23c
          lr: c00000000004a374: .handle_eeh_events+0xd4/0x23c
          sp: c00000005192be60
         msr: 9000000000009032
         dar: 268
       dsisr: 40000000
        current = 0xc0000001fe7bf1a0
        paca    = 0xc00000000048b280
          pid   = 16322, comm = eehd
      enter ? for help
      [c00000005192bf00] c00000000004a808 .eeh_event_handler+0xcc/0x130
      [c00000005192bf90] c000000000025e00 .kernel_thread+0x4c/0x68
      
      ...
      
      (none):/# /usr/sbin/ethtool -i eth0
      driver: e100
      version: 3.5.10-k2-NAPI
      firmware-version: N/A
      bus-info: 0000:21:01.0
      (none):/# /usr/sbin/ethtool -t eth0
      Call Trace:
      [C00000000F8DEFF0] [C00000000000F270] .show_stack+0x74/0x1b4 (unreliable)
      [C00000000F8DF0A0] [C000000000049D04] .eeh_dn_check_failure+0x290/0x2d8
      [C00000000F8DF150] [C000000000049E58] .eeh_check_failure+0x10c/0x138
      [C00000000F8DF1E0] [C0000000002DFDB0] .e100_hw_reset+0x70/0xf4
      [C00000000F8DF270] [C0000000002E1BBC] .e100_hw_init+0x2c/0x260
      [C00000000F8DF310] [C0000000002E2464] .e100_loopback_test+0x8c/0x220
      [C00000000F8DF3C0] [C0000000002E28DC] .e100_diag_test+0xdc/0x16c
      [C00000000F8DF490] [C000000000420BE0] .dev_ethtool+0xf24/0x14f8
      [C00000000F8DF8F0] [C00000000041F4A8] .dev_ioctl+0x5cc/0x740
      [C00000000F8DFA20] [C00000000040FEFC] .sock_ioctl+0x3d0/0x404
      [C00000000F8DFAC0] [C0000000000D513C] .do_ioctl+0x68/0x108
      [C00000000F8DFB50] [C0000000000D56B0] .vfs_ioctl+0x4d4/0x510
      [C00000000F8DFC10] [C0000000000D5740] .sys_ioctl+0x54/0x94
      [C00000000F8DFCC0] [C0000000000FB6EC] .ethtool_ioctl+0x11c/0x150
      [C00000000F8DFD60] [C0000000000F7E40] .compat_sys_ioctl+0x338/0x3bc
      [C00000000F8DFE30] [C00000000000871C] syscall_exit+0x0/0x40
      EEH: Detected PCI bus error on device 0000:21:01.0
      EEH: This PCI device has failed 1 times since last reboot: <NULL> -
      
      modprobe: FATAL: Could not load /lib/modules/2.6.16-rc4-git7/modules.dep: No such file or directory
      
      Cannot get strings: No such device
      (none):/#
      (none):/# EEH: Unable to configure device bridge (-3) for /pci@400000000110/pci@2,2
      
      (none):/# Call Trace:
      [C00000000FA17940] [C00000000000F270] .show_stack+0x74/0x1b4 (unreliable)
      [C00000000FA179F0] [C000000000049D04] .eeh_dn_check_failure+0x290/0x2d8
      [C00000000FA17AA0] [C00000000001E114] .rtas_read_config+0x120/0x154
      [C00000000FA17B40] [C000000000049664] .early_enable_eeh+0x274/0x2bc
      [C00000000FA17C00] [C000000000049708] .eeh_add_device_early+0x5c/0x6c
      [C00000000FA17C90] [C000000000049748] .eeh_add_device_tree_early+0x30/0x5c
      [C00000000FA17D20] [C000000000046568] .pcibios_add_pci_devices+0x8c/0x1f8
      [C00000000FA17DD0] [C00000000004A528] .eeh_reset_device+0xe0/0x110
      [C00000000FA17E60] [C00000000004A698] .handle_eeh_events+0x140/0x250
      [C00000000FA17F00] [C00000000004AC7C] .eeh_event_handler+0xe8/0x140
      [C00000000FA17F90] [C000000000025784] .kernel_thread+0x4c/0x68
      EEH: Detected PCI bus error on device <NULL>
      EEH: This PCI device has failed 1 times since last reboot: <NULL> -
      EEH: Unable to configure device bridge (-3) for /pci@400000000110/pci@2,2
      Call Trace:
      [C00000000FA17940] [C00000000000F270] .show_stack+0x74/0x1b4 (unreliable)
      [C00000000FA179F0] [C000000000049D04] .eeh_dn_check_failure+0x290/0x2d8
      [C00000000FA17AA0] [C00000000001E114] .rtas_read_config+0x120/0x154
      [C00000000FA17B40] [C000000000049664] .early_enable_eeh+0x274/0x2bc
      [C00000000FA17C00] [C000000000049708] .eeh_add_device_early+0x5c/0x6c
      [C00000000FA17C90] [C000000000049748] .eeh_add_device_tree_early+0x30/0x5c
      [C00000000FA17D20] [C000000000046568] .pcibios_add_pci_devices+0x8c/0x1f8
      [C00000000FA17DD0] [C00000000004A528] .eeh_reset_device+0xe0/0x110
      [C00000000FA17E60] [C00000000004A698] .handle_eeh_events+0x140/0x250
      [C00000000FA17F00] [C00000000004AC7C] .eeh_event_handler+0xe8/0x140
      [C00000000FA17F90] [C000000000025784] .kernel_thread+0x4c/0x68
      EEH: Detected PCI bus error on device <NULL>
      EEH: This PCI device has failed 1 times since last reboot: <NULL> -
      EEH: Unable to configure device bridge (-3) for /pci@400000000110/pci@2,2
      Call Trace:
      [C00000000FA17940] [C00000000000F270] .show_stack+0x74/0x1b4 (unreliable)
      [C00000000FA179F0] [C000000000049D04] .eeh_dn_check_failure+0x290/0x2d8
      [C00000000FA17AA0] [C00000000001E114] .rtas_read_config+0x120/0x154
      [C00000000FA17B40] [C000000000049664] .early_enable_eeh+0x274/0x2bc
      [C00000000FA17C00] [C000000000049708] .eeh_add_device_early+0x5c/0x6c
      [C00000000FA17C90] [C000000000049748] .eeh_add_device_tree_early+0x30/0x5c
      [C00000000FA17D20] [C000000000046568] .pcibios_add_pci_devices+0x8c/0x1f8
      [C00000000FA17DD0] [C00000000004A528] .eeh_reset_device+0xe0/0x110
      [C00000000FA17E60] [C00000000004A698] .handle_eeh_events+0x140/0x250
      [C00000000FA17F00] [C00000000004AC7C] .eeh_event_handler+0xe8/0x140
      [C00000000FA17F90] [C000000000025784] .kernel_thread+0x4c/0x68
      EEH: Detected PCI bus error on device <NULL>
      and so on
      Signed-off-by: default avatarOlaf Hering <olh@suse.de>
      Acked-by: default avatarLinas Vepstas <linas@austin.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      273d2803