23 Feb, 2008

2 commits

  • Add proper ifdef's to the patch loading code moved from the old instr
    layer so that opl3 driver can be compiled without the sequencer support.

    Signed-off-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Takashi Iwai
     
  • It's always been broken, but recent fixes actually made it do something,
    and now the brokenness shows up as the resulting kernel simply not
    working at all.

    So it used to be that you could enable this config option, and it just
    didn't do anything. Now we'd better stop people from enabling it by
    mistake, since it _does_ do something, but does it so badly as to be
    unusable.

    Code to actually make it work is pending, but incomplete and won't be
    merged into 2.6.25 in any case.

    Acked-by: Arjan van de Ven
    Acked-by: Sam Ravnborg
    Cc: James Morris
    Cc: Ingo Molnar
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

22 Feb, 2008

38 commits

  • Simple typo fix for regression introduced by the user_regset changes.

    Signed-off-by: Roland McGrath
    Signed-off-by: Linus Torvalds

    Roland McGrath
     
  • * 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
    Wrap buffers used for rpc debug printks into RPC_IFDEBUG
    nfs: fix sparse warnings
    NFS: flush signals before taking down callback thread

    Linus Torvalds
     
  • Fix macro argument substitution in PageHead() and PageTail() - 'page' should
    have brackets surrounding it (commit 6d7779538f765963ced45a3fa4bed7ba8d2c277d).

    Signed-off-by: David Howells
    Signed-off-by: Linus Torvalds

    David Howells
     
  • Shannon Nelson replaced by Maciej Sosnowski in maintanance of
    INTEL I/OAT DMA DRIVER, DMA GENERIC ENGINE SUBSYSTEM
    and ASYNCHRONOUS TRANSFERS/TRANSFORMS API.

    Signed-off-by: Maciej Sosnowski
    Signed-off-by: Shannon Nelson
    Signed-off-by: Linus Torvalds

    Maciej Sosnowski
     
  • * 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6:
    hwmon: normal_i2c arrays should be const
    hwmon: New driver for Analog Devices ADT7473 sensor chip
    hwmon: (coretemp) Add Penryn CPU to coretemp
    hwmon: (coretemp) Add TjMax detection for mobile CPUs
    hwmon: (applesmc) sensors set for MacBook2
    hwmon: (thmc50) Storage class should be before const qualifier
    hwmon: (coretemp) fix section mismatch warning
    hwmon: (coretemp) Add maximum cooling temperature readout
    hwmon: (adm1026) Properly terminate sysfs groups
    hwmon: (vt8231) Update maintainer email address
    hwmon: (vt8231) Add individual alarm files
    hwmon: (via686a) Add individual alarm files
    hwmon: (smsc47m1) Add individual alarm files
    hwmon: (max1619) Add individual alarm and fault files
    hwmon: (lm92) Add individual alarm files

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (26 commits)
    PM: Make suspend_device() static
    PCI ACPI: Fix comment describing acpi_pci_choose_state
    Hibernation: Handle DEBUG_PAGEALLOC on x86
    ACPI: fix build warning
    ACPI: TSC breaks atkbd suspend
    ACPI: remove is_processor_present prototype
    acer-wmi: Add DMI match for mail LED on Acer TravelMate 4200 series
    ACPI: sparse fix, replace macro with static function
    ACPI: thinkpad-acpi: add tablet-mode reporting
    ACPI: thinkpad-acpi: minor hotkey_radio_sw fixes
    ACPI: thinkpad-acpi: improve thinkpad-acpi input device documentation
    ACPI: thinkpad-acpi: issue input events for tablet swivel events
    ACPI: thinkpad-acpi: make the video output feature optional
    ACPI: thinkpad-acpi: synchronize input device switches
    ACPI: thinkpad-acpi: always track input device open/close
    ACPI: thinkpad-acpi: trivial fix to documentation
    ACPI: thinkpad-acpi: trivial fix to module_desc typo
    intel_menlo: extract return values using PTR_ERR
    ACPI video: check for error from thermal_cooling_device_register
    ACPI thermal: extract return values using PTR_ERR
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6:
    modules: do not try to add sysfs attributes if !CONFIG_SYSFS
    POWERPC: fix typo in pseries/power.c
    PM: Remove unbalanced mutex_unlock() from dpm_resume()
    UIO: fix Greg's stupid changes
    stable_kernel_rules: fix must already be in mainline
    ide: mark "ide=reverse" option as obsolete
    Driver core: Fix error handling in bus_add_driver().
    driver-core: fix kernel-doc function parameters
    cpufreq: fix kobject reference count handling
    slabinfo: fall back from /sys/kernel/slab to /sys/slab
    Fix broken utf-8 encodings in ja_JP translation of stable_kernel_rules.txt

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6:
    PCI: Fix wrong reference counter check for proc_dir_entry
    PCI: fix up setup-bus.c #ifdef
    PCI: don't load acpi_php when acpi is disabled
    PCI: quirks: set 'En' bit of MSI Mapping for devices onHT-based nvidia platform
    PCI: kernel-doc: fix pci-acpi warning
    PCI: irq: patch for Intel ICH10 DeviceID's
    PCI: pci_ids: patch for Intel ICH10 DeviceID's
    PCI: AMD SATA IDE mode quirk
    PCI: drivers/pcmcia/i82092.c: fix up after pci_bus_region changes
    PCI: hotplug: acpiphp_ibm: Remove get device information

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (23 commits)
    ehci-fsl: add PPC_MPC837x to default y
    USB: POWERPC: ehci: fix ppc build
    USB: usb-storage: don't access beyond the end of the sg buffer
    USB: quirks and unusual_devs entry for Actions flash drive
    USB: usb-storage: unusual_devs entry for Oracom MP3 player
    USB: serial: move zte MF330 from sierra to option
    USB: add new vernier product id to ldusb.c
    USB: gadget: queue usb USB_CDC_GET_ENCAPSULATED_RESPONSE message
    USB: Add another Novatel U727 ID to the device table for usbserial
    USB: storage: Nikon D80 new FW still needs Fixup
    USB: usb-storage: don't clear-halt when Get-Max-LUN stalls
    USB: option: Added vendor id for Dell 5720 broadband modem
    USB: option: Add Kyocera KPC680 ids
    USB: quirks for known quirky audio devices
    USB: fix previous sparse fix which was incorrect
    USB: fix error handling in trancevibrator
    USB: g_printer, fix empty if statement
    USB: ehci-fsl: mpc834x config symbol is PPC_MPC834x, not MPC834x
    USB: fix usb open suspend race in cdc-acm
    USB: usb: yet another Dell wireless CDMA/EVDO modem
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm:
    dlm: update git tree in MAINTAINERS
    dlm: fix rcom_names message to self

    Linus Torvalds
     
  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 4835/1: Fix stale comment in struct machine_desc description
    [ARM] 4829/1: add .get method to pxa-cpufreq to silence a warning
    [ARM] 4828/1: fix 3 warnings in drivers/video/pxafb.c
    [ARM] 4827/1: fix two warnings in drivers/i2c/busses/i2c-pxa.c
    [ARM] 4826/1: Orion: Register the RTC interrupt on the TS-209
    [ARM] pxa: fix clock lookup to find specific device clocks

    Linus Torvalds
     
  • The below implements the getgeo hook for Xen block devices. Extracted
    from the xen-unstable tree where it has been used for ages.

    It is useful to have because it allows things like grub2 (used by the
    Debian installer images) to work in a guest domain without having to
    sprinkle Xen specific hacks around the place.

    Signed-off-by: Ian Campbell
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Linus Torvalds

    Ian Campbell
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] pasemi: Remove warning in mpic_pasemi_msi.c
    [POWERPC] pasemi: Register i2c devices at boot
    [POWERPC] cell: fix spurious false return from spu_trap_data_{map,seg}
    [POWERPC] Fix warning in pseries/power.c
    [POWERPC] Fix bootwrapper builds with older gcc versions
    [POWERPC] Fix dt_mem_next_cell() to read the full address
    [POWERPC] Kill sparse warnings in kprobes
    [POWERPC] spufs: fix scheduler starvation by idle contexts
    [POWERPC] 44x: Add multiplatform defconfig
    [POWERPC] 44x: Fix Kconfig formatting
    [POWERPC] 4xx: Update defconfigs for 2.6.25
    [POWERPC] 4xx: Remove "i2c" and "xxmii-interface" device_types from dts
    [POWERPC] PPC440EP Interrupt Triggering and Level Settings
    [POWERPC] net: NEWEMAC: Remove "rgmii-interface" from rgmii matching table

    Linus Torvalds
     
  • Sorry for the noise, but here's the v3 of this compilation fix :)

    There are some places, which declare the char buf[...] on the stack
    to push it later into dprintk(). Since the dprintk sometimes (if the
    CONFIG_SYSCTL=n) becomes an empty do { } while (0) stub, these buffers
    cause gcc to produce appropriate warnings.

    Wrap these buffers with RPC_IFDEBUG macro, as Trond proposed, to
    compile them out when not needed.

    Signed-off-by: Pavel Emelyanov
    Acked-by: J. Bruce Fields
    Signed-off-by: Trond Myklebust

    Pavel Emelyanov
     
  • This patch converts USB_EHCI_FSL config option into the verbose
    bool, so we'll able to select it for other freescale processors
    with built-in EHCI controller.

    Signed-off-by: Anton Vorontsov
    Cc: Kumar Gala
    Signed-off-by: Greg Kroah-Hartman

    Anton Vorontsov
     
  • Currently, this setup:
    CONFIG_USB_ARCH_HAS_EHCI=y
    CONFIG_USB_EHCI_HCD=y
    CONFIG_USB_EHCI_HCD_PPC_OF=y

    Will fail to build:
    CC drivers/usb/host/ehci-hcd.o
    drivers/usb/host/ehci-hcd.c:1018:2: error: #error "missing bus glue for ehci-hcd"
    make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1

    ehci-hcd.c actually contains OF_PLATFORM_DRIVER glue, so error is bogus.

    Signed-off-by: Anton Vorontsov
    Acked-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Anton Vorontsov
     
  • This patch (as1035) fixes a bug in usb_stor_access_xfer_buf() (the bug
    was originally found by Boaz Harrosh): The routine must not attempt to
    write beyond the end of a scatter-gather list or beyond the number of
    bytes requested. It also fixes up the formatting of a few comments
    and similar whitespace issues.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as1033) adds a quirks entry and an unusual_devs entry for
    the Actions Semiconductor flash drive. This device has a 64-byte
    string descriptor, which it doesn't terminate with a 0-length packet.

    Oddly enough, the reporter's logs show that when the device was
    plugged in at boot time, it changes its behavior completely -- it uses
    a different product ID, product string descriptor, and bDeviceClass.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as1034) was written by Leonid Petrov, reported by Robert
    Spitzenpfeil, and updated by me. It adds an unusual_devs entry with
    the IGNORE_RESIDUE flag for the Oracom MP3 player. Together with the
    change to the Get-Max-LUN routine in as1032, it makes the player usable.

    Signed-off-by: Alan Stern
    Signed-off-by: Phil Dibowitz
    Signed-off-by: Greg Kroah-Hartman

    Robert Spitzenpfeil
     
  • Move the Onda H600/ZTE MF33 device from the sierra driver to the option
    driver.

    The reason it was moved is because the sierra driver is starting to support
    more and more sierra proprietary features, so it makes more sense to keep
    sierra only devices in there.

    Signed-off-by: Kevin Lloyd
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Kevin Lloyd
     
  • I have a new ldusb device to go into the device table. Jiri has merged
    the change for hiddev quirks already.

    From: Stephen Ware
    Signed-off-by: Greg Kroah-Hartman

    Stephen Ware
     
  • commit 0cf4f2de0a0f4100795f38ef894d4910678c74f8 introduced a bug, which
    prevents sending an USB_CDC_GET_ENCAPSULATED_RESPONSE message. This
    breaks the RNDIS initialization (especially / only Windoze machines
    dislike this behavior...).

    Signed-off-by: Benedikt Spranger
    Signed-off-by: Jan Altenberg
    Acked-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Jan Altenberg
     
  • Signed-off-by: Warren Turkal
    Signed-off-by: Greg Kroah-Hartman

    Warren Turkal
     
  • Add new BCD numbers for Nikon D80 Firmware revision v1.10 to the
    unusual_devs.h file.

    Signed-off-by: Konstantin Kletschke
    Signed-off-by: Phil Dibowitz
    Signed-off-by: Greg Kroah-Hartman

    Konstantin Kletschke
     
  • This patch (as1032) removes the Clear-Halt calls in
    usb_stor_Bulk_max_lun(). Evidently some devices (such as the Oracom
    MP3 player) really don't like to receive these requests when their
    bulk endpoints aren't halted.

    The only reason for adding them originally was to get an ancient
    ZIP-100 drive to work. But since this device has only a single LUN,
    we don't need to send it a Get-Max-LUN request at all. Adding an
    unusual_devs entry for the ZIP-100 with the SINGLE_LUN flag set will
    cause this step to be skipped.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • this is a small patch to add support for a rebranded Novatel modem (see
    http://ubuntuforums.org/archive/index.php/t-608388.html for details).

    Signed-off-by: Stefan Bader
    Signed-off-by: Greg Kroah-Hartman

    Stefan Bader
     
  • Signed-off-by: Dan Williams
    Signed-off-by: Greg Kroah-Hartman

    Dan Williams
     
  • RESET_RESUME entries for some sound devices that need it.

    Signed-off-by: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • The previous fix for a "sparse" warning in ehci_urb_dequeue() was
    incorrect. After rescheduling interrupt transfers it returned the
    URB's completion status, not status for the dequeue operation itself.

    This patch resolves that issue, cleans up the code in the reschedule
    path, and shrinks the object code by a dozen bytes.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • trancevibrator should not pretend success if it returns an error.

    Signed-off-by: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • A bug every C programmer makes at some point in time...

    Signed-off-by: Adrian Bunk
    Signed-off-by: Craig W. Nadler
    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Adrian Bunk
     
  • The config symbol for mpc834x processors is CONFIG_PPC_MPC834x,
    not CONFIG_MPC834x.

    Signed-off-by: Peter Korsgaard
    Acked-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Peter Korsgaard
     
  • this fixes a race between open and disconnect in the CDC ACM driver.

    Signed-off-by: Oliver Neukum
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • Add native support of the Dell wireless CDMA/EVDO modem.

    # modprobe usbserial vendor=0x413c product=0x8129

    Following seesion lines describe modem itself
    at
    OK
    ati3
    Manufacturer: NOVATEL WIRELESS INCORPORATED
    Model: EXPEDITE ET620
    Revision: M6500C-BBIRD_TLS_MINI_DELL-Q40306.166 [Aug 25 2006 14:00:00]
    ESN: 0x5B39071D
    +GCAP: +CIS707-A, CIS-856, +MS, +ES, +DS, +FCLASS

    OK

    Signed-off-by: Andy Shevchenko
    Cc: Matthias Urlichs
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Andy Shevchenko
     
  • if you fail in open() you must decrement the pm counter again.

    Signed-off-by: Oliver Neukum
    Cc: stable
    Signed-off-by: Pete Zaitcev

    Oliver Neukum
     
  • The option driver
    - violates DMA coherency rules
    - allocates ~16500 bytes in one chunk
    This patch splits out the buffers and uses __get_free_page() to avoid
    higher order allocations.

    Signed-off-by: Oliver Neukum
    Acked-By: Matthias Urlichs
    Signed-off-by: Greg Kroah-Hartman

    Oliver Neukum
     
  • add missing '|'

    Signed-off-by: Roel Kluin
    Signed-off-by: Greg Kroah-Hartman

    Roel Kluin
     
  • Fix wrong counter check for proc_dir_entry in pci_proc_detach_device().

    The pci_proc_detach_device() returns with -EBUSY before calling
    remove_proc_entry() if the reference counter of proc_dir_entry is not
    0. But this check is wrong and pci_proc_detach_device() always fails
    because the reference counter of proc_dir_entry is initialized with 1
    at creating time and decremented in remove_proc_entry(). This bug
    cause strange behaviour as followings:

    - Accessing /proc/bus/pci/XXXX/YY file after hot-removing pci adapter
    card causes kernel panic.

    - Repeating hot-add/hot-remove of pci adapter card increases files
    with the same name under /proc/bus/pci/XXXX/ directory. For example:

    # pwd
    /proc/bus/pci/0002:09
    # ls
    01.0
    # for i in `seq 5`
    > do
    > echo 0 > /sys/bus/pci/slots/0009_0032/power
    > echo 1 > /sys/bus/pci/slots/0009_0032/power
    > done
    # ls
    01.0 01.0 01.0 01.0 01.0 01.0

    The pci_proc_detach_device() should check if the reference counter is
    not larger than 1 instead.

    Signed-off-by: Kenji Kaneshige
    Signed-off-by: Greg Kroah-Hartman

    Kenji Kaneshige