]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] C99 initializer for driver/media/dvb/ttpci/budget-av.c
Andrew Morton [Thu, 26 Feb 2004 00:28:08 +0000 (16:28 -0800)]
[PATCH] C99 initializer for driver/media/dvb/ttpci/budget-av.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing the GNU-style initializers to C99
initializers.

22 years ago[PATCH] C99 initializers for drivers/media/dvb/frontends/sp887x.c
Andrew Morton [Thu, 26 Feb 2004 00:27:56 +0000 (16:27 -0800)]
[PATCH] C99 initializers for drivers/media/dvb/frontends/sp887x.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing the GNU-style initializers to C99
initializers.

22 years ago[PATCH] C99 initializers for drivers/media/dvb/frontends/alps_tdlb7.c
Andrew Morton [Thu, 26 Feb 2004 00:27:44 +0000 (16:27 -0800)]
[PATCH] C99 initializers for drivers/media/dvb/frontends/alps_tdlb7.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing the GNU-style initializers to C99
initializers.

22 years ago[PATCH] C99 initializer for drivers/media/dv/frontend/stv0229.c
Andrew Morton [Thu, 26 Feb 2004 00:27:33 +0000 (16:27 -0800)]
[PATCH] C99 initializer for drivers/media/dv/frontend/stv0229.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing GNU-style initializers to C99 initializers.

22 years ago[PATCH] C99 initializers for drivers/media/common/saa7146_video.c
Andrew Morton [Thu, 26 Feb 2004 00:27:24 +0000 (16:27 -0800)]
[PATCH] C99 initializers for drivers/media/common/saa7146_video.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing the GNU-style initializers to C99
initializers.

22 years ago[PATCH] C99 initializers for drivers/net/irda/irda-usb.c
Andrew Morton [Thu, 26 Feb 2004 00:27:11 +0000 (16:27 -0800)]
[PATCH] C99 initializers for drivers/net/irda/irda-usb.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing the GNU-style initializers to C99
initializers.

22 years ago[PATCH] C99 initializers for drivers/net/wan/pci200syn.c
Andrew Morton [Thu, 26 Feb 2004 00:27:00 +0000 (16:27 -0800)]
[PATCH] C99 initializers for drivers/net/wan/pci200syn.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing the GNU-style initializers to C99
initializers.

22 years ago[PATCH] C99 initializers for drivers/net/wan/wanxl.c
Andrew Morton [Thu, 26 Feb 2004 00:26:48 +0000 (16:26 -0800)]
[PATCH] C99 initializers for drivers/net/wan/wanxl.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing the GNU-style initializers to C99
initializers.

22 years ago[PATCH] C99 initializers for drivers/net/wireless/airo.c
Andrew Morton [Thu, 26 Feb 2004 00:26:36 +0000 (16:26 -0800)]
[PATCH] C99 initializers for drivers/net/wireless/airo.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing the GNU-style initializers to C99 initializers.

22 years ago[PATCH] C99 initiailzers for drivers/isdn/i4l/isdn_common.c
Andrew Morton [Thu, 26 Feb 2004 00:26:23 +0000 (16:26 -0800)]
[PATCH] C99 initiailzers for drivers/isdn/i4l/isdn_common.c

From: "Art Haas" <ahaas@airmail.net>

Here's a small patch changing a few GNU-style initializers to C99
initiailzers.

22 years ago[PATCH] Kill bogus __KERNEL_SYSCALLS usage
Andrew Morton [Thu, 26 Feb 2004 00:26:12 +0000 (16:26 -0800)]
[PATCH] Kill bogus __KERNEL_SYSCALLS usage

From: Dave Jones <davej@redhat.com>

Now that the syscalls.h stuff is in mainline, that clears the way for this
I guess?

22 years ago[PATCH] C99 patch for fs/afs/inode.c
Andrew Morton [Thu, 26 Feb 2004 00:25:59 +0000 (16:25 -0800)]
[PATCH] C99 patch for fs/afs/inode.c

From: "Art Haas" <ahaas@airmail.net>

This patch converts the file to use C99 initializers.  The file had this
patch applied before, but a subsequent patch reversed the change and
readded the GNU-style initializer.  This patch brings back the C99 one.

22 years ago[PATCH] mtd locking fix
Andrew Morton [Thu, 26 Feb 2004 00:25:48 +0000 (16:25 -0800)]
[PATCH] mtd locking fix

From: David Woodhouse <dwmw2@infradead.org>,
      Dave Jones <davej@redhat.com>

Add a missing unlock.

