Summary of changes from v2.6.8 to v2.6.9-rc1 ============================================ [netdrvr epic100] minor cleanups - extra pci_disable_device() to balance invocation of pci_enable_device() in epic_init_one() (-> error path + epic_remove_one()); - lazy return status in epic_init_one(), tsss...; - memory dedicated to Rx descriptors was not freed after failure of register_netdev() in epic_init_one(); - use of epic_pause() in epic_close() offers a small window for a late interruption just before the final free_irq(). Let's close the window to avoid two epic_rx() threads racing with each other. [netdrvr epic100] napi 1/3 - just shuffle some code around Isolate the classical TX part of epic_interrupt. Innocent code shuffling. [netdrvr epic100] napi 2/3 - receive path [netdrvr epic100] napi 3/3 - transmit path [netdrvr epic100] napi fixes Multiple invocation of __netif_rx_schedule() in epic_interrupt() while epic_poll loops over __netif_rx_complete() leads to serious device refcount leak. [PATCH] epic100: spin_unlock_irqrestore avoidance This patch avoids to duplicate a spin_unlock: - it is mostly an artifact due to wild goto; - it makes the generated code smaller. [PATCH] epic100: code removal in irq handler The loop in the irq handler is not needed any more as the high frequency events have been deferred due to napi usage. Cset exclude: torvalds@evo.osdl.org|ChangeSet|20040401021818|60003 [MMC] Add MMC core support This patch adds core support to the Linux kernel for driving MMC interfaces found on embedded devices, such as found in the Intel PXA and ARM MMCI primecell. This patch does _not_ add support for SD or SDIO cards. It is vaguely based upon the handhelds.org MMC code, but the bulk of the core has been rewritten from scratch. [MMC] Add Kconfig/Makefile changes for MMC support. Since this is currently ARM-only, I've dropped the drivers/Kconfig change for the time being. [MMC] Add ARM MMCI Primecell driver. This patch adds initial support for the ARM MMCI Primecell - one of the drivers for a MMC interface. [MMC] Add PXA MMC interface support. This patch adds support for the Intel PXA MCI interface. [ACPI] ACPICA 20040402 from Bob Moore Fixed an interpreter problem where an indirect store through an ArgX parameter was incorrectly applying the "implicit conversion rules" during the store. From the ACPI specification: "If the target is a method local or argument (LocalX or ArgX), no conversion is performed and the result is stored directly to the target". The new behavior is to disable implicit conversion during ALL stores to an ArgX. Changed the behavior of the _PRW method scan to ignore any and all errors returned by a given _PRW. This prevents the scan from aborting from the failure of any single _PRW. Moved the runtime configuration parameters from the global init procedure to static variables in acglobal.h. This will allow the host to override the default values easily. [ACPI] ACPICA 20040427 from Bob Moore Completed a major overhaul of the GPE handling within ACPI CA. There are now three types of GPEs: wake-only; runtime-only; combination wake/run. The only GPEs allowed to be combination wake/run are for button-style devices such as a control-method power button, control-method sleep button, or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are not referenced by any _PRW methods are marked for "runtime" and hardware enabled. Any GPE that is referenced by a _PRW method is marked for "wake" (and disabled at runtime). However, at sleep time, only those GPEs that have been specifically enabled for wake via the acpi_enable_gpe() interface will actually be hardware enabled. A new external interface has been added, acpi_set_gpe_type() that is meant to be used by device drivers to force a GPE to a particular type. It will be especially useful for the drivers for the button devices mentioned above. Completed restructuring of the ACPI CA initialization sequence so that default operation region handlers are installed before GPEs are initialized and the _PRW methods are executed. This will prevent errors when the _PRW methods attempt to access system memory or I/O space. GPE enable/disable no longer reads the GPE enable register. We now keep the enable info for runtime and wake separate and in the GPE_EVENT_INFO. We thus no longer depend on the hardware to maintain these bits. Always clear the wake status and fixed/GPE status bits before sleep, even for state S5. Improved the AML debugger output for displaying the GPE blocks and their current status. Added new strings for the _OSI method, of the form "Windows 2001 SPx" where x = 0,1,2,3,4. Fixed a problem where the physical address was incorrectly calculated when the Load() operator was used to directly load from an Operation Region (vs. loading from a Field object.) Also added check for minimum table length for this case. Fix for multiple mutex acquisition. Restore original thread SyncLevel on mutex release. Added ACPI_VALID_SXDS flag to the acpi_get_object_info interface for consistency with the other fields returned. Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such structure for each GPE in the system, so the size of this structure is important. CPU stack requirement reduction: Cleaned up the method execution and object evaluation paths so that now a parameter structure is passed, instead of copying the various method parameters over and over again. In evregion.c: Correctly exit and reenter the interpreter region if and only if dispatching an operation region request to a user-installed handler. Do not exit/reenter when dispatching to a default handler (e.g., default system memory or I/O handlers) [PATCH] r8169: napi support Napi for r8169 (Jon D Mason ). Both Tx and Rx processing are moved to the ->poll() function. [PATCH] r8169: cosmetic renaming of a register RxUnderrun status bit renamed to LinkChg (identical to the 8139cp driver). [PATCH] r8169: janitoring Spring cleanup - unsigned int (u32) should be slightly faster on ppc64 (Jon D Mason); - misc minor de-uglyfication. [PATCH] r8169: ethtool .set_settings ethtool set_settings support (Andy Lutomirski ). The initial code has been modified so that the settings of parameters for TBI and normal mode do not step on each others shoes. [PATCH] r8169: ethtool .get_{settings/link} - ethtool get_settings() for r8169 (Andy Lutomirski ); - rtl8169_ethtool_ops.get_drvinfo() is set as well; - added some bits to handle the TBI status. The locking does not need to be specially clever. [MMC] Fix PXA MMC interface issues. - Wait for STAT_CLK_EN to clear rather than waiting for the CLK_IS_OFF interrupt when stopping the MMC clock. - Always return the number of data blocks transferred no matter what. - Set the device driver data correctly. [PATCH] r8169: link handling and phy reset rework Link handling changes (Andy Lutomirski ): - removed rtl8169_hw_phy_reset() and its busy loop; - RTL8169_PHY_TIMEOUT is x10 to account for the removal of the phy_link_down_cnt loop in rtl8169_phy_timer(); - added spinlocking in timer context for rtl8169_phy_timer to avoid messing with the {set/get}_settings commands issued via ethtool; - more TBI stuff. This patch differs from the former version on the following points: - the LinkChg irq does not enable the phy timer when the link goes down any more; - the phy timer is not enabled in rtl8169_set_speed(); - removal of the initial renegotiation hack. [PATCH] r8169: initial link setup rework Use rtl8169_set_speed() for link setup in rtl8169_init_one(): - the code which handles the option checking is isolated; - display (once) a notice message about the deprecated interface; - rtl8169_open() enables the phy timer if the link is not up; - rtl8169_set_speed() checks that the netdevice is actually ready in order to activate the timer. [PATCH] r8169: gcc bug workaround Add a temporary variable to workaround gcc 2.95.3 bug. [PATCH] r8169: tx lock removal spinlock removal crusade. The patch rephrases the spinlock_irq() in rtl8169_start_xmit() and its companion in the Tx irq handling patch in terms of ordered operations. [PATCH] e100: use NAPI mode all the time I see no reason to keep the non-NAPI option for e100. This patch removes the CONFIG_E100_NAPI option and puts the driver in NAPI mode all the time. Matches the way tg3 works. Unless someone has a really good reason to keep the non-NAPI mode, this should go in for 2.6.7. -scott [CPUFREQ] new Dothan variant for speedstep-centrino Add support for new Dothan variant (CPUID 0x6d6) to speedstep-centrino. Noted to be missing and tested by Athul Acharya. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [PATCH] via-velocity: PCI ID move (Note: this serie requires a -mm based kernel as the via-velocity patches are not included in Jeff's -netdev patches). PCI ID moved from the driver to the kernel database. A change for the pci.ids file project at souceforge has been submitted as well. [PATCH] via-velocity: uniformize use of OWNED_BY_NIC Introduce velocity_give_rx_desc() to uniformize the use of OWNED_BY_NIC through the driver. [PATCH] via-velocity: velocity_receive_frame diets Weight loss in velocity_receive_frame(): - isolate the ip header alignment tsk from velocity_receive_frame(); - following p.30 of the datasheet, rdesc0.len includes the CRC length: the amount of data copied during the ip alignment can be shortened. [PATCH] fix via-velocity oopses - Don't register the inet_addr notifier if the hardware is absent. It oopses when other interfaces are being upped. - Mark velocity_remove1() as __devexit_p in the pci_driver table. - c99ification. Signed-off-by: Andrew Morton [PATCH] Restructure reset code Restructure code to make it easier to maintain. rhine_hw_init: resets chip, reloads eeprom rhine_chip_reset: chip reset + what used to be wait_for_reset rhine_reload_eeprom: reload eeprom, re-enable MMIO, disable EEPROM-controlled WOL Note: Chip reset clears a bunch of registers that should be reloaded from EEPROM (which turns off MMIO). Deal with that later. Signed-off-by: Roger Luethi [PATCH] fix mc_filter on big-endian arch A.J. from VIA Networking Technologies noticed that via-rhine is using cpu_to_le32() when preparing mc_filter hashes. This breaks Rhine hardware multicast filters on big-endian architectures. Signed-off-by: Roger Luethi [PATCH] Remove lingering PHY special casing All this code is broken (e.g. unconditionally programs all PHYs as if they were the same model) and/or unused (IntrLinkChange never occurs with driver as is). Signed-off-by: Roger Luethi [PATCH] Rewrite PHY detection Instead of probing, set phy_id to 1 for Rhine III and read phy_id from EEPROM-controlled register for Rhine I/II. Remove code for handling anything other than 1 MII PHY. If it wasn't unnecessary code to begin with, it would need to be fixed because it wouldn't work. Use mii_if_info.phy_id as the only container of phy_id. Not particulary happy about those names (phy_id vs. MII_PHYSIDx), but being consequent about it mitigates confusion. Signed-off-by: Roger Luethi [PATCH] Remove options, full_duplex parameters Nobody complained although media locking parameters were broken forever. They were sort of fixed recently, but the code is still in a bad shape. More seriously, the options/full_duplex stuff has fundamental design problems that have been discussed in-depth on the list (e.g. effect of hotplugging, nameif, suspend/resume). For those needing media locking with Linux 2.6+ via-rhine, ethtool(8) is the replacement. Signed-off-by: Roger Luethi [PATCH] Fix Tx engine race for good It finally dawned on me how to eliminate the race I've been narrowing down with earlier patches: Instead of writing the command registers as one word, write them one at a time (as bytes). The race was for settings bits in ChipCmd and ChipCmd1 (0x09) against the chip clearing CmdTxOn which is in ChipCmd. In addition to writing single bytes, the fix requires a switch from using bit 5 in ChipCmd0 to bit 5 in ChipCmd1 (which is equivalent) to signal Tx demand. Also, don't restart Rx engine "pre-emptively" in rhine_rx, that's a sure way to race with the chip. Introduce RHINE_WAIT_FOR, a macro for small busy loops with primitive completion checking. Signed-off-by: Roger Luethi [PATCH] Media mode rewrite Remove rhine_check_duplex, rhine_timer and related data structures Add rhine_check_media: wrapper for generic mii_check_media, sets duplex bit in MAC Add rhine_enable_linkmon, rhine_disable_linkmon to enable hardware link status monitoring Update mdio_read, mdio_write accordingly Remove get_intr_status check in rhine_start_tx because we are not racing anymore Signed-off-by: Roger Luethi [PATCH] Small fixes and clean-up Bump driver version to mark recent major changes in driver code. Remove backoff parameter. The reason it was once introduced is gone. Continue to go with EEPROM default for now, will hard-wire IEEE backoff algorithm instead (later). Rhine-I needs extra time to recuperate from chip reset before EEPROM reload. Add Rhine model identification. Signed-off-by: Roger Luethi [PATCH] Add WOL support Add rhine_shutdown callback to prepare Rhine power registers for shutdown. Add rhine_get_wol/rhine_set_wol for ethtool ioctl. Signed-off-by: Roger Luethi [PATCH] New driver for MV64340 GigE The Marvell MV64340 is a system controller with PCI and 3 integrated GigE interfaces. Signed-off-by: Ralf Baechle [CPUFREQ] Stop powernow-k7 printk'ing tab characters. Signed-off-by: Dave Jones [PATCH] via-velocity: Rx buffers allocation rework Rework of the Rx buffers allocation: - Rx irq handler (velocity_rx_srv): defer the Rx buffer allocation until the packet processing loop is done; - a separate index related to the Rx descriptor ("rd_dirty") is introduced to distinguish the first Rx descriptor whose buffer has to be refilled. This way the driver does not need to confuse this descriptor with the most recently netif()ed one. Rationale: batch + rx_copybreak; - dirty/empty Rx descriptors are identified through the whole driver via an adequate NULL pointer in the velocity_rd_info[] array (see velocity_rx_refill() and velocity_receive_frame()); - Rx descriptors need to be grouped by a multiple of 4 before they can be handed back to the asic (hardware constraint). This task is moved from the Rx processing loop to the Rx refill function; - factorization of code in velocity_init_rd_ring(). [PATCH] via-velocity: Rx copybreak Handle copybreak. - velocity_rx_refill() is modified to allow the processing of a Rx desc ring wherein the empty skb slots are not necessarily contiguous. Given the preceeding changes, rx_copybreak should not need anything else; - the driver does not rely on rd_info->skb_dma set to NULL any more; - pci_dma_sync_single_for_{cpu/device} changes as a bonus; - more function documentation. Some inspiration borrowed from similar r8169 code. [PATCH] via-velocity: ordering of Rx descriptors operations Force strict ordering of operations on Rx descriptors to avoid any issue related to inline optimization. [PATCH] via-velocity: unneeded forward declarations Removal of unneeded forward declarations. [PATCH] via-velocity warning fixes With CONFIG_PM=n various functions (such as velocity_set_wol) are unused and we get warnings and unused code. Fix that up by moving the functions so they fall inside the callers's #ifdef CONFIG_PM. Remove now-unneeded forward declarations. Signed-off-by: Andrew Morton [ACPI] ACPICA 20040514 from Bob Moore Fixed a problem where hardware GPE enable bits sometimes not set properly during and after GPE method execution. Result of ACPICA 20040427 changes. Removed extra "clear all GPEs" when sleeping/waking. Removed acpi_ht_enable_gpe and acpi_hw_disable_gpe, replaced by the single acpi_hw_write_gpe_enable_reg. Changed a couple of calls to the functions above to the new acpi_ev* calls as appropriate. ACPI_OS_NAME was removed from the OS-specific headers. The default name is now "Microsoft Windows NT" for maximum compatibility. However this can be changed by modifying the acconfig.h file. Fixes EHCI probe issue: http://bugme.osdl.org/show_bug.cgi?id=1762 Allow a single invocation of acpi_install_notify_handler for a handler that traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag. Run _INI methods on ThermalZone objects. This is against the ACPI specification, but there is apparently ASL code in the field that has these _INI methods, and apparently "other" AML interpreters execute them. Performed a full 16/32/64 bit lint that resulted in some small changes. [ACPI] ACPICA 20040527 from Bob Moore Completed a new design and implementation for EBDA (Extended BIOS Data Area) support in the RSDP scan code. The original code improperly scanned for the EBDA by simply scanning from memory location 0 to 0x400. The correct method is to first obtain the EBDA pointer from within the BIOS data area, then scan 1K of memory starting at the EBDA pointer. There appear to be few if any machines that place the RSDP in the EBDA, however. http://bugme.osdl.org/show_bug.cgi?id=2415 Integrated a fix for a possible fault during evaluation of BufferField arguments. Obsolete code that was causing the problem was removed. (Asus laptop boot crash) https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=121760 Found and fixed a problem in the Field Support Code where data could be corrupted on a bit field read that starts on an aligned boundary but does not end on an aligned boundary. Merged the read/write "datum length" calculation code into a common procedure. [ACPI] ACPICA 20040615 from Bob Moore Implemented support for Buffer and String objects (as per ACPI 2.0) for the following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and LLessEqual. [MMC] MMCI updates. Calculate data timeout correctly. Obtain MCLK rate from clock subsystem. Limit max clock rate properly. Use clock bypass mode for fast data rates. [ACPI] update EC GPE handler to new ACPICA handler type [MMC] Fix some review points from Jens Axboe Remove "suspended" flag, queue plugging/unplugging and associated checks, remove check for oversized requests. [ACPI] fix return-from-sleep PM/ACPI state conversion bug (David Shaohua Li) [ACPI] enable Embedded Controller (EC)'s General Purpose Event (GPE) from David Shaohua Li [ACPI] enable GPE for ECDT (David Shaohua Li) [ACPI] reserve IOPORTS for ACPI (David Shaohua Li) http://bugzilla.kernel.org/show_bug.cgi?id=2641 [CPUFREQ] Fix sparse NULL ptr warning. Signed-off-by: Dave Jones [PATCH] via-velocity: use common crc16 code for WOL - use common crc16 code for WOL; - remove unused ether_crc. Signed-off-by: Francois Romieu [CPUFREQ] Trailing whitespace removal in longrun driver. Signed-off-by: Dave Jones [CPUFREQ] Fix FSB calculation in powernow-k7 use the maximum fid instead of the current fid. From: Bruno Ducrot Signed-off-by: Dave Jones [CPUFREQ] fix double "out-of-sync" warning on resume. - Rephrase "out-of-sync" warning (partly) based upon Gerald Britton's suggestion - Also update cpufreq's opinion of current cpu frequency upon resume, else the "out-of-sync" warning will appear twice. Thanks to Gerald Britton for noting this. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [CPUFREQ] fix userspace resume support. Fix resume support in the userspace cpufreq governor: we need to set the CPU to the frequency last echo'ed by userspace into this governor's files. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [PATCH] convert skge to pci_driver API (2nd try) [PATCH] Fix successive calls to spin_lock_irqsave in sk98lin This patch fixes the few places in sk98lin where it calls spin_lock_saveirq on the same flags variable thus causing interrupts to be disabled upon leaving the driver. [libata] transfer mode cleanup Add MWDMA support, and rework pio/mwdma/udma mode setup. In the lone test case for PATA support, ata_piix, MWDMA mode setting does not appear to work here. UDMA and PIO continue to work, so nobody will really notice. But beware. Probably a driver problem, not a bug in the core. Also, doesn't bother writing to dummy timing registers on ICH5/6 SATA anymore. [libata] fix completion bug, better debug output When using a completion, we need to clear the entry, and furthermore clear the entry before we call the completion. Make debugging output a bit more explicit. [libata] convert set-xfer-mode operation to use ata_queued_cmd [CPUFREQ] Make powernow-k7 debug printk a runtime option. Signed-off-by: Dave Jones [CPUFREQ] REmove more trailing whitespace Signed-off-by: Dave Jones [CPUFREQ] Remove out of date comment from powernow-k7 This has had significant amount of testing since it got merged, and nothing nasty has actually ever happened. Signed-off-by: Dave Jones [libata] transfer mode bug fixes and type cleanup Fix two bugs that causes the recently-added transfer mode code to break on 64-bit platforms. Make associated code more type-correct in the process. [libata sata_promise] convert to using packets for non-data taskfiles [PATCH] add new ethernet driver 'gianfar' [libata sata_sx4] deliver non-data taskfiles using Promise packet format [MMC] Fix PXA MCI driver name. [PATCH] Fix warnings drivers/net/sk98lin/skaddr.c From: "Mika Kukkonen" CC [M] drivers/net/sk98lin/skaddr.o drivers/net/sk98lin/skaddr.c: In function `SkAddrMcUpdate': drivers/net/sk98lin/skaddr.c:895: warning: `ReturnCode' might be used uninitialized in this function drivers/net/sk98lin/skaddr.c: In function `SkAddrPromiscuousChange': drivers/net/sk98lin/skaddr.c:1427: warning: `ReturnCode' might be used uninitialized in this function Signed-off-by: Andrew Morton [PATCH] allow modular mv64340_eth Only tested together with some additional patches to make the driver work on PPC that need more work, but the changes are obvious. NTFS: Add support for readv/writev and aio_read/aio_write. Signed-off-by: Anton Altaparmakov [ACPI] reserve EBDA for Dell BIOS that neglects to. (David Shaohua Li) http://bugme.osdl.org/show_bug.cgi?id=2990 [libata] pio/dma flag bug fix, and cleanup In the transfer-mode cleanup recently, the code that set flag ATA_DFLAG_PIO disappeared. Resurrect it. Remove ATA_QCFLAG_DMA, it isn't needed. Always set polling in the ->qc_issue function, rather than force the user to do it when setting up an ata_queued_cmd. This gives maximum flexibility to the driver, letting the driver choose whether or not to poll. [libata] update IDENTIFY DEVICE path to use ata_queued_cmd rather than hand-rolling our own taskfile call (which won't work at all on newer SATA controllers). Individual changes: * use ata_qc_issue to issue identify-device command * implement MMIO path for PIO data xfer * implement PIO error handling path [MMC] Use a consistent naming to refer to mmc_request, mmc_blk_request and request structures to avoid confusion. [MMC] Fix end of request handling. We were mixing end_request with end_that_request_chunk, which is apparantly bad news. Also, the handycapped pxamci driver was telling us that it had transferred all data successfully on error, which is obviously wrong. NTFS: Change ntfs_write_inode to return 0 on success and -errno on error and create a wrapper ntfs_write_inode_vfs that does not have a return value and use the wrapper for the VFS super_operations write_inode function. Signed-off-by: Anton Altaparmakov NTFS: Implement fsync, fdatasync, and msync both for files (fs/ntfs/file.c) and directories (fs/ntfs/dir.c). Signed-off-by: Anton Altaparmakov [CPUFREQ] fix whitespace after merge. Signed-off-by: Dave Jones [PATCH] fix compiler warnings in mv64340_eth [PATCH] remove dead code from mv64340_eth [libata] ATAPI work - PIO xfer, completion function Move hand-coded ATA Data register I/O from ata_pio_sector() to its own function ata_data_xfer(), so that it may also be used to send the ATAPI packet to hardware. Use ata_data_xfer() in ATAPI packet send. Separate ATA and ATAPI completion functions. [PCI, libata] Fix "combined mode" PCI quirk for ICH6 The hardware vendor, in their infinite wisdom, make the combined mode configuration register different between ICH5 and ICH6. Take this into account. [libata ata_piix] make sure AHCI is disabled, if h/w is used by this driver AHCI must be disabled if we are to have access to taskfile registers. [libata] flags cleanup Remove unused/redundant flags ATA_DFLAG_{MASTER,WCACHE} [libata] ATAPI work - cdb len, new taskfile protocol, cleanups * new helper atapi_cdb_len() in linux/ata.h, use it after IDENTIFY PACKET DEVICE command completes * add new taskfile protocol ATA_PROT_ATAPI_NODATA * store scsi cdb in ata_queued_cmd. This removes another dependence on the scsi layer, and enables us to issue an internal REQUEST SENSE. * store cdb len in ata_port * new constant ATAPI_CDB_LEN for max cdb length * move ATA taskfile and SCSI cdb near the top of ata_queued_cmd, for better cacheline friendliness. [CPUFREQ] reorder cpufreq.c for inlining Trying to compile drivers/cpufreq/cpufreq.c with gcc 3.4 and # define inline __inline__ __attribute__((always_inline)) results in the following compile error: CC drivers/cpufreq/cpufreq.o drivers/cpufreq/cpufreq.c: In function `cpufreq_resume': drivers/cpufreq/cpufreq.c:39: sorry, unimplemented: inlining failed in call to 'adjust_jiffies': function body not available drivers/cpufreq/cpufreq.c:628: sorry, unimplemented: called from here make[2]: *** [drivers/cpufreq/cpufreq.o] Error 1 Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones [CPUFREQ] fix CONFIG_ACPI_PROCESSOR="m", CONFIG_X86_POWERNOW_K{7,8}="y" build issue Fix the build dependency between powernow-k{7,8} and acpi/processor.o by adding a CONFIG_X86_POWERNOW_K{7,8}_ACPI bool, just like SPEEDSTEP_CENTRINO does it. See http://forums.gentoo.org/viewtopic.php?t=186887 for a bugreport. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [CPUFREQ] powernowk8_cpu_exit may not be __exit but can be __devexit. Thanks to Arjan for noticing this bug. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [ACPI] fix ability to set thermal trip points (Hugo Haas, Stefan Seyfried) eg. # echo -n "100:90:80:70:60:50" > /proc/acpi/thermal_zone/THRM/trip_points http://bugzilla.kernel.org/show_bug.cgi?id=2588 NTFS: 2.1.16 - Implement access time updates in fs/ntfs/inode.c::ntfs_write_inode. Signed-off-by: Anton Altaparmakov [PATCH] [sparse] minor #if complaint Minor sparse warning fix. it doesn't like #if when #ifdef is intended. Signed-off-by: Stephen Hemminger [ACPI] /proc/acpi/thermal_zone/THRM/cooling_mode Add concept of (mandatory) "critical", when (optional) "passive" and "active" are not present. (Zhenyu Z Wang) http://bugzilla.kernel.org/show_bug.cgi?id=1770 [netdrvr mv643xx] rename from mv64340 to mv643xx And move MIPS-specific header to include/linux. [PATCH] GT96100 update Move GT-64240 NIC definitions which previously did live elsewhere into a new header file. Mostly cosmetic cleanup and microfixes for gt64240.c. [ACPI] save/restore ELCR on suspend/resume (David Shaohua Li) http://bugzilla.kernel.org/show_bug.cgi?id=2643 [ACPI] add SMP suport to processor driver (Venkatesh Pallipadi) http://bugzilla.kernel.org/show_bug.cgi?id=2615 [ACPI] Tell the BIOS Linux can handle Enhanced Speed Step (EST). (Venkatesh Pallipadi) http://bugzilla.kernel.org/show_bug.cgi?id=2712 [PATCH] PCI Hotplug: acpiphp extension for 2.6.7, part 1 This patch adds the ability to register callback functions with the acpiphp core to set and get the current attention LED status. The reason this is needed is because there is not set ACPI standard for how this is done so each hardware platform may implement it differently. To keep hardware specific code out of acpiphp, we allow other modules to register their code with it. Signed-off-by: Vernon Mauery Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: acpiphp extension for 2.6.7 part 2 This patch adds the first driver that actually uses the callback function for attention LEDs that the acpiphp-attention patch adds. It searches the ACPI namespace for IBM hardware, sets up the callbacks and sets up a handler to read ACPI events and forward them on to /proc/acpi/event. It also exports an ACPI table that shows current hotplug status to userland. Signed-off-by: Vernon Mauery Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: more New PCI vendor/device ID for Radisys ENP-2611 board OK, sorry to bother, some more bits. - Add PCI IDs for the IXP2400 and IXP2800 network processors. - Fix typo in description for 8086:9000. - Correct tab->space after #define in definition of IXP4xx device ID. - ENP-2611 can appear behind a 21555. Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: rpaphp_add_slot.patch I found a bug in rpaphp code during DLPAR I/O testing. When DLPAR ADD a non-empty I/O slot to a partition, an adapter in the slot didn't get configured. The attached patch fixes that. Signed-off-by: Linda Xie Signed-off-by: Greg Kroah-Hartman [ACPI] IOAPIC suspend/resume (David Shaohua Li) http://bugzilla.kernel.org/show_bug.cgi?id=3037 [ACPI] ACPI bus support for wakeup GPE (David Shaohua Li) http://bugzilla.kernel.org/show_bug.cgi?id=1415 [ACPI] Create /proc/acpi/wakeup to allow enabling the optional wakeup event sources. (David Shaohua Li) http://bugzilla.kernel.org/show_bug.cgi?id=1415 [ACPI] Enable run-time CM button/LID events (David Shaohua Li) http://bugzilla.kernel.org/show_bug.cgi?id=1415 [ACPI] ACPICA 20040715 from Bob Moore Restructured the internal HW GPE interfaces to pass/track the current state of interrupts (enabled/disabled) in order to avoid possible deadlock and increase flexibility of the interfaces. Implemented a "lexicographical compare" for String and Buffer objects within the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -- as per further clarification to the ACPI specification. Behavior is similar to C library "strcmp". Completed a major reduction in CPU stack use for the acpi_get_firmware_table external function. In the 32-bit non-debug case, the stack use has been reduced from 168 bytes to 32 bytes. Deployed a new run-time configuration flag, acpi_gbl_enable_interpeter_slack, whose purpose is to allow the AML interpreter to forgive certain bad AML constructs. Default setting is FALSE. Implemented the first use of acpi_gbl_enable_interpeter_slack in the Field IO support code. If enabled, it allows field access to go beyond the end of a region definition if the field is within the region length rounded up to the next access width boundary (a common coding error.) Renamed OSD_HANDLER to acpi_osd_handler, and OSD_EXECUTION_CALLBACK to acpi_osd_exec_callback for consistency with other ACPI symbols. Also, these symbols are lowercased by the latest version of the acpisrc tool. The prototypes for the PCI interfaces in acpiosxf.h have been updated to rename "register" to simply "reg" to prevent certain compilers from complaining. NTFS: Implement bitmap modification code (fs/ntfs/bitmap.[hc]). This includes functions to set/clear a single bit or a run of bits. Signed-off-by: Anton Altaparmakov NTFS: Wrap the new bitmap.[hc] code in #ifdef NTFS_RW / #endif. Signed-off-by: Anton Altaparmakov NTFS: Rename run_list to runlist everywhere to bring in line with libntfs. Signed-off-by: Anton Altaparmakov NTFS: Rename map_runlist() to ntfs_map_runlist(). Signed-off-by: Anton Altaparmakov NTFS: Rename vcn_to_lcn() to ntfs_vcn_to_lcn(). Signed-off-by: Anton Altaparmakov NTFS: Complete "run list" to "runlist" renaming. Signed-off-by: Anton Altaparmakov NTFS: Move a NULL check to before the first use of the pointer. Signed-off-by: Anton Altaparmakov NTFS: Add fs/ntfs/attrib.[hc]::ntfs_find_vcn(). Signed-off-by: Anton Altaparmakov [CPUFREQ] Fix up some comments in longhaul. Some of this stuff is very wrong, time to sit down with datasheets and fix up some of this mess. The problem is this driver pulls info from multiple datasheets, and some of them conflict. Signed-off-by: Dave Jones [CPUFREQ] abstract out powersaver code in longhaul driver. 99% of these two implementations are the same, so abstract it out into a seperate function. Also add another bunch of comments. Signed-off-by: Dave Jones [CPUFREQ] disable interrupts around transitions in longhaul. Re-reading the spec revealed this omission. Signed-off-by: Dave Jones [NETFILTER]: ip_nat_snmp call skb_make_writable() The snmp helper needs an explicit call to skb_ip_make_writable. Please apply. Signed-off-by: James Morris Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: ipt_ULOG fix for last packet delay The ULOG target used to delay the last packet until another one was received. This patch fixes the issue. Signed-off-by: Ruby Joker Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Use new module_param() api This patch makes all of ipv4/ipv6 netfilter use the 'new' module_param API. Signed-off-by: Rusty Russell Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Fix mutex declaration On Sun, Jun 20, 2004 at 01:23:28PM +0200, Christoph Hellwig wrote: > okay, the gunk we had in arp_tables is in ip6_tables and ip6_tables, > too. Signed-off-by: Christoph Hellwig Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Use slab cache for ip_conntrack_expect This patch adds a new slab cache (ip_conntrack_expect) for expectations. Signed-off-by: Pablo Neira Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Connection based accounting This patch adds a config option to enable per-flow packet and byte accounting to ip_conntrack. Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Move /proc/net/ip_conntrack to seq_file This patch makes ip_conntrack use the seq_file API Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: New ip_sctp match This patch adds ipt_sctp, enabling iptables to match on sctp ports and chunktypes. Signed-off-by: Kiran Kumar Immidi Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Make 'helper' list of ip_nat_core static This patch makes the 'helper' symbol static to not pollute the namespace Signed-off-by: Rusty Russell Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: init_conntrack() optimization This patch optimizes the code path during init_conntrack() Signed-off-by: Pablo Neira Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Move error tracking into conntrack protocol helper This patch moves icmp_error_track out of the generic conntrack core and into the icmp helper, where it really belongs. It also adds some generic infrastructure for logging packets that are 'out of spec'. Signed-off-by: Pablo Neira Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Add conntrack runtime statistics This patch adds some runtime-statistics to the connection tracking core, pretty similar to what 'rtstat' does for the routing cache. This was the last patch in this incremental set. The only thing I still have pending at this time is the tcp window tracking code. Signed-off-by: Martin Josefsson Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Add tcp window tracking This is the tcp window tracking patch, incremental to all previous changes. It is now by default enabled (i.e. in 'conservative' mode). If you think it's better to leave it disabled ('liberal' mode), you can change ip_conntrack_tcp_be_liberal to a different default value. Cheers, Signed-off-by: Jozsef Kadlecski Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Missing sysctl.h bits from tcp window tracking changes. Signed-off-by: Harald Welte Signed-off-by: David S. Miller [PATCH] Remove obsolete code in 8390 driver The 8390 drivers had provision for using a single Tx buffer, which was educational back in the day when it served as an example driver, but it really hasn't been used and can go away which will make future maintenance easier. [PATCH] module_param for acenic Convert acenic driver to use module_param instead of the older MODULE_PARM macro. Someday, Rusty wants to get rid of MODULE_PARM. Signed-off-by: Stephen Hemminger [PATCH] acenic - don't print eth%d in messages Get rid of all the places the acenic driver could print "eth%d" because the device hasn't been registered yet. Use the method of having a name pointer in the private device structure that changes from pci_name() to dev->name. There was already a field named 'name[]' in the private data structure, but it was set and never used! Use netdev_priv(dev) rather than dev->priv as well. Signed-off-by: Stephen Hemminger [PATCH] remove old ifdefs net/eepro100.c Patches to remove some old ifdefs, 2.2 comptability. then remove unused #include applies cleanly to 2.6.8-rc2 From: Domen Puncer Signed-off-by: Maximilian Attems [PATCH] 2.6.8-rc1-mm1: 8139too: uninline rtl8139_start_thread On Wed, Jul 14, 2004 at 10:29:18PM +0200, Dominik Karall wrote: > On Wednesday 14 July 2004 03:25, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8-rc1/2.6 > >.8-rc1-mm1/ > > CC [M] drivers/net/8139too.o > drivers/net/8139too.c: In function `rtl8139_open': > drivers/net/8139too.c:616: nicht implementiert: >>inline<< beim Aufruf von > >>rtl8139_start_thread<< gescheitert: function body not available > drivers/net/8139too.c:1362: nicht implementiert: von hier aufgerufen > make[3]: *** [drivers/net/8139too.o] Fehler 1 > make[2]: *** [drivers/net] Fehler 2 > make[1]: *** [drivers] Fehler 2 > make[1]: Verlasse Verzeichnis »/usr/src/linux-2.6.6« > make: *** [stamp-build] Fehler 2 > > gcc 3.4 I should be fast at going through my gcc 3.4 TODO list... Fix below. > greets > dominik cu Adrian <-- snip --> uninline rtl8139_start_thread in drivers/net/8139too.c . Signed-off-by: Adrian Bunk [PATCH] orinoco merge preliminaries - squash backwards compatibility Remove various bits of code in the orinoco driver for backwards compatibility with older kernels: old versions of the wireless extensions, lack of MODULE_LICENSE, older PCMCIA interfaces. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - rearrange code Rearrange functions in the orinoco driver in a more logical order. This patch is large and looks complicated, but in fact only moves code around (within or between files) without changing it. The only exceptions are some extra comments describing the file's layout, and updated prototypes for the new function order. This makes the order of functions match the 0.15rc1 version, so later patches have a fighting chance of being meaningful. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - use netdev_priv() Use the netdev_priv() macro instead of directly accessing dev->priv. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - use ALIGN() Use the kernel's ALIGN macro instead of our own dodgy version for rounding things up to an even number. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - use ARRAY_SIZE() Use the built in ARRAY_SIZE macro, instead of hard coding it ourselves. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - spam stoppers Anti-spam obfuscate most email addresses in the orinoco driver files. Yes, this is closing gate long after the sheep have run, but I guess it can't hurt. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - comment/whitespace/spelling updates Various trivial cleanups to the orinoco driver: whitespace changes, spelling/capitalization errors corrected, some fairly insignificant comments added, removed or reformatted. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - use BUG_ON() Use BUG_ON() macro instead of explicit if(x) BUG() in various places. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - make things static Make various functions and variables static which always should have been, but weren't. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco_tmd.c =================================================================== [PATCH] orinoco merge preliminaries - miscelaneous Random trivial cleanups that don't belong with anything else: - Use ETH_DATA_LEN instead of hard-coded constant - Remove a duplicated constant in an | expression Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - use name/version macros Use some macros defining driver names and version to reduce the number of places that need to be changed when the version changes. Also use these to make it easier to keep printk() messages with a consistent prefix. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco.c =================================================================== [PATCH] orinoco merge preliminaries - remove unneeded #includes Remove some unnecessary #includes. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/orinoco_pci.c =================================================================== [PATCH] orinoco merge preliminaries - don't typedef structs In line with normal kernel conventions, don't create typedefs for structures. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/hermes.c =================================================================== [PATCH] orinoco merge preliminaries - more HW data Update various constants and structures in orinoco header files. The updates generally represent either newer hardware/firmware features, or corrections to what we know about hardware/firmware functions. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/hermes.h =================================================================== [PATCH] orinoco merge preliminaries - update authorship information Update copyright messages, module meta-information, banner comments and the MAINTAINERS file to better reflect the current authorship/maintainership status. In particular puts Pavel Roskin as the most prominently displayed maintainer, since he has done nearly all non-trivial work on the driver for a year or more. Signed-off-by: David Gibson Index: working-2.6/drivers/net/wireless/hermes.c =================================================================== [PATCH] natsemi netpoll support [PATCH] prism54 Clean up dev ids totally * As Jeff previously stated, we do not need all this bloat. An updated pci.ids, both kernel and user space, gives us all the required info :-) Just leave the stuff we are interested in. Proposed in prism54 devel with no objections. [ACPI] S3 is independent of CONFIG_X86_PAE (David Shaohua Li) [ACPI] synchronize_kernel for idle-loop unload (Zwane Mwaikambo) http://bugzilla.kernel.org/show_bug.cgi?id=1716 [ACPI] fix build warning (Andrew Morton) [PATCH] e1000 - ethtool support (register dump, interrupt [PATCH] e1000 - Enable TSO [PATCH] e1000 - Use vmalloc for data structures not shared [PATCH] e1000 - TSO fixes (in preparation for IPv6 TSO) [PATCH] e1000 - Avoid infinite loop while trying to [PATCH] e1000 - include work down in tx path to decide when [PATCH] e1000 - Use pci_dma_sync_single_[for_device|for_cpu] [PATCH] e1000 - Shutdown PHY while bringing the interface [PATCH] e1000 - add compiler hints (likely/unlikely), check [PATCH] e1000 - more DPRINTK messages to syslog [PATCH] e1000 - suspend/resume fix from alex@zodiac.dasalias.org [PATCH] e1000 - white space and related cleanup [PATCH] e100 - restore speed/duplex/autoneg settings after the completion of the diagnostic tests [PATCH] e100 - Support for Intel(R) PRO/100 VE Network Connection (82562) adapter [PATCH] e100 - fix stat counters rx_length_error and rx_over_errors [PATCH] e100 - Support to load device firmware [PATCH] e100 - Auto MDI/MDI-X support [PATCH] e100 - driver version update NTFS: Fix compilation with gcc-2.95 in attrib.c::ntfs_find_vcn(). (Adrian Bunk) Signed-off-by: Anton Altaparmakov Signed-off-by: Adrian Bunk [PATCH] USB: Fix NULL-pointer bug in dummy_hcd This patch fixes a NULL-pointer-dereference bug in the dummy_hcd driver. It also makes the code slightly more elegant and removes an unnecessary buffer-overflow test. Unfortunately it's still a little bit racy, but this is a fault it shares with other gadget controller drivers, like net2280. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [PATCH] USB: Make removable-LUN support a non-test option in the g_file_storage driver This patch follows the suggestions sent by Todd Fischer and Diego Dompe for making removable-LUN support part of the normal non-testing version of the g_file_storage driver. It also moves LUN device registration to the correct place and eliminates a code path that stalls the bulk-out pipe in a racy way. There are also some smaller changes: update some comments, add initial debugging support for USB suspend/resume, and miscellaneous code cleanups. Last but not least, the driver has been sufficiently stable for sufficiently long that it's fair to remove the "(DEVELOPMENT)" warning in Kconfig. Sent-by: Todd Fischer Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [PATCH] USB: add CONFIG_USB_SUSPEND This is the core of the USB_SUSPEND functionality. Please merge. This adds an experimental CONFIG_USB_SUSPEND option, which supports the USB "suspend" state. Linux-USB hosts have previously ignored that state. - New driver API calls, usb_suspend_device() and its sibling usb_resume_device(). - Access to those calls through sysfs, such as echo -n 2 > power/state echo -n 0 > power/state That can be used to reduce the power consumption of any given USB device, then re-activate it later. Eventually, most USB device drivers should probably suspend idle USB devices. One problem with this patch: USB drivers without suspend() callbacks may badly misbehave. Right now only hub drivers know suspend(). If the driver core didn't self-deadlock when we try it, unbinding those drivers from those devices (then re-enumerating on resume) would be perfect... the current compromise is just to emit a warning message. In conjunction with host controller driver support (already merged for OHCI and EHCI), PCI host controllers will issue the PME# wakeup signal when a USB keyboard starts remote wakeup signaling. (But the keyboard wasn't usable later, since HID doesn't try to suspend.) I understand some ACPI patches are circulating, and maybe already in the MM tree, to make a suspended system wake up given PME# signaling. It'd be great if someone made that work transparently with USB, but for now I'm told it'll need some sysfs setup first. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman [PATCH] USB: usb hub docs and locktree() Please merge; the CONFIG_USB_SUSPEND patch depends on it. This hub patch: - updates internal docs about locking, matching current usage for device state spinlock and dev->serialize semaphore - adds locktree() to use with signaling that affect everything downstream of a given device ... right now just khubd uses it, but usb_reset_device() should too (not just with hub resets...) - adds hub_quiesce()/hub_reactivate() ... former is used now during shutdown, both are needed in suspend/resume paths Net change in behavior for current systems should be nothing. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman [PATCH] USB: gcc-3.5 fixes From: Andi Kleen Trivial gcc-3.5 build fixes. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman [PATCH] USB: Hackish fix for cyberjack driver The following patch is in use by REINER-SCT customres for some time and works for them in about 90% of all cases. I would really appreciate this going in before 2.6.8-final, since the device doesn't work at all with current 2.6.x driver. Changes: - bump version number - open interrupt endpoint in startup() rather than open Signed-off-by: Greg Kroah-Hartman [PATCH] USB: ftdi_sio doesn't re-assert DTR modem control line I've dredged up another old ftdi_sio patch that I never Cc'd to you the first time. Please see Nathan's description below. It applies okay against your usb-2.6 tree, with or without the patch I posted yesterday to support the FT2232C chip and neither patch invalidates the other in any way. On 25/06/2004 21:56, Croy, Nathan wrote: > SUMMARY > ======= > ftdi_sio never reasserts modem control lines once the baud has been set to > B0. > > DESCRIPTION > =========== > Setting the baud to B0 (hangup) drops DTR. When the baud is raised again, > DTR is not raised. This can cause a modem to ignore any commands sent to it > until the device is closed and reopened. This renders minicom (and other > software) useless, unless you instruct the modem to ignore DTR. > > The following patch is intended to make ftdi_sio act like other serial > devices I have used (i.e. the standard serial ports (/dev/ttyS*) and > stallion ports (/dev/ttyE*)). Upon setting the baud to something other than > B0, it ensures the modem control lines are set back to the way they were > when the port was opened. > > Thanks to Ian Abbott for confirming my suspicions: > http://sourceforge.net/mailarchive/forum.php?thread_id=4984710&forum_id=12120 Nathan's email suffered from a line-folding bug (blame M$, probably!), so his patch came out corrupted. I'm reposting an uncorrupted version. Signed off by: Ian Abbott Signed-off-by: Greg Kroah-Hartman [PATCH] USB: Add support for FT2232C chip to ftdi_sio This patch adds support for the FTDI FT2232C USB to dual serial port converter to the ftdi_sio driver. The patch is based on a fork of the 2.4 ftdi_sio driver by Steven Turner of FTDI, and a preliminary port of these changes to the 2.6 ftdi_sio driver by Rus V. Brushkoff. I've tidied it up and fixed a couple of things. I don't have a FT2232C to test it with, but Steven Turner of FTDI has tested it. He mentioned a couple of known problems with the driver, but nothing to do with this patch. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman [PATCH] USB: Remove unneeded unusual_devs.h entry According to Jonas Fährmann, the very first entry in unusual_devs.h isn't needed. In fact, I can't tell why it was there in the first place... unless some earlier device in the product line had incorrect descriptor values. On Mon, 26 Jul 2004, Jonas Fährmann wrote: > usb-storage: This device (03ee,0000,0045 S 02 P 00) has unneeded SubClass and Protocol entries in unusual_devs.h > Please send a copy of this message to Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [PATCH] USB: Debug fix in pl2303 This is a simple patch to fix a debug statement where the arguements are in the wrong order. Resending it with a CC to Greg and a signed-off-by line. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman [PATCH] USB: fix for ipaq.c as per pete and greg's input, fixing only the uninitialized variable. Signed-off-by: Ganesh Varadarajan Signed-off-by: Greg Kroah-Hartman [PATCH] USB: use list_for_each() in class/audio.c Signed-off-by: Maximilian Attems Signed-off-by: Greg Kroah-Hartman [PATCH] USB: use list_for_each() in class/usb-midi.c Signed-off-by: Maximilian Attems Signed-off-by: Greg Kroah-Hartman [PATCH] USB: use list_for_each() in core/devices.c Signed-off-by: Maximilian Attems Signed-off-by: Greg Kroah-Hartman [PATCH] USB: New unusual_devs.h entry Please merge this new entry for the unusual_devs.h database. From: Johann Cardon Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [PATCH] USB: unusual_devs.h update Just like in as347, we have another example of descriptors that vary from device to device. Please apply this patch to suppress the warning message. On Fri, 16 Jul 2004, Ken Yap wrote: > Jul 16 21:44:20 media kernel: usb-storage: This device (090a,1001,0100 S 06 P 50) has an unneeded Protocol entry in unusual_devs.h > Jul 16 21:44:20 media kernel: Please send a copy of this message to Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [PATCH] USB: unusual_devs.h update In view of the comments below, I think we should modify this unusual_devs.h entry to suppress the warning messages. Please apply. On Mon, 28 Jun 2004, Joël Bourquard wrote: > There seem to be two different flavors of ISD-300 (ie: 05ab,0060) > devices, one of which needs this entry to work, and the other doesn't. > > I have a 2 1/2'' HDD enclosure which (just like your device) doesn't > need the entry (so when I plug it, I get the same warning as you). > > However, I also happen to own two 5 1/4'' CD-ROM enclosures, for which > this entry *is* necessary. I tried again, very recently to remove my > unusual_devs.h entry, and it prevented them from working. > > So, I think the entry should be kept (it does more good than harm), but > maybe it could get some tweaking ? If there's a way to recognize these > "CD-ROM enclosure" bridge chips and exclude the others, I'm all for it. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [PATCH] USB: New entry in MAINTAINERS I forgot to add an entry in MAINTAINERS about the new SN9C10[12] driver. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman USB: fix build error in the cyberjack driver Signed-off-by: Greg Kroah-Hartman [NETFILTER]: New ip_conntrack_sctp Incremental to all other patches so far, there is also the new SCTP conntrack helper by Kiran Kumar. Please apply for 2.6.9 ++, thanks. Signed-off-by: Kiran Kumar Immidi Signed-off-by: Harald Welte Signed-off-by: David S. Miller [NETFILTER]: Fix broken debug assertion This patch fixes some more broken netfilter assertions in 2.6.x. Signed-off-by: Patrick McHardy Signed-off-by: Harald Welte Signed-off-by: David S. Miller [CPUFREQ] Longhaul compile fixes. Signed-off-by: Andrew Morton Signed-off-by: Dave Jones [CPUFREQ] speedstep-smi: GET_SPEEDSTEP_FREQS may return bogus values On at least one system, the GET_SPEEDSTEP_FREQS call to the BIOS returns obviously incorrect data (0 and 4 MHz...). So, check whether the results look sane, if not, use the already existing workaround for ancient speedstep systems. Thanks to Pierre Maziere for reporting this issue and testing the fix. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [CPUFREQ] speedstep-centrino: ignore 0xffff'ed P-States Some ACPI tables contain 0xffff'ed entries for "P-States". This is obviously incorrect according to the ACPI specifications, nonetheless it should "just work". So, simply ignore such invalid P-States instead of aborting. Thanks to Frederik Reiss for testing (and fixing) this patch. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [CPUFREQ] speedstep-ich SMT support. i have noticed that the most recent vanilla kernel oopses on a P4M-HT (because only one CPU is registered in sysfs but 2 are informed of a change of state). also there are some returns out of subroutines before set_cpus_allowed() is performed to restore the mask prior to entering the subroutine (this should not matter on uniprocessor systems, but still...). this patch should fix these 2 issues. for the first one, it registers all logical cpu's and a tiny modification is made in cpufreq.c to perform a policy change on all siblings. From: Christian Hoelbling Signed-off-by: Dave Jones [CPUFREQ] A reduce-Jeremy's-mail patch: - Only Intel makes EST CPUs. (Some Cyrix M IIs have the EST bit set - I don't know what it means, but it isn't Enhanced Speedstep.) - If it's a known Dothan, but we're looking in the tables, give a useful message about using ACPI rather than mailing me. - Code cleanups: - Make the CPU ID stuff table driven - Turn centrino_verify_cpu_id into a proper boolean predicate - Diddle some whitespace Signed-off-by: Dave Jones [CPUFREQ] speedstep-centrino: Remove unnecessary vendor checks. This is only used on Intel, and if some other vendor ever clones speedstep, we can add an additional check in the init routine. Signed-off-by: Dave Jones [PATCH] d_unhash consolidation This removes a copy of d_unhash() from drivers/usb/core/inode.c and and exports d_unhash() from fs/namei.c as dentry_unhash(). Tested - compiled and running. Signed-off-by: Dan Aloni Signed-off-by: Greg Kroah-Hartman [PATCH] USB: pxa2xx_udc.c: replace schedule_timeout() with msleep() Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] USB: ov511: replace schedule_timeout() with msleep() Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time. Signed-off-by: Nishanth Aravamudan Signed-off-by: Mark McClelland Signed-off-by: Greg Kroah-Hartman [PATCH] USB: auerswald: replace schedule_timeout() with msleep() Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] USB: usbnet: replace schedule_timeout() with msleep() Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time. Delete unused UNLINK_TIMEOUT_JIFFIES #define. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [CPUFREQ] fix HT oops on speedstep-ich system Bugfix for #3012 @ http://bugme.osdl.org/show_bug.cgi?id=3012 The speedstep-ich driver only registers for CPU0 (which is a sane thing to do). However, cpufreq_notify_transition() currently assumes the CPU specified in the freqs.cpu parameter has actually been registered with the CPUfreq core. This is obviously not the case for HT speedstep-ich CPUs, causing an OOPS. The long-term solution will be to merge the "cpufreq CPU group awareness patches" already RFC'ed to this list; but they still need a bit of polishing and testing. Thanks to Boris Fersing for reporting the bug and testing this fix. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [AGPGART] License updates. These drivers 'inherited' the license of the old agpgart code, which was licensed as 'and additional rights' even though those rights were never publically documented anywhere to my knowledge. This was a hangover from the days when agpgart maintainence was done primarily in the X tree, where GPL code cannot live without 'additional rights'. These days, agpgart maintainence happens in the kernel tree, so these 'additional rights' mean nothing. Remove them from some drivers. (More to follow). Signed-off-by: Dave Jones [PATCH] USB: ACM USB modem on Kernel 2.6.8-rc2 this adds a workaround for a broken USB modem. Signed-Off-By: Oliver Neukum Signed-off-by: Greg Kroah-Hartman [PATCH] USB Storage: fix Genesys Logic based on info from vendor In theory, this is the fix we need to make Genesys Logic devices work. This patch started life as as343, which was created based on some information which a user finally coaxed out of Genesys Logic. Limited end-user testing gives good results. As we expected, it's a bug in their device. This is really a workaround for what is almost certainly a timing problem. Apparently, the 'popular' OSes don't push the device as hard as Linux does. Although it is likely that this workaround is not needed for all Genesys devices, Genesys was unable/unwilling to provide us with the explicit list of VID/PIDs which required this -- thus we apply it to all Genesys devices. We have lots of good reports with max_sectors set to 128 with these devices, but the official recommendation is to set that to 64. End-users can experiment with higher values (for higher performance) via the runtime sysfs interface to that parameter. I would like to give special thanks to the users who hounded Genesys into giving up this information, and to Alan Stern for not giving up on this vendor long after I had. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman [PATCH] USB Storage: improve debugging output in usb-storage This patch started life as as294. All I did was to regenerate it to apply cleanly against current kernels. This just adds a couple of lines to the debugging output with some useful information, and removes some lines that nobody has looked at in a very long time. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman [PATCH] USB Storage: cleanups, mostly This patch is originally from Christoph Hellwig. This patch coverts from Scsi_Foo typefs to struct scsi_cmnd, and moved from the SCSI data direction constants to the DMA ones. It also switches to the proper (or so they tell me) use of headers. This also includes some additional reshuffling to avoid useless headers in the usb-storage local headers (to improve compile time). Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman [CPUFREQ] compile fix Compile fix for speedstep-ich.c: missing forward declaration. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones PCI: update pci.ids from sf.net site. Patch taken from http://www.codemonkey.org.uk/projects/pci/pci.ids-2004-08-02.diff and tweaked by hand to build with no warnings. Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: use list_for_each() i386/pci/pcbios.c From: Domen Puncer Signed-off-by: Maximilian Attems Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: use list_for_each() i386/pci/common.c From: Domen Puncer Signed-off-by: Maximilian Attems Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: cpci_hotplug_core: replace schedule_timeout() with msleep() Uses msleep() instead of schedule_timeout() to guarantee the task delays the desired time. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: ibmphp: remove long_delay Remove unused function long_delay(). Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: use list_for_each() drivers/pci/setup-bus.c From: Domen Puncer Signed-off-by: Maximilian Attems Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: ibmphp_core: replace long_delay() with msleep() Replace long_delay() with msleep() to guarantee the task delays as desired. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: ibmphp_hpc: replace long_delay() with msleep() Replace long_delay() with msleep() to guarantee the task delays as desired. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: shpchp_hpc: replace schedule_timeout() with msleep() Uses msleep() instead of schedule_timeout() to guarantee the task delays the desired time. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: fix PCI access mode dependences in arch/i386/Kconfig While all ACPI stuff is deselected, and PCI access mode is set to "Any", CONFIG_ACPI_BOOT is going to be set because of CONFIG_PCI_MMCONFIG. If CONFIG_ACPI_BOOT is not allready set by other stuff, setting PCI access mode to "Any" shouldn't set CONFIG_PCI_MMCONFIG. Anyhow, setting PCI access mode to "MMConfig" should select CONFIG_ACPI_BOOT. Signed-off-by: Raphael Zimmerer Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman [PATCH] PCI Hotplug: fix build warnings due to msleep() patches. Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: i2c-keywest: replace schedule_timeout() with msleep() Uses msleep() instead of schedule_timeout() to guarantee the task delays at least the desired time amount. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: i2c-algo-pcf: replace schedule_timeout() with msleep() Remove pcf_sleep() and replace invocations with msleep(). Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: i2c-ite: replace schedule_timeout() with msleep() Remove iic_ite_sleep() and replace invocations with msleep(). Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: Add Intel IXP2000 GPIO-based I2C adapter Following patch adds support for using GPIO pins on Intel's IXP2000 Network Processor as a bit-bang I2C adapter. IXP2000 support will be coming in via ARM updates once all the various drivers have been merged upstream. Signed-off-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: Fix debug in w83781d driver The trivial patch below fixes two debug prints in the w83781d driver (one needless dereference and one debug print without device info). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: new device for sis630 this patch adds SiS 1039:0018 to PCI device list of sis630.c. This is needed, due to changes in pci quirks that cause sis630/sis730 LPC to change id from 008 -> 0018. This patch doesn't have any side effects, because i2c-sis630 checks for supported devices. Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: i2c-nforce2: replace schedule_timeout() with msleep() Uses msleep() instead of schedule_timeout() to guarantee the task delays at least the desired time amount. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: scx200_acb: replace schedule_timeout() with msleep() Uses msleep() instead of schedule_timeout() to guarantee the task delays the requested time. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: activate SMBus device on hp d300l From: Dominik Brodowski HP hides the SMBus on the HP D330L. Original patch by Stoyan Martinov. Signed-off-by: Örjan Persson Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman [PATCH] USB: usb_get_descriptor, more error checks I've had different versions of this floating around for a while; basically, the goal is to be more robust against devices that misbehave by returning garbage descriptors in certain cases. Add an extra check when fetching descriptors: the type must be correct. This guards against different types of firmware (or maybe hardware) errors than the two checks already being made. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman [PATCH] USB: hid intervals I noticed the HID driver had some potential misbehavior ... Bugfix handling for HID devices at high speed (interrupt interval encoding is log2 not linear), and for interrupt OUT transfers (use the interval the hardware actually supports). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman [PATCH] USB: fix build error from previous patch. Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: replace schedule_timeout() with msleep() Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman USB: replace old usb-skeleton driver with a rewritten and simpler version. Signed-off-by: Greg Kroah-Hartman [CPUFREQ] Adding SMP capability to MSR based Enhanced Speedstep. At present, MSR based Enhanced Speedstep Technology (EST) is handled by speedstep-centrino.c. The attached patch adds more features to speedstep-centrino, making it more generic. With these changes, it can run on SMP systems which supports EST, based on the information provided by ACPI. The non-ACPI (static table based) driver will still be UP only. From: "Pallipadi, Venkatesh" Signed-off-by: Dave Jones [CPUFREQ] Whitespace cleanup for centrino speedstep. Signed-off-by: Dave Jones [CPUFREQ] Better fix for previous speedstep-ich breakage. Do away with the prototype by just moving some code around. Signed-off-by: Andrew Morton Signed-off-by: Dave Jones [CPUFREQ] Whitespace/CodingStyle fixes for speedstep-ich Signed-off-by: Dave Jones [AGPGART] Delete confusing message when not using onboard i815 gfx. If you use an external graphic card, the secondary device disappears, which makes agpgart spew a message like Detected an Intel i815 Chipset, but could not find the secondary device. Which is ok, as we don't want to use it anyway. This is confusing to users, as I've even had some people saying they thought it was a hardware fault. Signed-off-by: Dave Jones [AGPGART] Trailing whitespace cleanup Signed-off-by: Dave Jones [ACPI] BIOS workaround allowing devices to use reserved IO ports Author: David Shaohua Li http://bugzilla.kernel.org/show_bug.cgi?id=3049 USB: convert a lot of usb drivers from MODULE_PARM to module_param Signed-off-by: Greg Kroah-Hartman [1/3] Split pci quirks array to allow separate declarations. It's a pain in the arse to set up platform-specific PCI quirks -- you have to put your platform-specific quirk into the generic (or at least the architecture) array. This patch fixes that, allowing you to DECLARE_PCI_FIXUP_HEADER() or DECLARE_PCI_FIXUP_FINAL() anywhere you like. Note that a lot of the quirks can now be moved out of drivers/pci/quirks.c and put somewhere closer to where they belong. Signed-off-by: Greg Kroah-Hartman [2/3] PCI quirks -- PPC. Remove up the PPC pcibios_fixups[] array. Remove the ifdefs on CONFIG_PPC_PMAC in the kernel PPC code, moving that stuff into pmac-specific files where it lives. Add a quirk for the CardBus controller on WindRiver SBC8260. Signed-off-by: Greg Kroah-Hartman [3/3] PCI quirks -- i386. Probably best to make i386 build again too... people bitch if their favourite legacy architecture breaks. Signed-off-by: Greg Kroah-Hartman [4/3] PCI quirks -- MIPS. Remove the bazillion of pcibios_fixups[] arrays on MIPS and replace them with DECLARE_PCI_FIXUP_HEADER / DECLARE_PCI_FIXUP_FINAL where the array definition was non-empty. Signed-off-by: Greg Kroah-Hartman [5/3][ARM] PCI quirks update for ARM Good idea. Following is ARM patch. Signed-off-by: Greg Kroah-Hartman PCI quirks -- parisc. Remove pcibios_fixups[] from core code and declare the one fixup in the same place it's implemented. Signed-off-by: Greg Kroah-Hartman PCI quirks -- ppc64 Remove pcibios_fixups[] array and move the declarations to live with the implementations. Remove unneeded pcibios_name_device() on iSeries. Signed-off-by: Greg Kroah-Hartman PCI quirks -- other architectures Mostly just removing empty pcibios_fixups[] arrays. Signed-off-by: Greg Kroah-Hartman [ACPI] restore PCI Interrupt Link Devices upon resume * register as as a sys_device so that we can get resume callbacks and restore interrupt routing state. * add acpi_pci_link_resume(), which will be called when resuming from a suspend state that needs IRQ routing to be restored. This fixes issues reported on the mailing lists, e.g.: http://marc.theaimsgroup.com/?l=acpi4linux&m=109142999328643&w=2 * rename setonboot --> initialized * change to test acpi_noirq in init We want to initialize everything on S3 resume in case the BIOS points an interrupt link somewhere we didn't expect. (Doing so avoids "missing interrupt" or "irq x: nobody cared" problems.) According to Len, past experience has shown that it's a good idea to initialize only devices that exist or were explicitly asked for, so we try to initialize only the IRQ's that were previously initialized at some point before suspend, by checking the "initialized" flag. This corresponds to links that have PCI devices attached. Everything else, we leave alone. Assuming the BIOS does the same thing on resume that it did on boot, this will leave all the unused links in the same state that they were on boot. We are registered as a sysdev in order to do this work fairly early during resume, before devices are resumed; some devices may not call pci_device_enable. Previous "setonboot once" behavior is left in place, to be conservative. PCI: fix compiler warning in quirks file, and other minor quirks cleanup Signed-off-by: Greg Kroah-Hartman PCI: clean up code formatting of quirks.c Signed-off-by: Greg Kroah-Hartman PCI: oops, forgot to check in the pci.h changes so that the quirk cleanups will work Signed-off-by: Greg Kroah-Hartman USB: finish up the last of MODULE_PARM to module_param conversions Signed-off-by: Greg Kroah-Hartman [AGPGART] Sparse trivial warning fixes. Signed-off-by: Dave Jones MODULE: add byte type of module paramater, like the comments say we support... Signed-off-by: Greg Kroah-Hartman I2C: convert all drivers from MODULE_PARM to module_param [PATCH] I2C: bus driver for multiple PowerPCs The attached patch for Linux 2.6 adds an I2C driver for the MPC107 host bridge, plus the integrated controllers in the MPC824x, MPC85xx, and MPC52xx PowerPCs. The driver has been tested on a variety of systems, by people on the linuxppc-embedded list. Signed-off-by: Adrian Cox Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: fix up the order of bus drivers in the Kconfig and Makefile Signed-off-by: Greg Kroah-Hartman [PATCH] USB: SN9C10[12] driver update This patch brings the driver up to the first stable version. Changes: * Remove "redblue" entry under /sys * Better coding style for comments * Fix the image downscaling factor calculation * Fix default color settings for some image sensors * Fix TAS5130D1B image sensor support * Other small cleanups * Remove "EXPERIMENTAL" symbol from KConfig + Add support for PAS202BCB sensor (thanks to Carlos Eduardo Medaglia Dyonisio) Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman [PATCH] USB: SN9C10[12] driver minor update Oops, one more. Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman [PATCH] USB: ipaq module: product id for HTC Himalaya This adds support for HTC Himalaya / XDA II Signed-off-by: Nabil Sayegh Signed-off-by: Greg Kroah-Hartman [PATCH] USB: Don't track endpoint halts in usbcore This patch is a repeat of as331 as described in http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108811725219677&w=2 It has been updated slightly to match the current source. It should be non-controversial; it has nothing to do with hubs or locking. Please apply. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [PATCH] USB: Disallow probing etc. for suspended devices This patch is a repeat of as335, as described in http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108861892700869&w=2 but updated to match the current source. It should be non-controversial; it has nothing to do with hubs or locking. Please apply. Alan Stern Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman [PATCH] USB: ehci and buggy BIOS handoff Be more forgiving of buggy BIOS code, which never hands the EHCI controller to Linux. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman [PATCH] USB: net2280 minor fixes Collection of small net2280 driver fixes: - Byteswap bug for big-endian PIO paths From: Jon Neal - Highspeed electrical conformance fix From: Alex Sanks - Support new usb_gadget_{connect,disconnect}() API calls so that gadget drivers have softconnect control over the D+ pullup From: Alex Sanks And minor cleanups by me. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman [PATCH] USB: fix deadlock in hub_reset usb_reset_device takes hdev->serialize. However, hub_reset is (only) called by hub_events, which already holds the lock. Thanks to Tyler Nielsen for the bug report and helpful backtrace. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman [PATCH] USB: LEGO USB Tower, move reset from probe to open the following patch reduces the amount of garbage data sent by the device after open (must be the heat here causing trouble). Move the vendor-specific device reset from probe to open to reduce spurious data. Signed-off-by: Juergen Stuber Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: rpaphp build break - remove eeh register The following patch removes eeh function calls that currently break the RPA PCI Hotplug module. The functions in question were rejected from mainline, and an alternate solution is being worked. [PATCH] PCI: Document pci_disable_device() Add documentation for pci_disable_device(). We don't actually deallocate IRQ resources in pci_disable_device() yet, but I suspect we'll need to do so soon. Signed-off-by: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman I2C: rename i2c-sensor.c file to prepare for Rudolf's VRM patch. Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: automatic VRM detection part1 This patch forms composite module with i2c-sensor.c and new file i2c-sensor-vid.c, which provides i2c_which_vrm function for detecting VRM version of processor using cpuid_eax func. Resulting module has unchanged name (i2c-sensor). Before applaying this patch, please rename i2c-sensor.c to i2c-sensor-detect.c This patch was briefly reviewed by Jean Delvare. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: automatic VRM detection part2 This is second part, which just adds the functionality to existing code base, also including support of vid inputs for it8712 chip. This patch was also briefly reviewed by Jean Delvare. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: algorithm and bus driver for PCA9564 Attached is a driver for the PCA9564 "Parallel to I2C" chip, it is similar in principle to the PCF8584 which is supported by the i2c-algo-pcf and i2c-elektor code, however it's not code compatible in any way: http://www.semiconductors.philips.com/pip/PCA9564PW.html The patch contains the PCA algorithm driver and a bus driver for an ISA card. It only supports master send and receive but I'm not sure that the Linux i2c stack supports client side operation anyhow, and I have no hardware to test on. It was tested on a PC104 card containing the PCA chip and an Atmel TPM device and also on a separate PC104 card with a DS1307 RTC hotwired onto it for testing purposes. The driver is against a 2.6 BK tree pulled on Friday. I also have a fairly trivial 2.4 backport if that is of interest. From: Ian Campbell Signed-off-by: Greg Kroah-Hartman [PATCH] USB: autoconf for gadget serial Here is a patch to add endpoint autoconfiguration to the gadget serial driver. I pretty much copied gadget zero autoconfig for this. Tested with a NetChip 2280 development board. Signed-off-by: Al Borchers Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman [PATCH] USB: add Hardware implementing USB-OTG needs to use an OTG controller and/or transceiver driver to switch the Mini-AB connector between the host and peripheral side controller drivers (and the USB device role supported by that driver). This patch adds a simple "otg_transceiver" interface that can abstract implementation details for that port, as needed for some upcoming patches: - Neither host nor peripheral controller drivers need to know about how the OTG controller is implemented. Example: is the transceiver internal? If not, which external chip? - The OTG controller doesn't need to know if the Host Controller is OHCI, EHCI, or something custom ... all it knows is that the HCD looks like a "usb_bus". - In the same way, the peripheral controller is just a "usb_gadget". One implementation of this will be posted soon; the interface is by no means cast in stone, other implementations may need to morph this interface a bit. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman MODULE: delete local static copy of param_set_byte as we now have a real version of it. Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: scx200_i2c build fix drivers/i2c/busses/scx200_i2c.c: In function `__check_scl': drivers/i2c/busses/scx200_i2c.c:41: `scl' undeclared (first use in this function) drivers/i2c/busses/scx200_i2c.c:41: (Each undeclared identifier is reported only once Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman [PATCH] USB: usbfs: drop the device semaphore in proc_bulk and proc_control usb_control_msg and usb_bulk_msg may sleep for a long time, so drop the per device semaphore before calling them. This fixes OSDL bug 3108. Dropping the semaphore is racy, but (1) the race is fairly harmless, (2) it can be occur elsewhere as an inevitable consequence of the current usbfs api, this just makes it fractionally more likely. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman [PATCH] USB: add ub driver From: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman USB: fix up ub.c due to usb_endpoint_running() going away. Signed-off-by: Greg Kroah-Hartman USB: fix up gadget driver usage of MODULE_PARM Signed-off-by: Greg Kroah-Hartman [PATCH] w1: attributes split, timeout unit changed. Creates w1_master_attribute_* attributes and 2 routings to control them: w1_create_master_attributes() and w1_destroy_master_attributes(). Timeout unit was changed from jiffies to seconds. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Added w1_read_block() and w1_write_block() callbacks. Added w1_read_block() and w1_write_block(). w1_therm.c now uses them. w1_therm: Chnaged snprintf to sprintf in w1_therm_read_bin() and added max_trying - number of tryings to read temperature before failng. By default it is 10. Added w1_therm_check_rom() - checks if read rom is in black list. If rom is in black list it is probably due to unsufficient of "power" in the sensor - either add strong pullup or connect it to Vcc. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Added w1_check_family(). w1_check_family() checks new family before registering it. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Changed printing format for slave names. %llx -> %012llx %x -> %02x Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Changed define for W1_FAMILY_SMEM. -#define W1_FAMILY_IBUT 0xff /* ? */ +#define W1_FAMILY_SMEM 0x01 Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Netlink update - changed event generating/processing. Added following self-explanatory netlink events. W1_SLAVE_ADD = 0, W1_SLAVE_REMOVE, W1_MASTER_ADD, W1_MASTER_REMOVE, Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Debug output cleanup. memcpy instead of direct structure copying. Debug output cleanup. memcpy instead of direct structure copying. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Spelling fix. Spelling fix. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Added w1_smem.c - driver for simple 64bit ROM devices. Added w1_smem.c - driver for simple 64bit ROM devices. Simple iButtons with ds2401/ds2411/ds1990* are handled by this driver. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Added driver for Dallas' DS9490* USB <-> W1 master. Added driver for Dallas' DS9490* USB <-> W1 master. Should handle any device based on DS2490 chip. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman kbuild: Check for undefined symbols in vmlinux At least one bin-utils version for ARM is know to ignore undefined symbols when performing the final link of vmlinux. Add an explicit check for undefined symbols to catch this. The check is made in combination with generating the System.map file and the actual algorithm is moved to a small shell script - mksysmap. External symbols with three leading underscores are ignored - sparc uses them for the BTFIXUP logic. Signed-off-by: Sam Ravnborg [ACPI] acpi_system_write_wakeup_device() has the wrong return type and is missing the __user attribution from its buffer argument. This patch shuts up the resulting warnings on x86-64. From: William Lee Irwin III Signed-off-by: Andrew Morton kbuild/sparc: Use new generic mksysmap script to generate System.map o Introduced usage of the mksysmap script. o Improved the non-verbose output to look like this: BTFIX arch/sparc/boot/btfix.S AS arch/sparc/boot/btfix.o LD arch/sparc/boot/image SYSMAP arch/sparc/boot/System.map o No longer generate System.map for each build o Use normal AS rule to compile btfix.S Signed-off-by: Sam Ravnborg kconfig: save kernel version in .config file Save kernel version info and date when writing .config file. Tested with 'make {menuconfig|xconfig|gconfig}'. Signed-off-by: Randy Dunlap Signed-off-by: Sam Ravnborg kbuild: Selective compile of targets in scripts/ Do not build executables unless needed. Same goes for scripts/mod/, descend only when CONFIG_MODULES are enabled. With inputs form: Russell King and Brian Gerst Signed-off-by: Sam Ravnborg kbuild: Use LINUXINCLUDE to specify include/ directory Peter Chubb reported that building i386 on a non-i386 platform failed, because gcc could not locate boot.h. Root cause was the extra include2 directory used when using O= to specify the output directory. Added LINUXINCLUDE as a portable way to specify the include/ directory, and changed the two users. This avoids hardcoding 'include2' in non-kbuild core files. Signed-off-by: Sam Ravnborg [AGPGART] SiS 635 support. From: Pavel Kysilka Signed-off-by: Dave Jones [ACPI] acpi for asus update from Karol Kozimor support for L4R and M5N, moves some bits for M6N and restores WLED functionality for M2N comment and whitespace cleanups fix get/set typo from /proc patch, delete trailing spaces [ACPI] acpi_bus_register_driver() now return a count consistent with pnp_register_driver() and pci_register_driver() All existing callers of acpi_bus_register_driver() either ignore the return value or check only for negative (error) return values. Signed-off-by: Bjorn Helgaas [ACPI] init wakeup devcies only if ACPI enabled (David Shaohua Li) [PATCH] USB: fix ub driver The problem is that the ub driver don't contain the terminating braces for the device id entries. You need to apply the following patch to get everything back to normal. From: Marcel Holtmann Signed-off-by: Greg Kroah-Hartman [PATCH] w1: Added dynamic slave removal mechanism. Fixed bug when we have multiple slave with different families. Added dynamic slave removal mechanism by introducing u32 flags; in each slave. If slave was found during search process then set flag. If after search complete we have slave entryes without magic flag then remove them. Fixed bug when we have multiple slave with different families. Since attributes were static then each new family will rewrite static values with new function pointers... badly broken. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: update the lm83 driver This is an update to the Linux 2.6 lm83 hardware monitoring driver. * Follow the sysfs interface naming conventions. * Fix the "force" module parameter. * Fix limit settings checks. * Driver is no longer tagged experimental. These changes are the result of me finally succeeding in getting my LM83 evaluation board to work. If there are norms and standards about how evaluation boards can be wired, I guess I did not respect any of them, but it works ;) Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman [PATCH] I2C: port smsc47m1 to 2.6 Here is my port of the smsc47m1 i2c hardware monitoring driver to Linux 2.6. The original driver was written by Mark D. Studebaker, and my work is based on a preliminary port by Gabriele Gorla, who came in with an almost finished driver, but vanished before cleaning it up. I finished the job and improved things a bit. Credits go to Ivars Strazdins and Cassio Freitas for testing the driver (having no hardware, I couldn't test the code myself). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman [PATCH] W1: fix some improper '{' style code. Signed-off-by: Greg Kroah-Hartman [PATCH] W1: removed some unneeded global symbols from the w1_smem module. Signed-off-by: Greg Kroah-Hartman kbuild: Accept absolute paths in clean-files and introduce clean-dirs Teach kbuild to accept absolute paths in clean-files. This avoids using clean-rules in several places. Introduced clean-dirs to delete complete directories. Kept clean-rule - but do not print anything when used. Cleaned up a few places now the infrastructure are improved. Signed-off-by: Sam Ravnborg [PATCH] I2C: fix for previous lm83 driver update Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman [PATCH] USB: SN9C10[12] driver update Changes: - Correct calculation of R,G,B origin - Gain fixes for PAS106B and PAS202BCB image sensors Signed-off-by: Luca Risolia Signed-off-by: Greg Kroah-Hartman [PATCH] USB: usbfs: check the buffer size in proc_bulk Use the same check as proc_submiturb. Signed-off-by: Duncan Sands Signed-off-by: Greg Kroah-Hartman PCI Hotplug: fix compiler warnings in pciehp driver. [PATCH] PCI: saved_config_space -> u32 Match what the functions working on it expect. Signed-off-by: Roger Luethi Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: fix PCI access mode dependences in arch/i386/Kconfig again While all ACPI stuff is deselected, and PCI access mode is set to "Any", CONFIG_ACPI_BOOT is going to be set because of CONFIG_PCI_MMCONFIG. If CONFIG_ACPI_BOOT is not allready set by other stuff, setting PCI access mode to "Any" shouldn't set CONFIG_PCI_MMCONFIG. Anyhow, setting PCI access mode to "MMConfig" should select CONFIG_ACPI_BOOT. Signed-off-by: Raphael Zimmerer Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman [PATCH] PCI: ASUS L3C SMBus fixup Following the notes on bug #2976, here's the patch to add ASUS L3C notebook to the list of machines hiding SMBus chip. The patch is against 2.6.8-rc3-mm1. From: Karol Kozimor Signed-off-by: Greg Kroah-Hartman [AGPGART] Fix MVP3 typo. Spotted by Lars Gregori Signed-off-by: Dave Jones Cset exclude: davej@redhat.com|ChangeSet|20040809142517|56351 kbuild: Separate out host-progs handling Concentrating all host-progs functionality in one file made a more readable Makefile.lib - and allow for potential reuse of host-progs functionality. Processing of host-progs related stuff are avoided when no host-progs are specified. Signed-off-by: Sam Ravnborg kbuild: Introduce hostprogs-y, deprecate host-progs Introducing hostprogs-y allows a user to use the typical Kbuild pattern in a Kbuild file: hostprogs-$(CONFIG_KALLSYMS) += ... And then during cleaning the referenced file are still deleted. Deprecate the old host-progs assignment but kept the functionlity. External modules will continue to use host-progs for a while - drawback is that they now see a warning. Workaround - just assign both variables: hostprogs-y := foo host-progs := $(hostprogs-y) All in-kernel users will be converted in next patch. Signed-off-by: Sam Ravnborg kbuild: Replace host-progs with hostprogs-y Signed-off-by: Sam Ravnborg kbuild: Fix hostprogs-y Allow the same target to be specified more than once without causing a warnign from make. The same target may be specified twice when using the following pattern: hostprogs-$(CONFIG_FOO) += program hostprogs-$(CONFIG_BAR) += program Signed-off-by: Sam Ravnborg kbuild: Use POSIX headers for ntoh functions From: Benno When compiling Linux on Mac OSX I had trouble with scripts/sumversion.c. It includes to obtain to definitions of htonl and ntohl. On Mac OSX these are found in . After checking the POSIX specification it appears that this is the correct place to get the definitons for these functions. (http://www.opengroup.org/onlinepubs/009695399/functions/htonl.html) Using this header also appears to work on Linux (at least with Glibc-2.3.2). It seems clearer to me to go with the POSIX standard than implementing #if __APPLE__ style macros, but if such an approach is preferred I can supply patches for that instead. Signed-off-by: Sam Ravnborg [PATCH] PCI Hotplug: rpaphp_get_power_level bug fix Recently I have run into the problem where I got the power-level "0" while I was expecting "100" from a slot that had pwered on. The attached patch fixes rpaphp_slot.c to use an int pointer(instead of an u8 pointer) when calling rtas_get_power_level routine. Signed-off-by: Linda Xie Signed-off-by: Greg Kroah-Hartman [PATCH] Remove spaces from PCI IDE pci_driver.name field Spaces in driver names show up as spaces in sysfs. Annoying. I went ahead and changed ones that don't have spaces to use ${NAME}_IDE so they are all consistent. Signed-off-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman [PATCH] Remove spaces from PCI I2C pci_driver.name fields Same thing as IDE...spaces in PCI driver names show up in sysfs file names. I've also cleaned up all the .name fields to be in the format (${NAME}_i2c|${NAME}_smbus) so they are consistent. Signed-off-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman [PATCH] Remove spaces from PCI gameport pci_driver.name fields Signed-off-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman [PATCH] Remove spaces from Skystar2 pci_driver.name field Signed-off-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman [CRYPTO]: Typo in crypto/Kconfig From Nicolas Kaiser Signed-off-by: James Morris Signed-off-by: David S. Miller [CRYPTO]: Typo in crypto/twofish.c From Nicolas Kaiser Signed-off-by: James Morris Signed-off-by: David S. Miller [CRYPTO]: Typo in crypto/aes.c From Nicolas Kaiser Signed-off-by: James Morris Signed-off-by: David S. Miller [CRYPTO]: Typo in crypto/scatterwalk.c From Nicolas Kaiser Signed-off-by: James Morris Signed-off-by: David S. Miller [CRYPTO]: Typo in crypto/blowfish.c From Nicolas Kaiser Signed-off-by: James Morris Signed-off-by: David S. Miller [CRYPTO]: Typo in crypto/tcrypt.h From Nicolas Kaiser Signed-off-by: James Morris Signed-off-by: David S. Miller [CRYPTO]: Email update in crypto/arc4.c [EBTABLES]: Remove deprecated use of MODULE_PARM. From Stephen Hemminger Minor patch to change from MODULE_PARM to module_param. Using a char for a flag is not necessary, every else just uses an int. Signed-off-by: Stephen Hemminger Signed-off-by: Bart De Schuymer Signed-off-by: David S. Miller [IPV4]: Remove all references to IP_ROUTE_NAT support. It is totally broken, nobody is fixing it, and whoever wants to can resurrect it. Signed-off-by: David S. Miller [CPUFREQ] fix powernow-k8 compilation [bug 3180] Propagate the new CONFIG_X86_POWERNOW_K8_ACPI to powernow-k8.h to avoid compile breakage. Fixes bug 3180. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [CPUFREQ] avoid re-enabling of interrupts too early during resume Avoid re-enabling the interrupts in "write_sequnlock_irq" in cpufreq_timer_notifier() when it gets called in "CPUFREQ_RESUMECHANGE" state -- that happens if the CPU frequency is detected to be different now from what it was during suspension, and that's a resume call of a sys device, so with interrupts off. Without this patch, it can cause nasty oopses. IIRC resume is done on one CPU only, so we don't need no lock anyways. Right? Many thanks to Brian J. Murrell for debugging this issue. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [CPUFREQ] deprecate proc_intf, and inform of removal ~2005-01-01 The /proc/cpufreq interface was deprecated already when cpufreq was merged into the kernel. With 2.7. not appearing soon, let's do the same what's suggested for devfs and others: inform users of it being deprecated. Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones [CPUFREQ] deprecate proc_sys_intf, and inform users of removal ~2005-01-01 The /proc/sys/cpu/ interface was deprecated already when cpufreq was merged into the kernel. With 2.7. not appearing soon, let's do the same what's suggested for devfs and others: inform users of it being deprecated Signed-off-by: Dominik Brodowski Signed-off-by: Dave Jones USB: hook the ub driver up to the sysfs tree so that tools like udev work better. Signed-off-by: Greg Kroah-Hartman [IPV4]: Move inetdev/ifa locking over to RCU. Multicast ipv4 address handling still uses rwlock and spinlock synchronization. Signed-off-by: David S. Miller [PATCH] PPC64 Segment table code cleanup - move to arch/ppc64/mm Move the segment table handling code from arch/ppc64/kernel to arch/ppc64/mm where it better belongs. This patch doesn't actually change the code at all. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras [PATCH] PPC64 Segment table code cleanup - kill bitfields Remove the overly verbose and hard to follow use of bitfields in the PPC64 segment table code, replacing it with explicit bitmask operations. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras [PATCH] PPC64 Segment table code cleanup - assorted cleanups Clean up various aspects of the PPC64 segment table management code: move code around to suit call order, remove redundant computations, and extra intermediate variables which don't really add to clarity. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras [PATCH] PPC64 Segment table code cleanup - remove check duplication Rearrange the ste_allocate()/__ste_allocate() path in the PPC64 segment table code more sensibly. This moves various valid address checks into the lower-level __ste_allocate(), meaning the checks don't need to be duplicated in preload_stab(). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras [PATCH] PPC64 Segment table code cleanup - replace flush_stab() with switch_stab() preload_stab() is only ever called (once) from flush_stab(), and flush_stab() is only ever called from switch_mm(). So, combine both functions into the more accurately named switch_stab(), called from switch_mm(). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras [ARM PATCH] 2013/1: IXP4xx: Make clock monotonic Patch from David Vrabel ixp4xx_gettimeoffset uses an incorrectly rounded divisor. This results in a non-monotonic clock. kbuild: __crc_* symbols in System.map David S. Miller wrote: Shouldn't we be grepping __crc_ symbols out of the System.map file? For one thing, these can confuse readprofile. It's algorithm is to start at _stext, then stop when it sees a line in the System.map which is not text (mode is one of 'T' 't' 'W' or 'w') It will exit early if there are some intermixed __crc_* things in there (since they are are mode 'A'). For example, in my current sparc64 kernel I have this: 00000000004cef80 t do_split 00000000004cf2a0 t add_dirent_to_buf 00000000004cf5a7 A __crc_init_special_inode 00000000004cf640 t make_indexed_dir 00000000004cf900 t ext3_add_entry So no symbols after add_dirent_to_buf will be shown in the profiling output of readprofile. Implementation ported to mksysmap by Sam. Included two System.map related fixes: - Print "SYSMAP System.map" during build - Sort symbols in System.map Signed-off-by: Sam Ravnborg [ACPI] clean out blacklist entries that do nothing [IPV4]: Fix race in inetdev RCU handling. [libata] (cosmetic) minimize diff with 2.4.x libata Also, remove BenH's email address from SiI driver, to reduce email coming to him for a driver he didn't write (by request). [ACPI] Enter ACPI mode earlier Fixes two common boot failures due to buggy SMM BIOS code SMP boot crash if SMI_CMD=ACPI written from CPU1 http://bugzilla.kernel.org/show_bug.cgi?id=2941 laptop crash due to LAPIC timer before SMI_CMD=ACPI http://bugzilla.kernel.org/show_bug.cgi?id=1269 Make 'WRITE_BUFFER' require CAP_RAWIO capability Pointed out by Kai Makisara. Fix stupid thinkos in the fcntl f_op removal code. Tssk. [PATCH] Fix NFS client screw-up in fcntl f_op removal Fix stupid thinkos in the fcntl f_op removal code. Linux 2.6.8.1 [libata] support commands SYNCHRONIZE CACHE, VERIFY, VERIFY(16) [libata] fix PIO data xfer on big endian We were reading the data swapped, which was correct for the data page read from IDENTIFY DEVICE and incorrect for all other situations. Noticed by Ben Herrenschmidt. [libata] ATAPI PIO data xfer Abstract out PIO data xfer to xfer-a-sector and other-stuff pieces, then add new ATAPI code that uses the common xfer-a-sector code. [ARM PATCH] 1866/4: kernel support for iWMMXt present on some XScale cores Patch from Nicolas Pitre This is required for a system with user space binaries using iWMMXt instructions to even boot (revised again). It also moves defines for thread_info offsets from magic static values to the auto generated asm/constants.h in order to better cope with changing structure offsets and avoid user errors. [ARM PATCH] 1909/1: add a cached definition of ioremap Patch from Nicolas Pitre This would be used by MTD map drivers for example. [ARM PATCH] 1955/3: Motorola i.MX architecture support Patch from Sascha Hauer This patch adds support for the Motorola i.MX SoC. It has board support included for the MX1ADS Eval Board, but the patch has been tested on two other custom boards as well. Things changed since Patch 1955/2: - fixed according to Russell's comments. - removed unnecassary files from include/asm-arm/arch-imx. - removed cpufreq support (it needs rework). - made myself the Maintainer of mx1ads Sascha Hauer [ARM PATCH] 1995/1: S3C2410 - Clock controls Patch from Ben Dooks Code to deal with controlling the clock sources on the s3c2410, using the interface Includes Herbert Potzl's patch for the clock register include file [ARM PATCH] 2005/1: OMAP update 1/6: Add McBSP support Patch from Tony Lindgren Patch from Samuel Ortiz to add OMAP McBSP support [ARM PATCH] 2006/1: OMAP update 2/6: Board support files for OMAP H2 and H3 Patch from Tony Lindgren Patch adds board support files for OMAP H2 and H2 [ARM PATCH] 2007/1: OMAP update 3/6: Arch files Patch from Tony Lindgren This patch syncs the mainline kernel with the linux-omap tree. The highlights of the patch are: - DMA fixes from Samuel Ortiz - USB low level configuration from David Brownell - H3 support from Nishant Kamat - TPS65010 power management interface from Dirk Behme [ARM PATCH] 2008/1: OMAP update 4/6: Include files Patch from Tony Lindgren This patch syncs the mainline kernel with the linux-omap tree. The highlights of the patch are: - DMA fixes from Samuel Ortiz - USB low level configuration from David Brownell - H3 support from Nishant Kamat - TPS65010 power management interface from Dirk Behme [ARM PATCH] 2009/1: OMAP update 5/6: Remove old OMAP bus Patch from Tony Lindgren Patch removes old OMAP bus. Drivers now use platform_bus [ARM PATCH] 2010/1: OMAP update 6/6: Add leds support for H2 Patch from Tony Lindgren Patch from Kevin Hilman to replace old leds-perseus2.c with leds-h2p2-debug.c to add leds support for H2. [ARM PATCH] 1991/1: S3C2410 - irq updates Patch from Ben Dooks This patch adds the following - demux of the adc/touchscreen irqs - fix to allow setting of the external irq type Updated version of 1975/1 Thanks to Roc Wu, and Arnaud Patard for finding and fixing [libata] add ioctl infrastructure Mainly adding the infrastructure for various ATA ioctls. Currently only supports two ATA-specific ioctls: HDIO_GET_32BIT and HDIO_SET_32BIT (hdparm -c) fix main.c build warning [ARM PATCH] 1993/3: S3C2410 DMA Support Patch from Ben Dooks Support for DMA controller on the Samsung S3C2410, and fixes to the header files for DMA register definitions Fixes the menuconfig problem from the original patch [ACPI] ia64 build fix Signed-off-by: Jesse Barnes kbuild: Bogus "has no CRC" in external module builds From: Pavel Roskin The recent fixes for the external module build have fixed the major breakage, but they left one annoyance unfixed. If CONFIG_MODVERSIONS is disabled, a warning is printed for every exported symbol that is has no CRC. For instance, I see this when compiling the standalone Orinoco driver on Linux 2.6.6-rc3: *** Warning: "__orinoco_down" [/usr/local/src/orinoco/spectrum_cs.ko] has no CRC! *** Warning: "hermes_struct_init" [/usr/local/src/orinoco/spectrum_cs.ko] has no CRC! *** Warning: "free_orinocodev" [/usr/local/src/orinoco/spectrum_cs.ko] has no CRC! [further warnings skipped] I have found that the "-i" option for modpost is used for external builds, whereas the internal modules use "-o". The "-i" option causes read_dump() in modpost.c to be called. This function sets "modversions" variable under some conditions that I don't understand. The comment before the modversions declarations says: "Are we using CONFIG_MODVERSIONS?" Apparently modpost fails to answer this question. I think it's better to use an explicit option rather than a kludge. The attached patch adds a new option "-m" that is specified if and only if CONFIG_MODVERSIONS is enabled. The patch has been successfully tested both with and without CONFIG_MODVERSIONS. Signed-off-by: Sam Ravnborg kbuild: Generate *.lds instead of *.lds.s When building a kernel on platforms where the filesytem do not distingush between upper and lower case the rule: .S -> .s did not work. In a normal build this is only used for linker scripts. So create a separate rule for .lds files, and use generic cpp flags. Patch from: Dan Aloni Modified to use cpp flags + added documentation. Signed-off-by: Sam Ravnborg [ARM] Move bootmem_init() call into paging_init() kbuild/all archs: Rename *.lds.s to *.lds For all architectures use the new name for linker definition scripts. Based on patch from: Dan Aloni Signed-off-by: Sam Ravnborg Cset exclude: adobriyan@mail.ru|ChangeSet|20040815084554|35832 bk: ignore arch/*/kernel/vmlinux.lds Needed now the lds files got renamed Signed-off-by: Sam Ravnborg kbuild: Remove wildcard on KBUILD_OUTPUT This patch removes unnecessary wildcard on KBUILD_OUTPUT Signed-off-by: Coywolf Qi Hunt Signed-off-by: Sam Ravnborg kconfig/all archs: Introduce Kconfig.debug Localize Kconfig debug options into one file (lib/Kconfig.debug) for easier maintenance, searching, and menu-building. Updated to 2.6.8. Summary of changes: . localizes the following symbols in lib/Kconfig.debug: DEBUG_KERNEL, MAGIC_SYSRQ, DEBUG_SLAB, DEBUG_SPINLOCK, DEBUG_SPINLOCK_SLEEP, DEBUG_HIGHMEM, DEBUG_BUGVERBOSE, DEBUG_INFO and FRAME_POINTER for some instances of it (if it's freely user-selectable) but not for the cases where it's forced or it depends on some other options. . adds DEBUG_KERNEL requirement to some DEBUG_vars; . remove KALLSYMS from S390-specific kernel hacking menu; use KALLSYMS in the EMBEDDED menu instead; . add CRIS and M68KNOMMU symbols for use in lib/Kconfig.debug; . eliminate duplicate "General setup" labels in sparc64 config; . whitespace cleanup; . fixed a few trival typos; Portions of the original patch were also done by Bartlomiej Zolnierkiewicz Signed-off-by: Randy Dunlap Signed-off-by: Sam Ravnborg kbuild: Allow external modules to use host-progs with no warning Only warn if $(host-progs) and $(hostptogs-y) are not equal. This allows external modules to use: hostprogs-y := file ... host-progs := $(hostprogs-y) This is backwards compatible and will not warn. Signed-off-by: Sam Ravnborg [ATM]: Missing static in atm. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller [NET]: Add missing struct net_device forward decl to skbuff.h Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller [RBTREE]: Add rb_last() Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller [NET_SCHED]: Replace eligible list by rbtree in HFSC scheduler. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller [NET_SCHED]: Replace actlist by rbtrees