1. 26 Feb, 2004 40 commits
    • Andrew Morton's avatar
      [PATCH] mtd locking fix · 3e224250
      Andrew Morton authored
      From: David Woodhouse <dwmw2@infradead.org>,
            Dave Jones <davej@redhat.com>
      
      Add a missing unlock.
      3e224250
    • Andrew Morton's avatar
      [PATCH] don't use floating point in tdfxfb · 93ce5396
      Andrew Morton authored
      From: Jakub Bogusz <qboosh@pld-linux.org>
      
      This patch removes using of floating point operations in tdfxfb - they
      are really not needed here (these consts are used only in substitutions
      and comparisons with integers) are cause unresolved symbols on some
      archs - e.g. on alpha:
      
      *** Warning: "__ltdf2" [drivers/video/tdfxfb.ko] undefined!
      *** Warning: "__adddf3" [drivers/video/tdfxfb.ko] undefined!
      *** Warning: "__floatsidf" [drivers/video/tdfxfb.ko] undefined!
      93ce5396
    • Andrew Morton's avatar
      [PATCH] Remove unused tty CALLOUT defines · f69efc9b
      Andrew Morton authored
      From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
      
      The callout code has been removed long ago from 2.6.  I believe it is safe
      to remove some of its unused defines.
      f69efc9b
    • Andrew Morton's avatar
      [PATCH] radeon config fix · b1c059c1
      Andrew Morton authored
      From: Herbert Xu <herbert@gondor.apana.org.au>
      
      RADEON is selecting I2C_ALGOBIT but as kconfig currently does not propagate
      selects up the dependency chain (that is according to Roman), this can
      leave I2C as m while I2C_ALGOBIT is y.
      b1c059c1
    • Andrew Morton's avatar
      [PATCH] early printk documentation fix · a79e9d88
      Andrew Morton authored
      early printk documentation fix
      a79e9d88
    • Andrew Morton's avatar
      [PATCH] request_firmware(): fix attribute removal · 8ba2e802
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@ranty.pantax.net>
      
      Based on patch and suggestions from Dmitry Torokhov
      
      - Don't remove attributes, they should be gone automatically.
      8ba2e802
    • Andrew Morton's avatar
      [PATCH] request_firmware(): refactor fw_setup_class_device() · c88ec5ad
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@ranty.pantax.net>
      
      Based on patch and suggestions from Dmitry Torokhov
      
      - Refactor fw_setup_class_device for readability and maintainability.
      c88ec5ad
    • Andrew Morton's avatar
      [PATCH] request_firmware(): race fixes · 2994d10a
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@ranty.pantax.net>
      
      - Remove races related to the handling and release of 'struct firmware'
      2994d10a
    • Andrew Morton's avatar
      [PATCH] request_firmware(): fix firmware_priv leak · b4f939a2
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@ranty.pantax.net>
      
      Based on patch and suggestions from Dmitry Torokhov
      
      - release 'struct firmware_priv' from class_dev->release.
      b4f939a2
    • Andrew Morton's avatar
      [PATCH] request_firmware(): add status bitmap · fbe910e4
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@ranty.pantax.net>
      
      Based on patch and suggestions from Dmitry Torokhov
      
      - Make an status bitmap instead of using independent boolean variables.  It
        will make things nicer later when new issues need to be tracked.
      fbe910e4
    • Andrew Morton's avatar
      [PATCH] request_firmware(): more misc fixes · b0969714
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@ranty.pantax.net>
      
      Based on patch and suggestions from Dmitry Torokhov
      
      - Take advantage of strlcpy.
      
      - Extra error logging.
      
      - Use struct coping instead of memcpy.
      
      - Put all aborting code in a single place, and fully abort if
        fw_realloc_buffer fails.
      
      - Abort on unexpected 'loading' values.
      b0969714
    • Andrew Morton's avatar
      [PATCH] request_firmware(): misc fixes · 6a2ea2b8
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@ranty.pantax.net>
      
      Based on patch and suggestions from Dmitry Torokhov
      
      - use vfree to free vmalloc memory.
      
      - Make sure fw_setup_class_device sets *class_dev_p to NULL in all case of
        error.
      
      - Fix error handling in firmware_class_init.
      6a2ea2b8
    • Andrew Morton's avatar
      [PATCH] M68k Macintosh driver config · 9bf6f993
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Update Macintosh driver config logic:
        - Move remaining Mac/m68k-specific logic from arch/m68k/Kconfig to
          drivers/macintosh/Kconfig
        - Fixup Mac/m68k conflicts
      9bf6f993
    • Andrew Morton's avatar
      [PATCH] n_tty.c cleanup · 514b677c
      Andrew Morton authored
      From: James Simmons <jsimmons@infradead.org>
      
      Remove kd.h.  We don't need this header.  Use the inline functions to set
      the current process state.
      514b677c
    • Andrew Morton's avatar
      [PATCH] dvb: TTUSB-Budget DVB driver update · 8834e5d0
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      - dvb-ttusb-budget: Fixed i2c code to detect nearly all errors
      
      - dvb-ttusb-budget: Added "V 2.1" to prevent warning message on driver load
      
      - dvb-ttusb-budget: Some printks turned into dprintks
      
      - dvb-ttusb-budget: Removed __initdata.  It is now possible in kernel 2.6
        to compile the DVB drivers into a monolithic kernel.
      
      - dvb-ttusb-budget: Fix for failing urb submission under 2.6 kernels
      8834e5d0
    • Andrew Morton's avatar
      [PATCH] dvb: av7110 DVB driver update · f356aa53
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      - av7110: check result of saa7146_wait_for_debi_done() in av7110_bootarm()
        and bail out early if booting the ARM failed
      
      - av7110: correct voffset for analog standard
      
      - av7110: replace usage of sleep_on_interruptible_timeout() with
        wait_event_interruptible_timeout()
      f356aa53
    • Andrew Morton's avatar
      [PATCH] dvb: tda1004x DVB frontend update · b4da6ccc
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      - tda1004x: standardised where the firmware should be.
      
      - tda1004x: need to re-invert inversion for tda10046 in get_fe()
      
      - tda1004x: reset chip before uploading firmware
      
      - tda1004x: split firmware upload off from frontend init.  the initial tune
        attempt was taking too long.  provide explanation of tuner frequency
        calculations
      
      - tda1004x: Fixed signal strength reading for tda10046h
      b4da6ccc
    • Andrew Morton's avatar
      [PATCH] dvb: stv0299 DVB frontend update · 9820b419
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      stv0299: Added seperate settings for SU1278 on Technotrend hardware
      9820b419
    • Andrew Morton's avatar
      [PATCH] dvb: Misc frontend updates · 1d9c0c4d
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      - alps_tdlb7 + alps_tdmb7: Changed to use full i2c reads in probing instead
        of i2c pings to be compatable with ttusb
      
      - nxt6000: bugfix by Robert Cook: FE_RESET did the same as FE_INIT, thus
        invalidating current channel settings on FE_RESET
      
      - sp887x: fixed typo
      
      - Makefile: add nxt6000 frontend driver to Makefiles
      
      - Kconfig: DVB_TDA1004X and DVB_NXT6000 do not depend on !STANDALONE (i.e.
        no compile-time firmware image necessary)
      
      - ves1820: turn off ves1820 test output pins
      
      - ves1820: verbose-print AFC only if carrier has been recovered
      
      - ves1820: change AFC handling as suggested by Robert Schlabbach, use bit 1
        of the SYNC register for FE_HAS_SIGNAL
      1d9c0c4d
    • Andrew Morton's avatar
      [PATCH] dvb: core update · d7812a54
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      - dvb-core: replace usage of sleep_on_...() with
        wait_event_interruptible_timeout()
      
      - dvb-core: fix dvb_ringbuffer_read/write() buffer pointer bug
      
      - video: added VIDEO_EVENT_FRAME_RATE_CHANGED and VIDEO_GET_FRAME_RATE
        ioctl
      d7812a54
    • Andrew Morton's avatar
      [PATCH] dvb: Minor Skystar2 updates · 81260e6d
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      skystar2: renamed two functions, deleted spurious spaces.
      81260e6d
    • Andrew Morton's avatar
      [PATCH] dvb: Update saa7146 driver core · 9d01ccfc
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      - saa7146: fix timeout bug on AMD64 in saa7146_wait_for_debi_done()
      
      - saa7146: release resources for video overlay properly, don't
        (incorrectly) rely on VIDIOC_OVERLAY(0)
      9d01ccfc
    • Andrew Morton's avatar
      [PATCH] dvb: Update subsystem docs · bf26bd16
      Andrew Morton authored
      From: Michael Hunold <hunold@linuxtv.org>
      
      - dvb docs: added a nice howto on how to get Avermedia DVB-T running - nice
        tutorial for DVB newbie, too
      
      - dvb docs: fix various incorrect informations in cards.txt, faq.txt,
        firmware.txt
      bf26bd16
    • Andrew Morton's avatar
      [PATCH] s390: DCSS block device driver. · bd6d323f
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add z/VM discontiguos saved segments (DCSS) block device driver.
      bd6d323f
    • Andrew Morton's avatar
      [PATCH] s390 syscalls.h update · 9d989b85
      Andrew Morton authored
      From: Arnd Bergmann <arnd@arndb.de>
      
      With the s390 updates in -mm3, you also need this patchlet.
      9d989b85
    • Andrew Morton's avatar
      [PATCH] s390: zfcp host adapter · b9fbc6c2
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add new features to the zfcp host adapater driver:
        - Add support for FCP access control.
        - Error recovery enhancements.
      b9fbc6c2
    • Andrew Morton's avatar
      [PATCH] s390: channel measurement block interface. · fb1a1633
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add channel measurement block interface.
      fb1a1633
    • Andrew Morton's avatar
      [PATCH] s390: collaborative memory management. · 7131c7a6
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add collaborative memory management interface.
      7131c7a6
    • Andrew Morton's avatar
      [PATCH] s390: z/VM monitor stream. · 457ed08f
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add Linux - z/VM monitor stream.
      457ed08f
    • Andrew Morton's avatar
      [PATCH] s390: virtual timer interface. · 1afe0375
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add virtual timer interface.
      1afe0375
    • Andrew Morton's avatar
      [PATCH] s390: DASD device driver. · 2e05bc63
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      DASD driver fixes:
       - Fix generic_set_online if diag discipline is not availab.e
       - Fix reserve on already reserved device.
       - Use default-erp for unit check without sence information.
       - Revert dasd naming scheme change from dasd<xyz> to dasd_<busid>_. This
         breaks too many user space packages.
       - Extend dasd naming scheme to four letters dasd<aaaa>-dasd<zzzz>.
       - Fix formatting of dasds.
      2e05bc63
    • Andrew Morton's avatar
      [PATCH] s390: IUCV network driver. · 6cab1ea3
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      IUCV interface fixes:
       - VM workaround: redirect setmask call to cpu 0.
       - Disable message interrupts during connection setup.
       - Honor incoming connection severed during connection setup.
       - Add connect retry when remote severed connection.
       - Add symlinks between net device and iucv device.
       - More fixes for proper net device allocation/deallocation.
      6cab1ea3
    • Andrew Morton's avatar
      [PATCH] s390: LCS network driver. · dd0d869f
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      LCS network driver fixes:
       - Fix ccwgroup behaviour, remove should offline cards still online.
       - Better not write to the debug feature before it is registers.
       - Don't free card structure on offline but on remove.
       - Check for deferred condition code 1 in lcs_irq for halt requests.
       - Call free_netdev only if there is a net device.
      dd0d869f
    • Andrew Morton's avatar
      [PATCH] s390: CTC network driver. · 324f204c
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      CTC network driver fixes:
       - Fixed some debug messages (did not compile with DEBUG defined).
       - Added sanity checks in ctc_proto_store() & ctc_shutdown_device().
       - Added some bugfixes from 2.4.
       - Tweaked logging.
       - Removed syntax error in pr_debug call.
       - Changed do_IO (not existing any more) to ccw_device in messages.
       - Corrected format failure in pr_debug of channel_get.
       - Add symlinks between net device and ctc device.
       - Add tiocmset/tiocmget API change patch from Russell King
       - Fix locking problem in ctc_tty_cleanup.
      324f204c
    • Andrew Morton's avatar
      [PATCH] s390: compat_timer_settime. · 82cc45b0
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      sys_timer_settime returns EINVAL if *new is NULL, compat_timer_settime
      returns EFAULT.  Add a check to compat_timer_settime to return EINVAL
      if *new is NULL.
      82cc45b0
    • Andrew Morton's avatar
      [PATCH] s390: console driver. · 4e3acbea
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Console driver fixes:
       - Fix ^n at end-of-line check in 3215 and sclp driver.
       - Fix copy_from_user/might_sleep/spinlock problem in sclp.
      4e3acbea
    • Andrew Morton's avatar
      [PATCH] s390: common i/o layer. · be457375
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Common i/o layer fixes:
       - Add atomic onoff variable to ccw devices and ccw-group devices to
         avoid races during online/offline.
       - Fix pr_debug calls.
       - A lot of path fixes:
         + Set device to disconnected state after no path event.
         + Fix chpid vary on/off for single path devices.
         + Make logical vary on/off consistent with physical vary on/off.
         + Don't update subchannel schib if the device is gone (dnv not set).
         + Add code to recover lost chpids after machine checks.
         + Avoid processing link incidents, resource accessability events and
           chpid machine checks for logically offline chpids.
         + Recover disconnected devices after chsc machine checks.
         + Delay de-registering of no path devices to avoid deadlocks.
         + Don't redo ssd for known subchannels - the info is static.
         + Introduce a second, "slow" machine check handler thread for new devices.
           The "fast" machine check handler only recovers disconnected devices.
       - Deregister subchannel rather than ccw device on not oper events.
       - Fix calling sequence of notify function vs. path verification.
       - Reset timeout for disconnected devices.
       - Fix problem with debug feature and %s arguments.
       - Fix __get_subchannel_by_stsch to deal with "zombie" subchannels.
       - Avoid "zombie" subchannels if device is not operational during sense id.
       - Handle call to the io_subchannel remove function if the ccw device
         is not registered yet.
       - Add availability attribute for ccw devices: "good", "no device",
         "no path", "boxed".
       - Export ccw_device_work for qdio as module.
       - Retry sense id for tape devices which present intervention required.
       - Don't check the activity control to decide if the device driver interrupt
         handler needs to be called but use the bits in status control.
       - Fix race in ccw_device_stlck.
       - Accumulate deferred condition code.
       - Fix setting_up_sema locking.
       - Call qdio_shutdown instead of qdio_cleanup on failed establish.
       - Fix problem when 64 FCP adapters are initialized simultaneously.
       - Fix problem with >64 adapter interrupt capable devices.
       - Reduce stack usage in qdio.
      be457375
    • Andrew Morton's avatar
      [PATCH] s390: general update. · b5f520b7
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Core s/390 changes:
       - Add -mbackchain to CFLAGS to prepare for gcc 3.4 with comes with a
         default setting of -mno-backchain
       - Add implementation of strcpy.
       - Pad bytes after string end in strncpy.
       - Fix __sem_update_count inline assembly for gcc 3.4.
       - Export smp_ptlb_all for tlb flushing in module code.
       - Fix sched_clock.
       - Remove the last KERNEL_VERSION #if in s390 code.
       - Add dummy implementation for missing dma_{alloc,free}_coherent.
       - Avoid cast of lvalue in idal_buffer_{from,to}_user.
       - Remove _exit definition from unistd.h.
      b5f520b7
    • Andrew Morton's avatar
      [PATCH] fix module reference counting in zoran driver · cb57118e
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      Take a reference before calling into the module and release it after we're
      done.  Also remove the useless (and wrong) refcounting in videocodec -
      symbols from this module are used by other modules if we call into those
      functions so it can't be unloaded anyway.
      
      We really need to add a debug check to tip all those
      try_module_get(THIS_MODULE) callers..
      cb57118e
    • Andrew Morton's avatar
      [PATCH] superblock fixes · e32c0212
      Andrew Morton authored
      From: <fabian.frederick@gmx.fr>
      
      - Avoid sync_fs with clean fs & wait mode = 0
      
      - mark_files_ro overrides pending deletes (doc)
      
      - some trivial doc fixes
      e32c0212