22 years ago[PATCH] don't use floating point in tdfxfb
Andrew Morton [Thu, 26 Feb 2004 00:25:35 +0000 (16:25 -0800)]
[PATCH] don't use floating point in tdfxfb

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!

22 years ago[PATCH] Remove unused tty CALLOUT defines
Andrew Morton [Thu, 26 Feb 2004 00:25:24 +0000 (16:25 -0800)]
[PATCH] Remove unused tty CALLOUT defines

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.

22 years ago[PATCH] radeon config fix
Andrew Morton [Thu, 26 Feb 2004 00:25:10 +0000 (16:25 -0800)]
[PATCH] radeon config fix

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.

22 years ago[PATCH] early printk documentation fix
Andrew Morton [Thu, 26 Feb 2004 00:24:59 +0000 (16:24 -0800)]
[PATCH] early printk documentation fix

early printk documentation fix

22 years ago[PATCH] request_firmware(): fix attribute removal
Andrew Morton [Thu, 26 Feb 2004 00:24:46 +0000 (16:24 -0800)]
[PATCH] request_firmware(): fix attribute removal

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.

22 years ago[PATCH] request_firmware(): refactor fw_setup_class_device()
Andrew Morton [Thu, 26 Feb 2004 00:24:38 +0000 (16:24 -0800)]
[PATCH] request_firmware(): refactor fw_setup_class_device()

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.

22 years ago[PATCH] request_firmware(): race fixes
Andrew Morton [Thu, 26 Feb 2004 00:24:25 +0000 (16:24 -0800)]
[PATCH] request_firmware():  race fixes

From: Manuel Estrada Sainz <ranty@ranty.pantax.net>

- Remove races related to the handling and release of 'struct firmware'

22 years ago[PATCH] request_firmware(): fix firmware_priv leak
Andrew Morton [Thu, 26 Feb 2004 00:24:14 +0000 (16:24 -0800)]
[PATCH] request_firmware(): fix firmware_priv leak

From: Manuel Estrada Sainz <ranty@ranty.pantax.net>

Based on patch and suggestions from Dmitry Torokhov

- release 'struct firmware_priv' from class_dev->release.

22 years ago[PATCH] request_firmware(): add status bitmap
Andrew Morton [Thu, 26 Feb 2004 00:24:02 +0000 (16:24 -0800)]
[PATCH] request_firmware(): add status bitmap

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.

22 years ago[PATCH] request_firmware(): more misc fixes
Andrew Morton [Thu, 26 Feb 2004 00:23:51 +0000 (16:23 -0800)]
[PATCH] request_firmware(): more misc fixes

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.

22 years ago[PATCH] request_firmware(): misc fixes
Andrew Morton [Thu, 26 Feb 2004 00:23:39 +0000 (16:23 -0800)]
[PATCH] request_firmware(): misc fixes

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.

22 years ago[PATCH] M68k Macintosh driver config
Andrew Morton [Thu, 26 Feb 2004 00:23:28 +0000 (16:23 -0800)]
[PATCH] M68k Macintosh driver config

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

22 years ago[PATCH] n_tty.c cleanup
Andrew Morton [Thu, 26 Feb 2004 00:23:15 +0000 (16:23 -0800)]
[PATCH] n_tty.c cleanup

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.

22 years ago[PATCH] dvb: TTUSB-Budget DVB driver update
Andrew Morton [Thu, 26 Feb 2004 00:23:01 +0000 (16:23 -0800)]
[PATCH] dvb: TTUSB-Budget DVB driver update

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

22 years ago[PATCH] dvb: av7110 DVB driver update
Andrew Morton [Thu, 26 Feb 2004 00:22:49 +0000 (16:22 -0800)]
[PATCH] dvb: av7110 DVB driver update

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()

22 years ago[PATCH] dvb: tda1004x DVB frontend update
Andrew Morton [Thu, 26 Feb 2004 00:22:38 +0000 (16:22 -0800)]
[PATCH] dvb: tda1004x DVB frontend update

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

22 years ago[PATCH] dvb: stv0299 DVB frontend update
Andrew Morton [Thu, 26 Feb 2004 00:22:25 +0000 (16:22 -0800)]
[PATCH] dvb: stv0299 DVB frontend update

From: Michael Hunold <hunold@linuxtv.org>

stv0299: Added seperate settings for SU1278 on Technotrend hardware

22 years ago[PATCH] dvb: Misc frontend updates
Andrew Morton [Thu, 26 Feb 2004 00:22:14 +0000 (16:22 -0800)]
[PATCH] dvb: Misc frontend updates

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

22 years ago[PATCH] dvb: core update
Andrew Morton [Thu, 26 Feb 2004 00:22:01 +0000 (16:22 -0800)]
[PATCH] dvb: core update

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

22 years ago[PATCH] dvb: Minor Skystar2 updates
Andrew Morton [Thu, 26 Feb 2004 00:21:50 +0000 (16:21 -0800)]
[PATCH] dvb: Minor Skystar2 updates

From: Michael Hunold <hunold@linuxtv.org>

skystar2: renamed two functions, deleted spurious spaces.

22 years ago[PATCH] dvb: Update saa7146 driver core
Andrew Morton [Thu, 26 Feb 2004 00:21:38 +0000 (16:21 -0800)]
[PATCH] dvb: Update saa7146 driver core

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)

22 years ago[PATCH] dvb: Update subsystem docs
Andrew Morton [Thu, 26 Feb 2004 00:21:27 +0000 (16:21 -0800)]
[PATCH] dvb: Update subsystem docs

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

22 years ago[PATCH] s390: DCSS block device driver.
Andrew Morton [Thu, 26 Feb 2004 00:21:14 +0000 (16:21 -0800)]
[PATCH] s390: DCSS block device driver.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Add z/VM discontiguos saved segments (DCSS) block device driver.

22 years ago[PATCH] s390 syscalls.h update
Andrew Morton [Thu, 26 Feb 2004 00:21:02 +0000 (16:21 -0800)]
[PATCH] s390 syscalls.h update

From: Arnd Bergmann <arnd@arndb.de>

With the s390 updates in -mm3, you also need this patchlet.

22 years ago[PATCH] s390: zfcp host adapter
Andrew Morton [Thu, 26 Feb 2004 00:20:50 +0000 (16:20 -0800)]
[PATCH] s390: zfcp host adapter

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.

22 years ago[PATCH] s390: channel measurement block interface.
Andrew Morton [Thu, 26 Feb 2004 00:20:38 +0000 (16:20 -0800)]
[PATCH] s390: channel measurement block interface.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Add channel measurement block interface.

22 years ago[PATCH] s390: collaborative memory management.
Andrew Morton [Thu, 26 Feb 2004 00:20:25 +0000 (16:20 -0800)]
[PATCH] s390: collaborative memory management.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Add collaborative memory management interface.

22 years ago[PATCH] s390: z/VM monitor stream.
Andrew Morton [Thu, 26 Feb 2004 00:20:13 +0000 (16:20 -0800)]
[PATCH] s390: z/VM monitor stream.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Add Linux - z/VM monitor stream.

22 years ago[PATCH] s390: virtual timer interface.
Andrew Morton [Thu, 26 Feb 2004 00:20:01 +0000 (16:20 -0800)]
[PATCH] s390: virtual timer interface.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

Add virtual timer interface.

22 years ago[PATCH] s390: DASD device driver.
Andrew Morton [Thu, 26 Feb 2004 00:19:49 +0000 (16:19 -0800)]
[PATCH] s390: DASD device driver.

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.

22 years ago[PATCH] s390: IUCV network driver.
Andrew Morton [Thu, 26 Feb 2004 00:19:37 +0000 (16:19 -0800)]
[PATCH] s390: IUCV network driver.

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.

22 years ago[PATCH] s390: LCS network driver.
Andrew Morton [Thu, 26 Feb 2004 00:19:23 +0000 (16:19 -0800)]
[PATCH] s390: LCS network driver.

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.

22 years ago[PATCH] s390: CTC network driver.
Andrew Morton [Thu, 26 Feb 2004 00:19:10 +0000 (16:19 -0800)]
[PATCH] s390: CTC network driver.

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.

22 years ago[PATCH] s390: compat_timer_settime.
Andrew Morton [Thu, 26 Feb 2004 00:18:59 +0000 (16:18 -0800)]
[PATCH] s390: compat_timer_settime.

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.

22 years ago[PATCH] s390: console driver.
Andrew Morton [Thu, 26 Feb 2004 00:18:46 +0000 (16:18 -0800)]
[PATCH] s390: console driver.

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.

22 years ago[PATCH] s390: common i/o layer.
Andrew Morton [Thu, 26 Feb 2004 00:18:34 +0000 (16:18 -0800)]
[PATCH] s390: common i/o layer.

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.

22 years ago[PATCH] s390: general update.
Andrew Morton [Thu, 26 Feb 2004 00:18:22 +0000 (16:18 -0800)]
[PATCH] s390: general update.

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.

22 years ago[PATCH] fix module reference counting in zoran driver
Andrew Morton [Thu, 26 Feb 2004 00:18:11 +0000 (16:18 -0800)]
[PATCH] fix module reference counting in zoran driver

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..

22 years ago[PATCH] superblock fixes
Andrew Morton [Thu, 26 Feb 2004 00:18:01 +0000 (16:18 -0800)]
[PATCH] superblock fixes

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

22 years ago[PATCH] HFS+ support
Andrew Morton [Thu, 26 Feb 2004 00:17:48 +0000 (16:17 -0800)]
[PATCH] HFS+ support

From: Roman Zippel <zippel@linux-m68k.org>

This driver adds full read/write support for HFS+ and is based on the
readonly driver by Brad Broyer.

Thanks to Ethan Benson <erbenson@alaska.net> for a number of patches to
make the driver more compliant with the spec.

22 years ago[PATCH] HFS rewrite
Andrew Morton [Thu, 26 Feb 2004 00:17:36 +0000 (16:17 -0800)]
[PATCH] HFS rewrite

From: Roman Zippel <zippel@linux-m68k.org>

This is a complete rewrite of the HFS driver, it gets rid of a all the
special conversion options, which belong in user space.  The driver uses now
a btree support very similiar to HFS+, so that both could be merged at some
point.

Thanks to Ethan Benson <erbenson@alaska.net> for a number of patches to make
the driver more compliant with the spec and Christoph Hellwig <hch@lst.de>
for fixing up the documentation.

22 years ago[PATCH] m68k: Amiga Zorro8390 Ethernet new driver model
Andrew Morton [Thu, 26 Feb 2004 00:16:57 +0000 (16:16 -0800)]
[PATCH] m68k: Amiga Zorro8390 Ethernet new driver model

From: Geert Uytterhoeven <geert@linux-m68k.org>

Zorro8390 Ethernet: Convert to the new driver model

22 years ago[PATCH] Support AGP bridge on Nvidia Nforce3 + cleanup
Andi Kleen [Wed, 25 Feb 2004 02:01:35 +0000 (18:01 -0800)]
[PATCH] Support AGP bridge on Nvidia Nforce3 + cleanup

For some unknown reasons Nvidia NForce3 doesn't use the standard Hammer AGP architecture,
but requires set up of some shadow registers. This patch adds that to the K8 AGP driver.

Based on an old 2.4 patch from someone at Nvidia.

Also includes another bug fix for the K8 AGP handler, from Brad House.
We should not assume that there is only one northbridge in a Uniprocessor system.
Always flush all.

Also some minor cleanup.

22 years ago[PATCH] Run 32bit compat ioctl handlers in BKL
Andi Kleen [Wed, 25 Feb 2004 02:01:26 +0000 (18:01 -0800)]
[PATCH] Run 32bit compat ioctl handlers in BKL

Give 32bit emulation ioctl handlers the same locking rules as normal ioctl handlers.
This will avoid surprises in driver code.

Most call sys_ioctl who would take it anyways.

22 years ago[PATCH] New machine check handler for x86-64
Andi Kleen [Wed, 25 Feb 2004 01:58:41 +0000 (17:58 -0800)]
[PATCH] New machine check handler for x86-64

This adds a new completely rewritten machine check handler for x86-64.
The old one never worked on 2.6.

The new handler has many improvements. It closely follows the Intel and AMD
recommendations on MCE handlers now (the old one had many violations). It handles
unrecoverable errors in user space better now - it will only kill the process now
if possible instead of panicing.

This one is CPU independent now - it should work on any CPU that supports the standard
x86 MCA architecture.

This new handler only logs fatal errors that lead to kernel panic to the console.
Non fatal errors are logged race free into a new (non ring) buffer now
and supplied to the user using a new character device.  The old one could
deadlock on console and printk locks. This also separates machine check errors
from real kernel errors better. The new buffer has been also designed to
be easily accessible from external debugging tools: it has a signature
and could be even recovered after reboot. It is not organized as a ring buffer -
this means the first errors are kept unless explicitely cleared.

The new error formats can be parsed using ftp://ftp.suse.com/pub/people/ak/x86-64/mcelog.c
The new character device for it can be created with mknod /dev/mcelog c 10 227

There is a new sysfs interface to configure the machine check handler.
It has a "tolerant" parameter that defines the aggressiveness of the machine check:

0: always panic
1: panic if deadlock possible (e.g. MCE happened in the kernel)
2: try to avoid panic

Default is 2

Despite of having more features the new handler is shorter.

22 years ago[PATCH] x86-64 merge for 2.6.3
Andi Kleen [Wed, 25 Feb 2004 01:56:12 +0000 (17:56 -0800)]
[PATCH] x86-64 merge for 2.6.3

Bring the x86-64 port up to date. Lots of smaller bug fixes that have accumulated.
Also fixes another nasty bug introduced by the IA32e changes that causes BUGs at
boot for some people.

Only changes x86-64 specific files. There are some other changes that I'm sending
separately.

 - Some cleanup in NMI watchdog code
 - Fix HyperThreading CPU setup race (Suresh B. Siddha)
 - Update defconfig
 - Add a comment on why iommu_fullflush is disabled.
 - Export sys_ioctl again
 - Fix build with IA32_EMULATION=y and SYSVIPC=n
 - Remove noisy boot printks in the mptable scan.
 - Implement automatic NMI watchdog switching for real now
 - Remove redundant 32bit ioctl handlers for autofs
 - Remove CONFIG ifdefs around rtc 32bit ioctl handlers
 - Remove useless nfsctl ifdef in syscall.c (Al Viro)
 - Increase padding for prefetchw alternative
 - Check for NX bit early before setting up memory maps (Suresh B. Siddha)
 - Change Intel IA32e config description and fix help texts (Jun Nakajima)
 - Fix microcode driver build really now (Dave Jones)
 - Add nohpet option to disable HPET timer
 - Fix double semicolon in aperture.c
 - Add cmpxchg16b cpuid entry
 - Fix return value of read_pci_config_16 (Paul Menage)
 - Fix __KERNEL_COMPAT32_CS (Zachary Amsden)
 - Disable the infamous 30 minutes check in CMOS time setting
 - Update URLs in Kconfig (Petri T. Koistinen)
 - Fix ACPI interrupt source parsing for Nforce3 (Maciej W. Rozycki)
 - Fix 32bit ipc version parsing.
 - Run local APIC NMI watchdog only once a second (or less often on idle boxes)
 - Merge ACPI APIC SCI functions from i386
 - Add i8254 timer suspend code from i386
 - Merge with 2.6.2-rc3 + minor changes from i386
 - Fix empty_zero_page declaration (Greg Johnson)
 - Readd sysctls for exception/page fault trace and vsyscall32
 - Fix WCHAN
 - Fix STACK_TOP usage. Stack for 64bit processes should be at the
   top of memory now again. Also set it correctly for LINUX32_3GB.
 - Add warning fixes for gcc 3.4 and -Wdeclaration-after-statement

22 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Wed, 25 Feb 2004 00:46:37 +0000 (16:46 -0800)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoIEEE1394(r1163): Fixup nodemgr_{suspend,resume}_ne to use the ud class list.
Ben Collins [Wed, 25 Feb 2004 04:43:38 +0000 (23:43 -0500)]
IEEE1394(r1163): Fixup nodemgr_{suspend,resume}_ne to use the ud class list.

22 years agoIEEE1394(r1162): Check return value for errors from hpsb_register_protocol.
Ben Collins [Wed, 25 Feb 2004 04:38:03 +0000 (23:38 -0500)]
IEEE1394(r1162): Check return value for errors from hpsb_register_protocol.

22 years ago[PATCH] asmlinkage fixes
Andrew Morton [Wed, 25 Feb 2004 00:12:37 +0000 (16:12 -0800)]
[PATCH] asmlinkage fixes

From: Andreas Gruenbacher <agruen@suse.de>,
      and me.

Latest gcc cvs is able to detect mismatches between functions which are
tagged asmlinkage and declarations which are missing asmlinkage.  Or vice
versa.

Fix up the fallout from an x86 allyesconfig build.

22 years ago[PATCH] add syscalls.h
Andrew Morton [Wed, 25 Feb 2004 00:12:24 +0000 (16:12 -0800)]
[PATCH] add syscalls.h

From: "Randy.Dunlap" <rddunlap@osdl.org>

Add syscalls.h, which contains prototypes for the kernel's system calls.
Replace open-coded declarations all over the place.  This patch found a
couple of prior bugs.  It appears to be more important with -mregparm=3 as we
discover more asmlinkage mismatches.

Some syscalls have arch-dependent arguments, so their prototypes are in the
arch-specific unistd.h.  Maybe it should have been asm/syscalls.h, but there
were already arch-specific syscall prototypes in asm/unistd.h...

Tested on x86, ia64, x86_64, ppc64, s390 and sparc64.  May cause
trivial-to-fix build breakage on other architectures.

22 years agoMerge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.4
Linus Torvalds [Wed, 25 Feb 2004 00:06:02 +0000 (16:06 -0800)]
Merge bk://linux-acpi.bkbits.net/linux-acpi-release-2.6.4
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 25 Feb 2004 00:05:13 +0000 (16:05 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Tue, 24 Feb 2004 22:43:10 +0000 (17:43 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years ago[PATCH] drivers/acpi/sleep/proc.c warnings
Andrew Morton [Tue, 24 Feb 2004 21:13:08 +0000 (16:13 -0500)]
[PATCH] drivers/acpi/sleep/proc.c warnings

drivers/acpi/sleep/proc.c:359: warning: initialization from incompatible pointer type
drivers/acpi/sleep/proc.c:367: warning: initialization from incompatible pointer type

22 years ago[PATCH] acpi/utils.c warning fix
Andrew Morton [Tue, 24 Feb 2004 21:12:53 +0000 (16:12 -0500)]
[PATCH] acpi/utils.c warning fix

drivers/acpi/utils.c: In function `acpi_evaluate_reference':
drivers/acpi/utils.c:353: warning: unsigned int format, different type arg (arg 5)

22 years ago[IGMP/MLD]: Check for numsrc overflow, plus temp buffer tweaks.
David Stevens [Tue, 24 Feb 2004 16:24:37 +0000 (08:24 -0800)]
[IGMP/MLD]: Check for numsrc overflow, plus temp buffer tweaks.

22 years ago[ATM]: use clip_tbl instead of clp_tbl_hook (from Francois Romieu <romieu@fr.zoreil...
Chas Williams [Tue, 24 Feb 2004 16:21:07 +0000 (08:21 -0800)]
[ATM]: use clip_tbl instead of clp_tbl_hook (from Francois Romieu <romieu@fr.zoreil.com>)

22 years ago[ATM]: horizon: make reset function not __init (from Randy Dunlap <rddunlap@osdl...
Chas Williams [Tue, 24 Feb 2004 16:20:28 +0000 (08:20 -0800)]
[ATM]: horizon: make reset function not __init (from Randy Dunlap <rddunlap@osdl.org>)

22 years ago[IPV6]: UDPv6 needs recvmsg csum error path fix too, thanks Olaf.
David S. Miller [Tue, 24 Feb 2004 16:17:59 +0000 (08:17 -0800)]
[IPV6]: UDPv6 needs recvmsg csum error path fix too, thanks Olaf.

22 years ago[XFRM_USER]: In xfrm_send_{acquire,policy_notify}(), use {RTA,NLMSG}_SPACE().
Michal Ludvig [Tue, 24 Feb 2004 16:15:18 +0000 (08:15 -0800)]
[XFRM_USER]: In xfrm_send_{acquire,policy_notify}(), use {RTA,NLMSG}_SPACE().

22 years ago[XFRM_USER]: Fix SKB sizing in xfrm_send_policy_notify().
Michal Ludvig [Tue, 24 Feb 2004 16:13:51 +0000 (08:13 -0800)]
[XFRM_USER]: Fix SKB sizing in xfrm_send_policy_notify().

22 years ago[WANROUTER]: Kill MODULE ifdefs.
Alexander Viro [Tue, 24 Feb 2004 16:12:28 +0000 (08:12 -0800)]
[WANROUTER]: Kill MODULE ifdefs.

22 years ago[NETFILTER]: Fix amanda helpers, forward port from 2.4.x version.
Patrick McHardy [Tue, 24 Feb 2004 16:11:46 +0000 (08:11 -0800)]
[NETFILTER]: Fix amanda helpers, forward port from 2.4.x version.

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Tue, 24 Feb 2004 15:58:46 +0000 (10:58 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years agoMerge bk://bk.phunnypharm.org/sparc-2.6
David S. Miller [Tue, 24 Feb 2004 15:29:30 +0000 (07:29 -0800)]
Merge bk://bk.phunnypharm.org/sparc-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoSPARC64: Use hard_smp_processor_id() for init_irqwork_curcpu()
Ben Collins [Tue, 24 Feb 2004 17:05:20 +0000 (12:05 -0500)]
SPARC64: Use hard_smp_processor_id() for init_irqwork_curcpu()

22 years agoSPARC64: Fix debug spinlocks to not trash random memory with > 4 cpus's (or sparse...
Ben Collins [Tue, 24 Feb 2004 14:28:21 +0000 (09:28 -0500)]
SPARC64: Fix debug spinlocks to not trash random memory with > 4 cpus's (or sparse cpu's).

22 years agoMerge intel.com:/home/lenb/bk/linux-2.6.4
Len Brown [Tue, 24 Feb 2004 12:14:48 +0000 (07:14 -0500)]
Merge intel.com:/home/lenb/bk/linux-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.4

22 years ago[PATCH] swsusp/s3: Assembly interactions need asmlinkage
Andrew Morton [Tue, 24 Feb 2004 12:05:09 +0000 (04:05 -0800)]
[PATCH] swsusp/s3: Assembly interactions need asmlinkage

From: Pavel Machek <pavel@suse.cz>

swsusp/s3 assembly parts, and parts called from assembly are not properly
marked asmlinkage; that leads to double fault on resume when someone
compiles kernel with regparm.  Thanks go to Stefan Seyfried for discovering
this.

22 years ago[PATCH] Change ENOTSUPP to EOPNOTSUPP
Andrew Morton [Tue, 24 Feb 2004 12:04:58 +0000 (04:04 -0800)]
[PATCH] Change ENOTSUPP to EOPNOTSUPP

From: James Morris <jmorris@redhat.com>

ENOTSUPP is the wrong value, and should not be returned to userspace.

22 years ago[PATCH] Eicon isdn driver compile __devexit compile fix
Andrew Morton [Tue, 24 Feb 2004 12:04:47 +0000 (04:04 -0800)]
[PATCH] Eicon isdn driver compile __devexit compile fix

From: Armin <armin@melware.de>

Pointers to __devexit functions must be wrapped with the __devexit_p()
macro.

22 years ago[PATCH] fix the build with CONFIG_UNIX98_PTYS=n
Andrew Morton [Tue, 24 Feb 2004 12:04:36 +0000 (04:04 -0800)]
[PATCH] fix the build with CONFIG_UNIX98_PTYS=n

From: Ian Wienand <ianw@gelato.unsw.edu.au>

- Fix inline function declarations

- Use #ifdef for CONFIG_*, not #if

22 years ago[PATCH] jffs2: Don't jump between contexts
Andrew Morton [Tue, 24 Feb 2004 12:04:26 +0000 (04:04 -0800)]
[PATCH] jffs2: Don't jump between contexts

From: David Woodhouse <dwmw2@infradead.org>

Don't jump between contexts.

(don't write comprehensible changelogs, either).

22 years ago[PATCH] pty changes require procps 3.2
Andrew Morton [Tue, 24 Feb 2004 12:04:15 +0000 (04:04 -0800)]
[PATCH] pty changes require procps 3.2

From: Albert Cahalan <albert@users.sourceforge.net>

Now that /dev/pts is using the 12:20 dev_t, a new procps is required.

22 years ago[PATCH] clarify MSI requirements in Kconfig
Andrew Morton [Tue, 24 Feb 2004 12:04:05 +0000 (04:04 -0800)]
[PATCH] clarify MSI requirements in Kconfig

From: Martine Silbermann <Martine.Silbermann@hp.com>

Having spent a non trivial amount of time trying to pull in the code to
enable MSI, I would suggest that a clear indication in Kconfig that MSI
requires CONFIG_PCI_USE_VECTOR would be very helpful.  Also since the MSI
code was integrated into 2.6.1 I've updated the comment that called for
installing the MSI patch.

22 years ago[PATCH] remove unneeded check from sys_sysctl()
Andrew Morton [Tue, 24 Feb 2004 12:03:54 +0000 (04:03 -0800)]
[PATCH] remove unneeded check from sys_sysctl()

That check I just added to sys_sysctl() is not needed: do_sysctl() checks as
well.

22 years ago[PATCH] cosmetic printk fix
Andrew Morton [Tue, 24 Feb 2004 12:03:44 +0000 (04:03 -0800)]
[PATCH] cosmetic printk fix

From: Arjan van de Ven <arjanv@redhat.com>

One of my machines prints the following in dmesg during boot;

CPU: Trace cache: 4K uops<6>CPU: L2 cache: 256K

cause is a missing \n being printed; fix below.

22 years ago[PATCH] x86: remove THREAD_SIZE assumption cleanups
Andrew Morton [Tue, 24 Feb 2004 12:03:32 +0000 (04:03 -0800)]
[PATCH] x86: remove THREAD_SIZE assumption cleanups

From: Arjan van de Ven <arjanv@redhat.com>

some more hardcoded THREAD_SIZE cleanups.

22 years ago[PATCH] add the Intel Alder IO-APIC PCI device to quirks
Andrew Morton [Tue, 24 Feb 2004 12:03:21 +0000 (04:03 -0800)]
[PATCH] add the Intel Alder IO-APIC PCI device to quirks

From: James Bottomley <James.Bottomley@SteelEye.com>

The alder has an intel Extended Express System Support Controller which
presents apparently spurious BARs.  When the pci resource code tries to
reassign these BARs, the second IO-APIC gets disabled (with disastrous
consequences).

The first BAR is the actual IO-APIC, the remaining five bars seem to be
spurious resources, so we forcibly insert the first one into the resource
tree and clear all the others.

22 years ago[PATCH] Make insert_resource work for alder IOAPIC resources
Andrew Morton [Tue, 24 Feb 2004 12:03:10 +0000 (04:03 -0800)]
[PATCH] Make insert_resource work for alder IOAPIC resources

From: James Bottomley <James.Bottomley@SteelEye.com>

This is a necessary precursor patch for getting the Intel Alder motherboard
working (it has a PCI device corresponding to the IO-APIC which has to be
forcibly inserted into the machine's reserved memory region).

Eric Biederman was going to come up with a more comprehensive fix, but in
the meantime, this is the minimum necessary to get insert_resource to work
when the covering region is larger than the resource being inserted.

22 years ago[PATCH] Report NGROUPS_MAX via a sysctl (read-only)
Andrew Morton [Tue, 24 Feb 2004 12:03:00 +0000 (04:03 -0800)]
[PATCH] Report NGROUPS_MAX via a sysctl (read-only)

From: Tim Hockin <thockin@sun.com>

Attached is a simple patch to expose NGROUPS_MAX via sysctl.  Nothing
fancy, just a read-only variable.  glibc can use this to sysconf() the
value properly, so apps will stop relying on NGROUPS_MAX as a real
constant.

22 years ago[PATCH] Fix make xconfig on /lib64 systems
Andrew Morton [Tue, 24 Feb 2004 12:02:48 +0000 (04:02 -0800)]
[PATCH] Fix make xconfig on /lib64 systems

From: Andi Kleen <ak@suse.de>,
     R. J. Wysocki

Without this make xconfig doesn't find the Qt library on systems using
/lib64 (like x86-64)

22 years ago[PATCH] ppc64: archhelp fix
Andrew Morton [Tue, 24 Feb 2004 12:02:38 +0000 (04:02 -0800)]
[PATCH] ppc64: archhelp fix

From: Jeremy Kerr <jk@ozlabs.org>

This patch is missing a single quote; here's a fix.

22 years ago[PATCH] Clean up IRQ mapping code
Paul Mackerras [Tue, 24 Feb 2004 11:58:56 +0000 (03:58 -0800)]
[PATCH] Clean up IRQ mapping code

On the larger ppc64 machines we remap the interrupt numbers used by
the hardware/firmware to virtual IRQ numbers < NR_IRQS.  Up until now
we have used an array for the "real" (hardware) -> virtual IRQ number
mapping, but with new machines coming out that will have 24-bit
hardware IRQ numbers, this will break.  However, in fact it is only
the XICS interrupt controller which cares about this mapping.  This
patch moves that side of the mapping (real -> virtual) into the XICS
code and makes it use a radix tree.

On iSeries we have a similar issue, where the "real" IRQ numbers that
we need are in fact an encoding of the bus/device/function address of
the device.  This patch fixes iSeries to use the virt->real IRQ
mapping, allowing us to support larger iSeries machines.  This patch
also gets rid of the temporary hack that Stephen Rothwell submitted.

On machines with OpenPIC (including the G5) the mapping is explicitly
1-1, and that hasn't changed.  For other machines this patch cleans up
and simplifies the code that sets up the virtual->real mapping.

I have tested this code and verified that G5, pSeries and iSeries boot
and run correctly with this patch.

22 years agoMerge bk://gkernel.bkbits.net/misc-2.5
Linus Torvalds [Tue, 24 Feb 2004 11:57:05 +0000 (03:57 -0800)]
Merge bk://gkernel.bkbits.net/misc-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoImprovements to the bk-make-sum BitKeeper summary/submission script:
Jeff Garzik [Tue, 24 Feb 2004 16:18:44 +0000 (11:18 -0500)]
Improvements to the bk-make-sum BitKeeper summary/submission script:
* use bk:// url to reduce confusion
* remove "Linus, " from introductory output text
* don't diffstat each individual cset; do the entire patch all in
  one go.  Makes the script a -lot- faster when summarizing
  a large number of changesets.