Summary of changes from v2.6.2 to v2.6.3-rc1
============================================
<davem@nuts.ninka.net>
[TCP]: Put Alexey's -EAGAIN change back in with Linus's fix on top.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ICE1712 driver
Moved spdif.setup_rate to snd_ice1712_set_pro_rate() function
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver
use the standard control names for RCA and optical spdif on audigy.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
fixed snd_ac97_set_rate() to accept surround and LFE sample rates, too.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver,AC97 Codec Core
- fixed typos in the last change to snd_ac97_set_rate().
the correct flag to check is ac97->scaps.
- removed dxs_fixed=1 on VIA8233A (for SPDIF).
- added quirks for ASUS A7V8-X and MSI KT4V.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
fixes by James Courtier-Dutton <James@superbug.demon.co.uk>:
- fixed the wrong detection of SPDIF output. SPDIF-out is enabled
on all chip revisions.
- fixed the ac97 codec name shown in proc file, using ac97->id.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PCM Midlevel
Simplified snd_pcm_update_hw_ptr*() functions
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- fixed the misuse of long pointer for getting the int value in
boot parameter.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,VIA82xx driver
- added dxs_support=4 option. no VRA is used for DXS channels in this case.
- fixed the quirk for ASUS A7V8-X.
- added the quirk for Gigabyte mobo.
- removed the error message in codec_valid().
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Timer Midlevel,ALSA sequencer
Clemens Ladisch <clemens@ladisch.de>:
- fixed timer resolution calculations
Some functions assumed that timer->hw.resolution is in Hz, while it's
actually in ns/tick.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core,Timer Midlevel,ALSA sequencer,PPC DACA driver
PPC Tumbler driver
- check rootfs before calling request_module() to avoid annoying
error messages at the boot time.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- clean up the rate lock routine.
- added another gigabyte mobo entry.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
Clemens Ladisch <clemens@ladisch.de>:
- fix Edirol comment
- use special macros for Yamaha devices
- add support for Yamaha MOTIF-R, CVP-204, CVP-206, CVP-208, CVP-210,
PSR-1100, PSR-2100, PSR-K1, EZ-250i, MOTIF ES 6, MOTIF ES 7,
MOTIF ES 8, CS1D, DSP1D, ACU16-C, NHB32-C, DM1000, 01V96
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,PCMCIA Kconfig
- added CONFIG_ISA restriction to vxpocket and vxp440 drivers.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Memalloc module
- fixed the compilation without PCI support.
added ifdef CONFIG_PCI around preallocate_cards().
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
Clemens Ladisch <clemens@ladisch.de>:
- add support for M-Audio OmniStudio MIDI
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
removed a wrong entry for gigabyte mobos.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Sound Scape driver
Chris Rankin <rankincj@yahoo.com> - use #define rather than value for the microcode size
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
OPL3,Raw OPL FM,ES1968 driver
removed obsolete __SND_OSS_COMPAT__.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver
Peter Zubaj <pzad@pobox.sk>:
- redesigned the default DSP routing of audigy1/2 boards.
the normal PCM output is sent through 'Stereo Mix', while
the independent pcm streams can be attenuated by 'PCM Front',
'PCM Rear', and 'PCM Center/LFE' volumes.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Intel8x0 driver
Added mpu_port initialization from the kernel command line
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Generic drivers,MPU401 UART,ALSA Core,ALS100 driver,AZT2320 driver
CMI8330 driver,DT019x driver,ES18xx driver,OPL3SA2 driver
Sound Galaxy driver,Sound Scape driver,AD1816A driver,AD1848 driver
CS4231 driver,CS4236+ driver,PC98(CS423x) driver,ES1688 driver
GUS Classic driver,GUS Extreme driver,GUS MAX driver
AMD InterWave driver,Opti9xx drivers,ES968 driver,SB16/AWE driver
SB8 driver,Wavefront drivers,CMIPCI driver,VIA82xx driver,YMFPCI driver
- fixed the boot parameters with long ints for non-intel architectures.
- added get_option_long() for parsing the parameter.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,SB drivers,YMFPCI driver,ALS4000 driver,AZT3328 driver
CMIPCI driver,ENS1370/1+ driver,ES1968 driver,Intel8x0 driver
VIA82xx driver
- removed joystick control from the card control API.
added joystick (or joystick_port) module option instead.
- updated documents for this joystick fix.
- moved resource management for ALS4000 from sb-common header
to the als4000 local code.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
CS4281 driver,RME32 driver,RME96 driver,CS46xx driver,NM256 driver
- fixed compile warnings with cast for memcpy_fromio/toio.
- use copy_to_user_fromio() in proc output.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
added ALC655 entry (compatible with ALC650).
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Maestro3 driver
don't enable MPU401 irq.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA<-OSS emulation
added fallback device selection for OSS mixer.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver,VIA82xx driver,AC97 Codec Core
- use ADI-compatible mode on AD1980 for more better controls.
- swap master and headphone on AD1980 and AD1985 as default.
- export remove_ctl, swap_ctl and rename_ctl for patch functions.
- removed AD1980/AD1985 master-swap quirks (since it's set as default).
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
fixed typo in the last AD198x fix.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
added the DXS whitelist for twinhead mobo.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Timer Midlevel
- fixed problem with hw slave source (PCM timer & dmix plugin)
- fixes for slave instances
- moved active callback check to snd_timer_close() function
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel
don't call kfree with NULL pointer (constraint rules is not always allocated).
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver
- take back the old definition of FXBUS_PCM_LEFT/RIGHT for sb live.
- fixed the audigy routing with the new definition.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Timer Midlevel
fixed the unbalanced spinlock at the error path.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation
minor corrections for the recent updates.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel
removed the export of snd_pcm_lock(). replaced with the normal mutex.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel
- don't hold power lock while draining
- call trigger callback when suspending/resuming a draining substream
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
HWDEP Midlevel
allow dsp_load callback without dsp_status callback.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PCM Midlevel
- don't print debug messages for low count of periods
- added right path for one period to the update pointer routine (interrupt)
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
Zinx Verituse <zinx@epicsol.org>:
fixed the calculation of the port for 'Capture Source' control switch.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,ALS4000 driver,ENS1370/1+ driver,YMFPCI driver
added auto-detection of joystick port.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core
- fixed oops at resume.
- block also the non-blocking devices until the resume is finished.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
Ted.Wen@ite.com.tw:
- added patch for IT2646.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
CS46xx driver
fixed the 4channel mode of another CS429x codec (0x592b).
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
YMFPCI driver
fixed the auto-detection of joystick port.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,ALS4000 driver,AZT3328 driver,CMIPCI driver
ENS1370/1+ driver,VIA82xx driver,YMFPCI driver
- use consistent values for specifying the port address
(0 = disable, 1 = auto-detect, others = manual)
- fixed the auto-detection of joystick port.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA<-OSS emulation
- avail_min is now 1
- fixed read1() function for avail_min == 1
- fixed conversion between ALSA and OSS position
- fixed info.blocks computing in get_ptr() (included fixup)
- fixed get_space() function (included fixup)
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AD1848 driver
Robert Harris <robert.f.harris@blueyonder.co.uk>
Fixed spinlocks
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA<-OSS emulation
Fixed read for partial OSS period buffer contents
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,ALSA Core
- cards_limit=1 as default instead of 8.
- cards_limit means the number of auto-loaded cards. not limits the
actual card numbers for manual loading (e.g. hotplug).
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
OSS device core,Documentation,ALSA Core,ALSA<-OSS emulation
ALSA<-OSS sequencer,ALSA Minor Numbers
Rusty Russell <rusty@rustcorp.com.au>:
- added MODULE_ALIAS for sound services.
clean up the document.
modified by Takashi Iwai <tiwai@suse.de>
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core,ALS100 driver,AZT2320 driver,DT019x driver,CS4231 driver
CS4236+ driver,PC98(CS423x) driver,Opti9xx drivers,SB16/AWE driver
Wavefront drivers
use the standard port address, 0 = disable, 1 = auto-probe, others manual.
negative values are accepted as disable, too.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
OSS device core,ALSA Core
- take MODULE_ALIAS_CHARDEV_MAJOR() back.
- added missing inclusion of linux/device.h.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Opti9xx drivers
- fixed the detection of opti92x-ad1848 pnp.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
OPL4
Clemens Ladisch <clemens@ladisch.de>
use vmalloc instead of kmalloc for temp buffer in proc read()/write()
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core
Clemens Ladisch <clemens@ladisch.de>
new controls for AD1981A/B/1980/1985
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
added the quirk for ASUS A7V600.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core
Fixed cut & paste bug
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
OPL4
Clemens Ladisch <clemens@ladisch.de>
oops - use vfree in error paths, too
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA<-OSS emulation
Fixed semantics in snd_pcm_oss_bytes() function.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver
Peter Zubaj <pzad@pobox.sk>:
- disable routing from AC97 line out to front speakers.
- AC97 ADC is used only for Mic playback and recording
- Philips ADC is used for other analog playback and recording
(Analog Mix Playback Volume, Analog Mix Capture Volume)
- removes unused AC97 controls (is phone used ???)
Takashi Iwai <tiwai@suse.de>:
- removed the duplicated IEC958 control on Dell's board.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
CMIPCI driver
- set XCHGDAC bit implicitly on MC4/6 models for fixing wrong
playback on some boards.
- removed 'Exchange DAC' control from such a model.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core
Added IC Ensemble/KS Waves ID for stereo enhancement
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
CS4236+ driver
- fixed the detection of combination of pnp and non-pnp devices.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
I2C lib core
- fixed sleep in lock. use mutex for the locking.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
- added async_unlink option.
the default bahevior is not changed yet.
- added some comments.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
- added a workaround for M-Audio Audiophile USB.
- avoid async out and adaptive in if other methods are available.
- fixed the hw_constraint check for 24bit formats.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
GUS Library
Fixed duplicate control IDs (PCM Playback Volume) for cards with the codec chip
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
GUS Library
Omited to remove old code
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- fixed the (syntax) description of dxs_support module option.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
YMFPCI driver
- fixed possible (but rare) deadlock.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,Memalloc module,ALS4000 driver,AZT3328 driver
ES1938 driver,ES1968 driver,Maestro3 driver,SonicVibes driver
ALI5451 driver,EMU10K1/EMU10K2 driver,ICE1712 driver,ICE1724 driver
Trident driver
- use pci_set_consistent_dma_mask().
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
- added new patch codes for ALC655/658.
- fixed reset wait loop in the resume phase.
- fixed resume of AD1981 multi codecs.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
- clear unlink_mask bit in the complete callback.
- make sure to deactivate urbs before starting streams.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
fix by Clemens Ladisch <clemens@ladisch.de>:
- don't clear active_mask bits until it's clear that the URB is _not_
resubmitted, to prevent a race with unlinking
- initialize active_mask and unlink_mask each time before URBs are
started
- don't call sleeping functions in trigger callback
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Digigram VX core
- added hw_constraint to align 4bytes.
this will solve the 24bit problem on vx222.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel
- clear the status record before calling snd_pcm_status() in proc read.
this will prevent to show bogus values when status = OPEN.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel,ALSA Core,USB generic driver
- prepare callback can sleep if a flag is given in pcm->info_flags.
- usbaudio driver uses non-atomic prepare callback for synchronization
of pending unlinked urbs.
- async_unlink option of usbaudio driver is enabled as default now.
- fixed the initialization of pseudo-dma pointers in usbaudio.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
- added the proc files to show ids.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Digigram VX Pocket driver
- added the missing licesne and descriptions.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver
- fixed double entries of the same controls.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AMD InterWave driver
- fixed the detection of STB board via pnp.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA<-OSS emulation
fixed the calculation of bytes. this will fix GETxSPACE, GETxPTR,
GETODELAY ioctls.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA<-OSS emulation
- reset auto-silence in the OSS mmap mode.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
VIA82xx driver
Added EPoX EP-8K9A default settings (VIA_DXS_ENABLE)
<perex@suse.cz>
ALSA CVS update - version 1.0.0pre3
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
YMFPCI driver
Clemens Ladisch <clemens@ladisch.de>:
- added the support for the timer on ymfpci chips.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
YMFPCI driver
Clemens Ladisch <clemens@ladisch.de>:
- This patch adds a control to enable S/PDIF direct recording (without
resampling) on the YMF754.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Control Midlevel,ALSA Core,EMU8000 driver,SB16/AWE driver
EMU10K1/EMU10K2 driver
- added support for user control elements (untested)
- fixed locking for snd_ctl_remove() function
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
HWDEP Midlevel,ALSA Core,PCM Midlevel,RawMidi Midlevel,Timer Midlevel
Digigram VX core,L3 drivers,AC97 Codec Core,CS46xx driver
Trident driver,YMFPCI driver,GUS Library,SB16/AWE driver,CMIPCI driver
CS4281 driver,ENS1370/1+ driver,FM801 driver,Intel8x0 driver
Maestro3 driver,RME32 driver,RME96 driver,SonicVibes driver
VIA82xx driver,AK4531 codec,ALI5451 driver,EMU10K1/EMU10K2 driver
ICE1712 driver,ICE1724 driver,KORG1212 driver,NM256 driver
RME HDSP driver,RME9652 driver,USB generic driver
- AC97 code
- introduced ac97_bus_t structure
- moved attached codecs to /proc/asound/card?/codec97#? directory
- merged snd_ac97_modem() to snd_ac97_mixer()
- proc cleanups - removed already initialized variables
- enhanced snd_info_set_text_ops() syntax
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ES1968 driver,AC97 Codec Core
fixed the compilation with the recent ac97 and info changes.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
RME HDSP driver
Thomas Charbonnel <thomas@undata.org>:
- include support for hdsp 9632 cards and bugfixes for hdsp
9652 cards.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
RME HDSP driver
Thomas Charbonnel <thomas@undata.org>:
The attached patch fixes matrix mixer and metering problems spotted by
Pentti Ala-Vannesluoma for H9632 cards and gcc 2.9x compile errors
reported by Martin Langer.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
RME HDSP driver
Thomas Charbonnel <thomas@undata.org>:
The attached patch at last fixes the long lasting firmware loading error
after boot, and includes a small cosmetic fix for H9632 cards (fixes
SPDIF external rate reporting in /proc/asound/cardX/hdsp and amixer
outputs).
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ICE1712 driver,ICE1724 driver
Apostolos Dimitromanolakis <apostolos@aei.ca>:
- added the partial support of AudioTrak prodigy 7.1
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ICE1712 driver
removed unnecessary codes, which causes compilation error with gcc-2.9.x.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core,Intel8x0 driver
Moved AC97 slot allocation from intel8x0 to ac97_pcm.c.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
- fixed oops.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core,Intel8x0 driver
- fixed the wrong sized allocation of snd_ac97_pcm.
- fixed the probing of multiple codecs on intel8x0.
- fixed the computation of rates bits.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core
Clemens Ladisch <clemens@ladisch.de>
fix compiler warnings
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
RME HDSP driver
fix by Thomas Charbonnel <thomas@undata.org>:
The attach patch fixes problems with speed modes for H9632 cards (many
thanks to Pentti Ala-Vannesluoma for testing the driver and helping
finding bugs), and the AutoSync mode issue (for all cards) reported by
Anders Torger at the end of september.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ICE1712 driver
fixes by Apostolos Dimitromanolakis <apostolos@aei.ca>:
- fixed the pop noise at the start up of aureon boards.
- update of prodigy driver (modifed by ti).
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation
- fixed for the new ac97_bus struct.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
- fixed the rates detection for capture.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
fixed typo
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core
Fixed AC97 slot allocation for 2nd+ PCM in assign function
<perex@suse.cz>
ALSA 1.0.0rc1
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA<-OSS emulation
- fixed the bytes field of GETxPTR ioctl in the mmap mode.
- fixed the bytes field of GETxSPACE ioctl.
- don't count the negative delay values.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- added quirks for another ASUS board and FSC notebook.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- added the missing '\n' to proc output.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Generic drivers
Steve deRosier <derosier@pianodisc.com>:
* There is a user selectable flag droponfull. Set to 1 and
any new bytes delivered to the driver after the buffer fills
up will be discarded until the buffer is able to flush some
bytes.
* If droponfull==0 (or is not set, the default is 0), the driver
proceeds to block further input by not calling
snd_rawmidi_transmit_ack() and aborting the attempt. It will
try again later.
* I've redone a bit of the interface for the buffer routines.
This was done to support the proper blocking/non-blocking methods
as spelled out above, and to try to protect the buffer data a bit.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Memalloc module
- replaced 8 with SNDRV_CARDS.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core,Intel8x0 driver
- added spdif field to struct ac97_pcm.
- snd_ac97_set_rate() accepts AC97_SPDIF.
- allow fixed rate mic capture.
- optimized the loop in snd_ac97_pcm_open.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
- don't break the probing even when ac97_reset_wait() returns error.
in many cases, it's not critical (e.g. SB audigy).
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
- fixed the detection of rates due to collision with the spdif slots.
- fixed the typo in the error message.
- replaced the numbers with constants.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- added a dxs_support list entry for ASRock K7VM2.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- dxs_support=4 seems ok for the ASRock board.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- added a quirk for ASRock K7VM2.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core
Commented out debugging printk
<perex@suse.cz>
ALSA version 1.0.0rc2
<dave@thedillows.org>
Support the new 3CR990B cards that require authentication of the runtime firmware
image.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA<-OSS emulation
- added OSS_ALSAEMULVER ioctl
- cleanups for put_user()
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
EMU10K1/EMU10K2 driver
<pzad@pobox.sk>
Center is initialized to analog to prevent noise at startup (SB Live)
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AMD InterWave driver
Fixed typo
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Timer Midlevel
An attempt to fix the system timer behaviour (lost jiffy ticks)
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
USB generic driver
Clemens Ladisch <clemens@ladisch.de>
deactivate_urbs didn't return the number of still-active URBs when not
unlinking asynchronously, which would prevent calling wait_clear_urbs
when some URBs actually are being unlinked asynchronously, so these
URBs would be freed while still in use.
I removed deactivate_urb's return value because wait_clear_urbs does
its own counting anyway.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
RME9652 driver
Removed duplicated ADAT3 Sync control
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Control Midlevel
Added snd_ctl_find_hole() function.
Added printk when control already exists.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
GUS Library
Fixed race - scheduling in interrupt
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA sequencer
Fixed typo
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA Core
A try to fix get_id() function - use alloc_bootmem()
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Documentation
Added read_size comment for snd_info_set_text_ops()
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA Core
petter wahlman <petter.wahlman@chello.no>
vsnprintf does not copy more than 'size' bytes _including_ '\0'
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ICE1712 driver
DFS bit must be handled also for Delta1010 and Delta2496
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Documentation,ALSA<-OSS emulation
- changed whole-frag (default again) => partial-frag
- small corrections in snd_pcm_oss_get_ptr() - atomic hw_ptr and info.bytes
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
VIA82xx driver
Added Easy Note 3171, Packard Bell - VIA_DXS_ENABLE
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Documentation
More complete PCM device example
<perex@suse.cz>
ALSA 1.0.1
<perex@suse.cz>
ALSA - added missing module_init and module_exit functions to cs8427 and ak4xxx modules
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
EMU10K1/EMU10K2 driver
Georgi Georgiev <chutz@gg3.net>
Line2 LiveDrive Capture Volume control fix
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- added the white list for avance logic mobo.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,CMIPCI driver
- changed joystick option to joystick_port option for cmipci driver.
- mentioning alsa-firmware package together with alsa-tools package
for firmware loading.
- fixed the description of auto-invokation of vxloader for 2.6 kernels.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA sequencer
- new e-mail address of Frank van de Pol.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- added the DXS support for ABIT KD7(-RAID)
<krishnakumar@naturesoft.net>
[netdrvr 8139too] support netif_msg_* interface
<shemminger@osdl.org>
[PATCH] wan/lmc -- convert to new network device model
Resend of LMC driver patch for 2.6.0-test6
* do proper probing
* allocate network device with alloc_netdev
* use standard pci_id's instead of local defines
* use standard PCI device interface to find and remove devices.
<romieu@fr.zoreil.com>
[PATCH] 2.6.0-test6 - more free_netdev() conversion
Compiles ok (with true .o generated, yeah). Please review.
free_netdev() of devices allocated through use of alloc_netdev().
Though baroque, drivers/net/3c515.c now uses alloc_etherdev().
drivers/net/3c515.c | 23 ++++++++++++-----------
drivers/net/defxx.c | 2 +-
drivers/net/dummy.c | 2 +-
drivers/net/eql.c | 2 +-
drivers/net/ns83820.c | 2 +-
drivers/net/plip.c | 14 ++++++++++----
drivers/net/shaper.c | 11 ++++++++---
drivers/net/tun.c | 18 +++++++++---------
9 files changed, 43 insertions(+), 31 deletions(-)
<shemminger@osdl.org>
[PATCH] remove dev_get from wanrouter
The call to dev_get() in wanrouter_device_new_if is racy and redundant and should
be removed. The later 'register_netdev()' does the same test internally and will
return the appropriate error if the name already exists.
This patch is against 2.6.0-test6.
Resend of earlier patch because it was ignored, or missed.
<jgarzik@redhat.com>
[netdrvr tulip] support NAPI
Contributed by Robert Ollsson.
<shemminger@osdl.org>
[PATCH] (1/12) Probe2 infrastructure for 2.6 experimental
New infrastructure to allow probing older builtin drivers (like ISA)
Originally by Al Viro, updated to apply agains jgarzik/net-drivers-2.5-exp
<shemminger@osdl.org>
[PATCH] (2/12) Probe2 -- de620
Rework de620 driver to new dynamic allocation
Originally by Al Viro.
* switched de620 to dynamic allocation
* de620: embedded ->priv
* de620: fixed IO before request_region()
Updated to ~jgarzik/net-drivers-2.5-exp
<shemminger@osdl.org>
[PATCH] (03/12) Probe2 -- ni65
Convert ni65 driver to new probing; patch sequence goes bottom
up on the probe list.
* switched ni65 to dynamic allocation
* ni65: fixed ->irq and ->dma clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (04/12) Probe2 -- ni52
>From viro NE15-ni52
* switched ni52 to dynamic allocation
* ni52: embedded ->priv
* ni52: fixed clobbering of everything on autoprobe
Additional:
* add free_netdev
<shemminger@osdl.org>
[PATCH] (05/12) Probe2 -- ni5010
from viro NE16-ni5010
* switched ni5010 to dynamic allocation
* ni5010: embedded ->priv
* ni5010: fixed clobbering ->irq
* ni5010: fixed IO before request_region()
Additional:
* add free_netdev
<shemminger@osdl.org>
[PATCH] (06/12) Probe2 -- sk16
from viro NE17-sk16
* switched sk_g16 to dynamic allocation
* sk_g16: embedded ->priv
* sk_g16: fixed buggy check for signature (|| instead of &&, somebody
forgot to replace it when inverting the test).
* sk_g16: fixed use after kfree()
* sk_g16: fixed init_etherdev() race
Additional:
* add free_netdev
<shemminger@osdl.org>
[PATCH] (07/12) Probe2 -- 3c505
from viro NE18-3c505
* switched 3c505 to dynamic allocation
* 3c505: embedded ->priv
* 3c505: fixed use of uninitialized variable
* 3c505: fixed resource leaks on failure exits
Additional:
* add free_netdev
<shemminger@osdl.org>
[PATCH] (08/12) Probe2 -- 3c507
Originally by Al Viro (NE19-3c507)
* switched 3c507 to dynamic allocation
* 3c507: embedded ->priv
* 3c507: fixed clobbering on autoprobe
* NB: 3c507.c buggers port 0x100 without claiming it. Most likely it
should be doing request_region() there.
Updated to apply agains jgarzik/net-drivers-2.5-exp
<shemminger@osdl.org>
[PATCH] (09/12) Probe2 -- arlan
Convert arlan driver to new probing. This meant a rather large
rework of the probing code for this driver since it did a lot ofnon
standard things.
<shemminger@osdl.org>
[PATCH] (10/12) Probe2 -- wavelan
Original by Al Viro (NE21-wavelan)
* switched wavelan to dynamic allocation
* wavelan: embedded ->priv
* wavelan: fixed clobbering on autoprobe
* wavelan: fixed IO before request_region()
* wavelan: fixed resource leaks on failure exits
* wavelan: fixed order of freeing bugs
Updated to apply agains jgarzik/net-drivers-2.5-exp
<shemminger@osdl.org>
[PATCH] (11/12) Probe2 -- 3c501
>From viro NE22-3c501
* switched 3c501 to dynamic allocation
* 3c501: embedded ->priv
* 3c501: fixed clobbering on autoprobe
* 3c501: fixed resource leaks on failure exits
Additional:
* probe correctly when no device present
* fix loop forever bug in probing
* free_netdev
<shemminger@osdl.org>
[PATCH] (12/12) Probe2 -- 82596
Originally by Al Viro (NE23-82596)
* switched 82596 to dynamic allocation
* 82596: fixed resource leaks on failure exits
Updated to apply agains jgarzik/net-drivers-2.5-exp
<shemminger@osdl.org>
[PATCH] (1/6) tokenring probing change
Ugh, two patches got crossed. This is the correct first one.
<shemminger@osdl.org>
[PATCH] (2/6) smctr -- probe2
Convert the SMC tokenring driver to new probing.
<shemminger@osdl.org>
[PATCH] (3/6) proteon -- probe2
Convert proteon token ring driver to new probing.
<shemminger@osdl.org>
[PATCH] (4/6) skisa -- probe2
Convert the SK-NET TMS380 ISA card to the new probe2 format.
<shemminger@osdl.org>
[PATCH] typo in net-drivers-2.5-exp 3c507
Fix auto-probing loop in new probing code for 3c507.
This patch is against net-drivers-2.5-exp repository.
Found by viro.
<shemminger@osdl.org>
[PATCH] arlan new probe code needs to register
Fix arlan registration in the net-drivers-2.5-exp repo.
Need to call register_netdev. Found by viro.
<shemminger@osdl.org>
[PATCH] sk_g16 missing declaration
The new probe code in net-drivers-2.5-exp lost a declaration for the
module case (thanks al).
<shemminger@osdl.org>
[PATCH] (1/42) ewrk3
Convert ewrk3 to dynamic allocation
* get rid of private device allocation method
* fix deeply nested function
<shemminger@osdl.org>
[PATCH] (2/42) eepro
Patch from viro: NE26-eepro
* switched eepro to dynamic allocation
* eepro: embedded ->priv
* eepro: fixed clobbering on autoprobe
* eepro: fixed IO before request_region()
* eepro: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (3/42) eexpress
Based on viro NE27-eexpress
* switched eexpress to dynamic allocation
* eexpress: embedded ->priv
* eexpress: fixed clobbering on autoprobe
* eexpress: fixed IO without request_region()
* eexpress: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (4/42) eth16i
NE28-eth16i
* switched eth16i to dynamic allocation
* eth16i: embedded ->priv
* eth16i: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (5/42) fmv18
Based on viro, NE29-fmv18
* switched fmv18x to dynamic allocation
* fmv18x: embedded ->priv
* fmv18x: fixed resource leaks on failure exits
* fmv18x: fixed clobbering on autoprobe
* fmv18x: compile fix - comment is _not_ an empty statement. The thing
had been b0rken since 2.4.3-pre2, BTW...
<shemminger@osdl.org>
[PATCH] (6/42) at1700
Based on viro NE30-at1700
* switched at1700 to dynamic allocation
* at1700: embedded ->priv
* at1700: fixed resource leaks on failure exits
* at1700: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (7/42) cs89x0
Based on viro NE31-cs89x0
* switched cs89x0 to dynamic allocation
* cs89x0: embedded ->priv
* cs89x0: fixed resource leaks on failure exits
* cs89x0: fixed clobbering on autoprobe
* NB: cs89x0 calls request_region() with very odd arguments. Somebody
ought to check WTF is going on there.
<shemminger@osdl.org>
[PATCH] (8/42) at1500
Based on viro NE32-at1500
ROTFL. The last remnants of CONFIG_AT1500 removed - that was a hell
of an ancient bug (at1500_probe() was never defined, AFAICS - all
way back to 0.99.15).
<shemminger@osdl.org>
[PATCH] (9/42) seeq8005
Based on viro NE33-seeq8005
* switched seeq8005 to dynamic allocation
* seeq8005: embedded ->priv
* seeq8005: fixed resource leaks on failure exits
* seeq8005: fixed clobbering on autoprobe
* seeq8005: fixed jiffies truncation
* seeq8005: fixed a typo in Kconfig - module is _not_ called ewrk3
<shemminger@osdl.org>
[PATCH] (10/42) smc
Based on viro NE34-smc
* switched smc to dynamic allocation
* smc: embedded ->priv
* smc: fixed resource leaks on failure exits
* smc: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (11/42) lance
Based on viro NE35-lance
* switched lance to dynamic allocation
* lance: fixed init_etherdev races
* lance: fixed resource leaks on failure exits
* NB: probing code is, to put it mildly, odd. It _always_ does
autoprobe, modular or not. WTF is going on there?
<shemminger@osdl.org>
[PATCH] (12/42) ne
Based on NE36-ne
* switched ne/ne2k_cbus to dynamic allocation
* ne/ne2k_cbus: fixed order of freeing bugs
* ne/ne2k_cbus: fixed resource leaks on failure exits
* ne/ne2k_cbus: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (13/42) e2100
Based on viro NE37-e2100
* switched e2100 to dynamic allocation
* e2100: fixed order of freeing bugs
* e2100: fixed resource leaks on failure exits
* e2100: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (14/42) hpplus
Based on NE38-hpplus
* switched hp-plus to dynamic allocation
* hp-plus: fixed order of freeing bugs
* hp-plus: fixed resource leaks on failure exits
* hp-plus: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (15/42) hp
Based on viro NE39-hp
* switched hp to dynamic allocation
* hp: fixed order of freeing bugs
* hp: fixed resource leaks on failure exits
* hp: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (16/42) 3c503
Based on viro NE40-3c503
* switched 3c503 to dynamic allocation
* 3c503: fixed order of freeing bugs
* 3c503: fixed IO without request_region
* 3c503: fixed resource leaks on failure exits
* 3c503: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (17/42) wd
Based on viro NE41-wd
* switched wd to dynamic allocation
* wd: fixed order of freeing bugs
* wd: fixed resource leaks on failure exits
* wd: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (18/42) ultra
Based on viro NE42-ultra
* switched smc-ultra to dynamic allocation
* smc-ultra: fixed order of freeing bugs
* smc-ultra: fixed resource leaks on failure exits
* smc-ultra: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (19/42) 3c515-T10
NE43-3c515
* convert to dynamic allocation
* fixed up device list handling
<shemminger@osdl.org>
[PATCH] (20/42) hp100-T10
NE44-hp100
* convert to dynamic allocation
* use device model for PCI and EISA
* use pci id's to find PCI devices
* fix missing id's for 10 Mbit only PCI boards
<shemminger@osdl.org>
[PATCH] (21/42) sk_mca
NE45-sk_mca
* switched sk-mca to dynamic allocation
* sk-mca: switched to embedded ->priv
* sk-mca: fixed order of freeing bugs
* sk-mca: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (22/42) 3c527
NE46-3c527
* switched 3c527 to dynamic allocation
* 3c527: switched to embedded ->priv
* 3c527: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (23/42) 3c523
NE47-3c523 from viro
* switched 3c523 to dynamic allocation
* 3c523: switched to embedded ->priv
* 3c523: fixed order of freeing bugs
* 3c523: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (24/42) ne2
NE48-ne2 from viro
* switched ne2 to dynamic allocation
* ne2: fixed order of freeing bugs
* ne2: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (25/42) lne390
NE49-lne390
* switched lne390 to dynamic allocation
* lne390: fixed order of freeing bugs
* lne390: fixed clobbering on autoprobe
* lne390: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (26/42) es3210
NE50-es3210
* switched es3210 to dynamic allocation
* es3210: fixed order of freeing bugs
* es3210: fixed clobbering on autoprobe
<shemminger@osdl.org>
[PATCH] (27/42) ac3200
NE51-ac3200
* switched ac3200 to dynamic allocation
* ac3200: fixed order of freeing bugs
* ac3200: fixed clobbering on autoprobe
* ac3200: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (28/42) ultra32
NE52-ultra32
* switched smc-ultra32 to dynamic allocation
* smc-ultra32: fixed order of freeing bugs
* smc-ultra32: fixed clobbering on autoprobe
* smc-ultra32: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (29/42) bagetlance
NE54-bagetlance
* switched bagetlance to dynamic allocation
* bagetlance: embedded ->priv
* bagetlance: fixed resource leaks on failure exits
* bagetlance: fixed resource leaks on rmmod
<shemminger@osdl.org>
[PATCH] (30/42) jazzsonic
NE55-jazzsonic
* switched jazzsonic to dynamic allocation
* jazzsonic: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (31/42) mac89x0
NE56-mac8390
* switched mac8390 to dynamic allocation
* mac8390: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (32/42) mac8390
NE57-mac8390
* switched mac8390 to dynamic allocation
* mac8390: fixed resource leaks on failure exits
* get rid of MOD_INC/DEC
<shemminger@osdl.org>
[PATCH] (33/42) macsonic
NE58-macsonic
* switched macsonic to dynamic allocation
* macsonic: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (34/42) mac_mace
NE59-mace
* switched mace to dynamic allocation
* mace: fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (35/42) mvme147
NE60-mvme147lance
* switched to dynamic allocation
* fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (36/42) hplance
NE61-hplance
* switched to dynamic allocation
* fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (37/42) pamsnet
NE62-pamsnet
* switched to dynamic allocation
* fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (38/42) bionet
NE63-bionet
* switched to dynamic allocation
* fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (39/42) apne
NE64-apne
* switched to dynamic allocation
* fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (40/42) sun3_82586
NE66-sun3_82586
* switched to dynamic allocation
* fixed resource leaks on failure exits
<shemminger@osdl.org>
[PATCH] (41/42) sun3_lance
NE67-sun3lance
* switched to dynamic allocation
* fixed resource leaks on failure exits
<jgarzik@redhat.com>
[netdrvr 3c515] fix non-modular build
<shemminger@osdl.org>
[PATCH] (42/42) atari_lance
NE68-atarilance
* switched to dynamic allocation
* fixed resource leaks on failure exits
* also kill off last usage of probe_list
<scott.feldman@intel.com>
[e1000] add ethtool ring param support
* Add ethtool ring param support
<scott.feldman@intel.com>
[e1000] use pdev->irq rather than netdev->irq for
* Use pdev->irq rather than netdev->irq for interrupt
registration in anticipation of MSI interrupt API support.
<scott.feldman@intel.com>
[e1000] loopback diag test failing on big-endian
* ethtool diag loopback test was failing on ppc because of
endianness issue.
<scott.feldman@intel.com>
[e1000] use unsigned long for I/O base addr
* Use unsigned long for I/O base addr; can be 64-bit on some archs.
<scott.feldman@intel.com>
[e1000] 82547 interrupt assert/de-assert re-ordering
* 82547 needs interrupt disable/enable to keep interrupt assertion
state synced between 82547 and APIC. 82547 will re-order
assert and de-assert messages if hub link bus is busy (heavy
traffic). Disabling interrupt on device works around re-
order issue.
<scott.feldman@intel.com>
[e1000] print message if user overrides default ITR
* Print message if user overrides default setting of ITR.
<scott.feldman@intel.com>
[e1000] improve Tx flush method
* Flush queued in-flight Tx descriptors when link is lost. 8254x stops
processing Tx descriptors when link is lost, so outstanding Tx
buffers will not be returned to OS unless we flush the Tx descriptor
ring. This patch move the flush from the watchdog timer callback
to process context to work around some issue with holding xmit_lock
in timer callback.
<scott.feldman@intel.com>
[e1000] exit polling loop if interface is brought down
* Exit polling loop if interface is brought down.
<scott.feldman@intel.com>
[e1000] Internal SERDES link detect; delay after SPI
* Internal SERDES designs must use indirect method to sample
link status based on sampling MAC sync bits.
* Need 10 msec delay after SPI eeprom write, otherwise back-to-
back writes can get corrupted.
* Allow for setup of multiple MAC addresses (not used for
Linux - shared code change).
* Updated comment block.
<scott.feldman@intel.com>
[e100] missed a kfree -> free_netdev
* missed a kfree -> free_netdev
<jgarzik@redhat.com>
[netdrvr tc35815] many fixes, major and minor
* s/int/unsigned long/ for 'flags' arg passed to spin_lock_irqsave
* s/unsigned int/unsigned long/ for I/O port addresses
* no need to prevent tc35815_probe from being called multiple times...
PCI layer will do things properly for us.
* call pci_enable_device before accessing hardware, before obtaining
irq number, and before obtaining I/O port addresses.
* remove bogus 'if (pdev)' check in PCI API ->probe function
* call SET_M0DULE_OWNER, remove MOD_{INC,DEC}_USE_COUNT
* (cleanup) don't bother casting from a void*
* (cleanup) mark debugging function with #if 0, just like the caller
* Fix many printk statements to indicate that tc_readl() returns
a long, not an int.
* (cleanup) remove unused tc35815_proc_info function
<jgarzik@redhat.com>
[netdrvr tc35815] switch to using alloc_etherdev
Also handle ioremap failure.
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr a2065] convert to alloc_etherdev
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr ariadne] use alloc_etherdev
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr declance] use alloc_etherdev
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr gt96100eth] use alloc_etherdev, fix leaks
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr hydra] use alloc_etherdev
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr oaknet] use alloc_etherdev, fix leaks
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr znet] alloc_etherdev, SET_MODULE_OWNER, remove #ifdef MODULE
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr mace] alloc_etherdev, fix leaks on error
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr zorro8390] alloc_etherdev, SET_MODULE_OWNER
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr au1000_eth] alloc_etherdev, SET_MODULE_OWNER, fix leaks/small bugs
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr sb1250-mac] alloc_etherdev, fix leaks on error
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr sgiseeq] alloc_etherdev, SET_MODULE_OWNER, fix leaks on error
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr stnic] use alloc_etherdev
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr saa9730] use alloc_etherdev, annotate bugs found but not fixed
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr depca] fix leaks on error
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr atp] use alloc_etherdev, clean up probing
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr de600] use alloc_etherdev; request_region fixes
<viro@parcelfarce.linux.theplanet.co.uk>
[wireless wavelan{_cs}] use alloc_etherdev; remove useless net_device* typedef
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr] s/kfree/free_netdev/ where appropriate
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr ether00] s/kfree/free_netdev/ ; remove redundant memset() calls
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr pcmcia] s/kfree/free_netdev/
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr iph5526] use SET_MODULE_OWNER; small typedef cleanup
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr stnic] fix typo from last stnic cset
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr xircom_tulip_cb] remove bogus unregister_netdev call; use free_netdev
<jgarzik@redhat.com>
[netdrvr tulip] clean up tulip NAPI poll disable
Looks like the same patch was applied multiple times. No negative
effects except ugliness and a redundant test.
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr] alloc_etherdev-related cleanups
Mostly removing unneeded calls to ether_setup(), which alloc_etherdev()
already does for us.
<viro@parcelfarce.linux.theplanet.co.uk>
[netdrvr lasi_82596] remove ether_setup() call, fix leak in probe
<jgarzik@redhat.com>
[netdrvr] remove Documentation/networking/8139too.txt
All sections of the document are woefully outdated.
<jgarzik@redhat.com>
[netdrvr] remove init_etherdev mentions in Doc/SubmittingPatches, atari_pamsnet.c
<xose@wanadoo.es>
[PATCH] more RTL-8139 clone boards
<shemminger@osdl.org>
[PATCH] 8139too NAPI for net-drivers-2.5-exp
Here is the 8139too version in net-drivers-2.5-exp modified for NAPI.
Also:
64k receive ring - has to handle wrap for that case;
the NoWrap flag does nothing if using this big ring.
assert() -> BUG_ON()
To deal with the races with tx_timeout, put back in the rx_lock from earlier versions.
<shemminger@osdl.org>
[PATCH] (1/3) 8139too -- put back old assert
For net-drivers-2.5-exp:
Minimize code changes -- put back assert() macro with similar properties
to the original. Added unlikely() and KERN_ERR tag.
<shemminger@osdl.org>
[PATCH] (2/3) 8139too -- configurable receive ring
For net-drivers-2.5-exp: Make the receive window configurable and go
back to the original 32K by default.
<shemminger@osdl.org>
[PATCH] (3/3) 8139too -- poll_controller
For net-drivers-2.5-exp, add a poll_controller hook to allow use of netconsole
with this driver.
jeff, don't have netconsole setup to test this so please give it a try before
including it.
<hirofumi@mail.parknet.co.jp>
[PATCH] 8139too NAPI for net-drivers-2.5-exp
Jeff Garzik <jgarzik@pobox.com> writes:
> Stephen Hemminger wrote:
> > Here is the 8139too version in net-drivers-2.5-exp modified for NAPI.
> > Also:
> > 64k receive ring - has to handle wrap for that case;
> > the NoWrap flag does nothing if using this big ring.
> > assert() -> BUG_ON()
> >
> > To deal with the races with tx_timeout, put back in the rx_lock from earlier versions.
> + local_irq_disable();
> + netif_rx_complete(dev);
> + RTL_W16_F(IntrMask, rtl8139_intr_mask);
> + local_irq_enable();
Probably, by my mistake in previous mail. Sorry. This still has the
races condition. It can trigger the same problem by shared interrupt
on SMP.
Probably the following ISR style should use the below combination.
in ISR
if (netif_rx_schedule_prep(dev)) {
RTL_W16 (IntrMask, rtl8139_norx_intr_mask);
__netif_rx_schedule(dev);
}
in ->poll
local_irq_disable();
RTL_W16_F(IntrMask, rtl8139_intr_mask);
__netif_rx_complete(dev);
local_irq_enable();
And another one should use the below combination. (this style can
change the flags of __LINK_STATE_RX_SCHED or __LINK_STATE_START anytime)
in ISR
if (status & RxAckBits) {
RTL_W16_F (IntrMask, rtl8139_norx_intr_mask);
netif_rx_schedule (dev);
}
in ->poll
local_irq_disable();
__netif_rx_complete(dev);
RTL_W16_F(IntrMask, rtl8139_intr_mask);
local_irq_enable();
If happen the shared interrupt, the this ISR style may lose a
chance of netif_rx_schedule().
Anyway, the following patch should fix the problem. Please apply.
Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
drivers/net/8139too.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
<hirofumi@mail.parknet.co.jp>
[PATCH] 8139too warning fix (1/2)
drivers/net/8139too.c | 2 ++
1 files changed, 2 insertions(+)
<hirofumi@mail.parknet.co.jp>
[PATCH] 8139too tx queue handling fix
Hi,
netif_stop_queue(dev);
[....]
netif_start_queue(dev);
netif_wake_queue(dev);
and
netif_stop_queue(dev);
[....]
netif_wake_queue(dev);
is not same. After tx_timeout, this was needed for restarting tx work
immediately.
Are you interested in this patch?
drivers/net/8139too.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
<scott.feldman@intel.com>
[netdrvr e1000] h/w workarounds + remove device ID.
* Remove device ID 8086:1014 support: never a production ID.
* Add #define for stripping CRC on Rx.
* Added polarity reversal workaround for forced 10Mbps on 82543/4
controllers. The polirity detection algorithm check the link
pulse to see if the polarity is reversed. The end of packet
waveform of 10Base-T packets look like an inverted link pulse
and can make 82443/4 polarity detection algorithms think that
the polarity is reversed by mistake.
* Change the condition for applying the TBI workaround on 82543:
previously enabled workaround if link partner advertised
capabilities; now enable based on negotiated speed - only
enable for gig speed.
<scott.feldman@intel.com>
[netdrvr e1000] netpoll support
* Add netpoll support. [Prasanna S. Panshamukhi (prasanna@in.ibm.com)]
<scott.feldman@intel.com>
[netdrvr e1000] back out CSA interrupt fix
* 8086:1019 82547 CSA-based LOMs lock up the system with
this code, so let's revert back to what's in 2.6.0 until
we can figure out why this is causing problems.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
CMIPCI driver
Fixed joystick->joystick_port for __setup()
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core
Sasha Khapyorsky <sashak@smlink.com>:
- added a patch for sis 3036/8 modem codec.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
SB16/AWE driver
- fixed the default value of mpu_port, use SNDRV_DEFAULT_PORT instead of
hardcoded values.
- fixed the reservation of fm port on pnp boards.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PPC Tumbler driver
- ignore the manual mute of speaker in the auto-mute mode.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ENS1370/1+ driver
- clean up of initialization of spdif control elements.
- check the return value of snd_ctl_new1() and snd_ctl_add().
- added the support of line-in/rear share switch by
Michael Huijsmans <mgh@telering.at>.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
fix by Timo Hirvonen <tihirvon@ee.oulu.fi> (modified by tiwai):
- added the entry of whitelist for ASRock K7VT2.
- max. value of DXS volume is 31.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Generic drivers,MPU401 UART,OPL3,OPL4,ES18xx driver,OPL3SA2 driver
Sound Galaxy driver,Sound Scape driver,AD1816A driver,AD1848 driver
CS4231 driver,ES1688 driver,GUS Library,AMD InterWave driver
Opti9xx drivers,EMU8000 driver,SB drivers
- added the error messages for resource allocation failures.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core
- added the gcc printf attribute to snd_printk and snd_printd.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
SB16/AWE driver
- fixed the case of non-pnp board with the same OPL3 port as the main port.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver,EMU8000 driver,Common EMU synth,SoundFont
- added __user prefix to the user-space pointers.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Memalloc module,PCM Midlevel
- fixed buffer pre-allocation.
- improved proc output.
- check the use flag when unmarking the reserved buffer.
- clean up and add more comments.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- added the whitelist entry for a shuttle machine.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
CMIPCI driver
- initialize the iec958 status at opening the normal PCM device, too.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,EMU10K1/EMU10K2 driver
- rename the control 'Surround Digital' -> 'Surround'.
the surround of ac97 is removed (unused on sb live).
- clean up the removal of unused mixer entries.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,Memalloc module,ALS4000 driver,AZT3328 driver
ES1938 driver,ES1968 driver,Maestro3 driver,SonicVibes driver
ALI5451 driver,EMU10K1/EMU10K2 driver,ICE1712 driver,ICE1724 driver
Trident driver
- fixed the DMA allocation.
pci_set_dma_mask() is called together with pci_set_consistent_dma_mask().
also clean up the double check of mask.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel
- don't override the pre-allocated buffer id if already defined.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
USB generic driver
Show proper ID for Creative Sound Blaster MP3+
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PCM Midlevel,ALSA Core
Added SNDRV_PCM_STATE_DISCONNECTED state.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Trident driver
Fixed typo
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PCM Midlevel
fixed oops when device was not opened (usual situation ;-))
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA<-OSS emulation
Fixed filling of the end silence - playback (in sync function)
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
USB generic driver
Clemens Ladisch <clemens@ladisch.de>
add support for Edirol UM-1SX
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
USB generic driver
Clemens Ladisch <clemens@ladisch.de>
- fix buffer overflow (with 0x prefix, component would need 17
chars)
- rewrite shortname logic
- include product name in longname even if card doesn't have a quirk
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core,ALS100 driver,AZT2320 driver,CMI8330 driver,DT019x driver
ES18xx driver,OPL3SA2 driver,Sound Scape driver,AD1816A driver
CS4236+ driver,AMD InterWave driver,Opti9xx drivers,ES968 driver
SB16/AWE driver,Wavefront drivers,ALS4000 driver,AZT3328 driver
CMIPCI driver,CS4281 driver,ENS1370/1+ driver,ES1938 driver
ES1968 driver,FM801 driver,Intel8x0 driver,Maestro3 driver,RME32 driver
RME96 driver,SonicVibes driver,VIA82xx driver,CS46xx driver
EMU10K1/EMU10K2 driver,ICE1712 driver,ICE1724 driver,KORG1212 driver
NM256 driver,RME HDSP driver,RME9652 driver,Trident driver
Digigram VX222 driver,YMFPCI driver,USB generic driver
- added snd_card_set_dev() macro.
- sysfsfied more pci, isapnp and usb drivers.
<perex@suse.cz>
ALSA - updated date identification
<akpm@osdl.org>
[APPLETALK]: Do not use lvalue in assignment.
<akpm@osdl.org>
[ATM]: Do not use lvalue in assignment.
<akpm@osdl.org>
[X25]: Do not use lvalue in assignment.
<akpm@osdl.org>
[DECNET]: Do not use lvalue in assignment.
<akpm@osdl.org>
[ECONET]: Do not use lvalue in assignment.
<akpm@osdl.org>
[IPV6]: Do not use lvalue in assignment.
<akpm@osdl.org>
[IPX]: Do not use lvalue in assignment.
<akpm@osdl.org>
[IRDA]: Do not use lvalue in assignment.
<akpm@osdl.org>
[LLC]: Do not use lvalue in assignment.
<akpm@osdl.org>
[AF_KEY]: Do not use lvalue in assignment.
<akpm@osdl.org>
[NETROM]: Do not use lvalue in assignment.
<akpm@osdl.org>
[ROSE]: Do not use lvalue in assignment.
<akpm@osdl.org>
[SCTP]: Fix packed attribute usage.
<akpm@osdl.org>
[TCP]: Un-inline tcp_put_port().
<akpm@osdl.org>
[TG3]: Do not use lvalue in assignment.
<bellucda@tiscali.it>
[NETFILTER]: Make use of ipt_register_target() return values.
<domen@coderock.org>
[NET]: In dev_seq_printf_stats(), kill extra comparison, make more readable.
<akpm@osdl.org>
[PATCH] libata warning fixes
drivers/scsi/libata-core.c:973: warning: long long unsigned int format, u64 arg (arg 5)
<rddunlap@osdl.org>
[netdrvr] remove unnecessary type casting
<akpm@osdl.org>
[PATCH] gcc-35: drivers/net/wan/lmc
drivers/net/wan/lmc/lmc_media.c:1061: sorry, unimplemented: called from here
drivers/net/wan/lmc/lmc_debug.h:50: sorry, unimplemented: inlining failed in call to 'lmc_trace': function body not available
<akpm@osdl.org>
[PATCH] gcc-3.5: ne2k-pci.c
drivers/net/ne2k-pci.c: In function `ne2k_pci_block_input':
drivers/net/ne2k-pci.c:539: error: invalid lvalue in increment
drivers/net/ne2k-pci.c: In function `ne2k_pci_block_output':
drivers/net/ne2k-pci.c:600: error: invalid lvalue in increment
<davem@nuts.ninka.net>
[DECNET]: Fix filling in of header length field.
<davem@nuts.ninka.net>
[CREDITS]: Update Bjorn Ekwall's address.
<benh@kernel.crashing.org>
[SUNGEM]: Add support for G5 PowerMAC plus PM fixes.
<davem@nuts.ninka.net>
[SUNGEM]: Add K2_GMAC pci id to pci_ids.h
<Kai.Makisara@kolumbus.fi>
[PATCH] SCSI tape cdev fixes for 2.6.2-rc1
The patch at the end of this message fixes the following problems:
- cdev allocation moved outside st_dev_arr_lock, prevents the debugging
error messages reported by Mike and Mike
- cdev_unmap() added before cdev_del(), prevents oops (and kernel data
corruption) in case someone tries to use a device after removing the
module
- better error handling for failures in cdev allocation
As far as I am concerned, the patch is tested but testing by others might
be useful :-)
<fischer@linux-buechse.de>
[PATCH] aha152x
attached my patch for the aha152x driver. Tested for pcmcia and not
pcmcia and various devices.
changes in the aha152x driver:
- gather code that is not used by PCMCIA at the end
- move request_region for !PCMCIA case to detection
- migration to new scsi host api (remove legacy code)
- free host scribble before scsi_done
- fix error handling
- one isapnp device added to id_table
and in the pcmcia stub module:
- default to synchronous transfers
- release_region hack removed
- let core module do the scsi host api calls.
<jejb@mulgrave.(none)>
aha152x request region fix
Noticed by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Fixed By: Juergen E. Fischer <fischer@linux-buechse.de>
On Sat, Jan 24, 2004 at 15:02:12 +0100, Guennadi Liakhovetski wrote:
> Correct and forgive me if I am wrong, it looks like you are now poking at
> ports without requesting them - in *_porttest. Is it a good idea?
Ouch. No, of course not, you are right. Thanks for pointing. I
thought I had moved the port testing to aha152x_probe_one...
Following patch cleans that up.
The port test during autoconfiguration was also done without requesting
the region first and there was a bug in auto configuration of a TC1550
controller (both even before the patch).
<dougg@torque.net>
[PATCH] sg driver update
> This patch is against the sg driver found in lk 2.6.1-bk6 .
> It is an update on the sg patch sent in the "devices with more
> than one node" thread:
> http://marc.theaimsgroup.com/?l=linux-scsi&m=107415435300783&w=2
Attached is an updated patch adding the cdev_unmap() call
which Kai Makisara reported as required.
<jejb@mulgrave.(none)>
Fusion update to 3.00.02
From: Moore, Eric Dean <Emoore@lsil.com>
Here is list of fix's.
* added new PCI API support
* added ACPI support
* added CONFIG_LBA, READ16, WRITE16 support
* underun fix
* chain buffer free list not being init properly
* reduce task management
(abort=2sec,reset bus=5sec, timeout=10sec)
* Hot plug fix's requested from Christoph Hellwig, and several
others from the linux-scsi@ list.
<rddunlap@osdl.org>
[PATCH] aha1542: queuecommand: change panic() to return
From: Timmy Yee <shoujun@masterofpi.org>
The aha1542 driver calls panic() if kmalloc() fails, which it shouldn't
do. This patch changes that by having the code return a nonzero value, so
it tells the SCSI mid-layer to retry the command, as suggested by Randy.
diffstat:=
drivers/scsi/aha1542.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
<rddunlap@osdl.org>
[PATCH] aha1542: add kmalloc type
From: Timmy Yee <shoujun@masterofpi.org>
In drivers/scsi/aha1542.c, kmalloc() is called with no memtype (i.e.
without some flag like GFP_KERNEL). The following patch will fix that.
diff -puN drivers/scsi/aha1542.c~aha1542_kmalloc_type drivers/scsi/aha1542.c
linux-262-rc1-bk1-rddunlap/drivers/scsi/aha1542.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
<rddunlap@osdl.org>
[PATCH] fix sym53c8xx_2 doc. location
A very simple patch against 2.6.0 follows, which fixes an improper file
reference in the scsi sym53c8xx_2 driver help text. The referenced
documentation file was moved in 2.5.48 but the help text was not updated
accordingly.
linux-262-rc1-bk1-rddunlap/drivers/scsi/Kconfig | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Intel8x0 driver
Added more generic entries for Intel hardware (follows 0.9.1adi driver)
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core
Follow 0.9.1 ADI driver (mic in 3.75V, no High-Z mode, remove patch_ad1881() cal for 1985 - we have already 6 DACs
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation
- fixed the description of vx222 install command and a typo.
- removed the description of the obsolete aliases for OSS emulation.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core,Common EMU synth,SoundFont,EMU8000 driver
EMU10K1/EMU10K2 driver
- added the support of hwdep for EmuX WaveTable on emu10k1 and sbawe.
SoundFont can be loaded via the ALSA native hwdep device now.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core,IGNORE
- fixed the dependency of emu10k1/sbawe emux synth modules.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
SB16/AWE driver
- added the missing ifdef CONFIG_PNP around the pnp table definition.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
- fixed the 6 channel output on nforce.
the sample format is once reset to 2 channel mode for aligning the
samples.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
- added the workaround for a hardware bug in intel 440MX B-stepping.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Control Midlevel,IOCTL32 emulation,ALSA<-OSS emulation
EMU10K1/EMU10K2 driver
- fixed the oops in OSS mixer when the control elements are dynamically
changed (e.g. emufx).
mixer_oss.c handles the numid instead of kcontrol_t pointers.
- snd_ctl_find_id and snd_ctl_find_numid don't issue contros_rwsem.
the caller has to handle it properly.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
PCM Midlevel
- added the support of stack dump at xrun.
enabled by writing to /proc/asound/card*/pcm*/xrun_debug proc file.
built only when CONFIG_SND_DEBUG is set.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
USB generic driver
Clemens Ladisch <clemens@ladisch.de>:
- remove superfluous error check
ENODEV actually never happens in a completion handler
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,ALS100 driver,AZT2320 driver,DT019x driver,ES18xx driver
AD1816A driver,CS4231 driver,CS4236+ driver,ES1688 driver
Opti9xx drivers,SB16/AWE driver,ALS4000 driver,ES1938 driver
FM801 driver,SonicVibes driver,Trident driver,YMFPCI driver
Clemens Ladisch <clemens@ladisch.de>:
- fix names for MPU-401 ports
This moves the initialization of card->shortname before the
component creation so that the name for the rawmidi port is
'<shortname> MPU-401' instead of 'MPU-401 UART x-0'.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
RME HDSP driver
Martin Bjoernsen:
- set the PCI latency timer to 255 for fixing some misbehavior.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PCM Midlevel
Change -EINVAL to -EALREADY in snd_pcm_unlink()
<perex@suse.cz>
ALSA 1.0.2
+ added missing file (emux_hwdep.c) ommited due merge
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Intel8x0 driver
Fixed typo
<jlcooke@certainkey.com>
[CRYPTO]: Help gcc optimize sha256/sha512 better.
<laforge@netfilter.org>
[NETFILTER]: Fix up copyright notices.
<rusty@rustcorp.com.au>
[NETFILTER]: Fix locking in ip_conntrack.
http://bugme.osdl.org/show_bug.cgi?id=1764
We're walking the expect list without the ip_conntrack_expect_tuple_lock.
<laforge@netfilter.org>
[NETFILTER]: Update Changes file to reflect 2.6.x reality.
<yoshfuji@linux-ipv6.org>
[IPV6]: Use the cheaper ipv6_addr_any() for ipv6_addr_type() where possible.
<yoshfuji@linux-ipv6.org>
[IPV6]: Use the cheaper ipv6_addr_is_multicast() for ipv6_addr_type() where possible.
<kaber@trash.net>
[NET_SCHED]: Add HFSC packet scheduler.
<dlstevens@us.ibm.com>
[IPV4]: Add per-device sysctl to force IGMP version.
<jmorris@redhat.com>
[CRYPTO]: Make padding[] array static in sha{256,512}_final().
Also happens to work around a GCC bug.
<jgarzik@redhat.com>
[netdrvr sk98lin 1/2] Remove CVS substitution keywords/spam.
With vendor's OK, remove Log, Revision, and Date from each file.
This data is generated from non-public CVS, and mirrors the BitKeeper
changelog. Further, every driver submission usually contains updates to
each and every file, just because of the updated CVS revisions.
<jgarzik@redhat.com>
[netdrvr sk98lin 2/2] Remove CVS substitution keywords/spam.
With vendor's OK, remove Log, Revision, and Date from each file.
This data is generated from non-public CVS, and mirrors the BitKeeper
changelog. Further, every driver submission usually contains updates to
each and every file, just because of the updated CVS revisions.
<pcaulfie@redhat.com>
[DECNET]: Made SDF_WILD sockets actually work.
<pcaulfie@redhat.com>
[DECNET]: Fix double rcu_read_unlock() in dn_rt_cache_seq_stop().
<shemminger@osdl.org>
[TCP]: Port 2.4.x version of TCP Westwood support to 2.6.x
Original 2.4.x version by Angelo Dell'Aera (buffer@antifork.org)
Here is the 2.4 version with some cleanups converted to 2.6.
- use tcp_ prefix (dave)
- get rid of rwlock not needed (dave)
- do some hand optimization of the inline's
- don't make init inline
- get rid of extra whitespace
- eliminate accessor for mss_cache
<davem@nuts.davemloft.net>
[TCP]: Kill bogus reference to CONFIG_TCP_WESTWOOD.
<jejb@raven.il.steeleye.com>
Update qla2xxx to 8.00.00b9
From: Andrew Vasquez <praka@users.sourceforge.net>
http://sourceforge.net/projects/linux-qla2xxx/
<jejb@mulgrave.(none)>
qla2xxx - perform proper SNS scans with ISP2200 HBAs. [1/3]
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
The 2200 firmware doesn't support the MS IOCB interface the driver
uses to issue CT commands to the SNS. Basically, I had to
forward-port some code from the 6.x driver to get the SNS calls
to go through. I've had several machines (mixture of 2200s/
2300s/others with loop and fabric connections) running with this
patch for the past week.
<jejb@mulgrave.(none)>
qla2xxx - Remove unused GFT_ID code. [2/3]
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
The driver does not issue GFT_IDs for each of the ports discovered
during its SNS scan. Remove unused code.
<jejb@mulgrave.(none)>
qla2xxx - Use RIO mode 4 for ISP2100/ISP2200 operation. [3/3]
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
RIO mode 3 (originally used in the qla2xxx driver) will not work on
big-endian platforms due to the firmware returning only the first-word
of the dword command handle returned after SCSI completion. Use RIO
mode 4 since full 32bit handle is returned during status.
I've recently added an IBM p630 machine (ppc64) to my test ring with a
mix of 2200 and 2300 cards -- I feel fairly confident that most endian
type issues are addressed.
<jejb@mulgrave.(none)>
Fix mptfusion to compile without CONFIG_PM
<andrew.vasquez@qlogic.com>
[PATCH] Updated qla2xxx driver.
- Bump version number -> 8.00.00b10.
- Use down() not down_interruptible() while waiting for mailbox
completions.
o down_interruptible() is the wrong thing to do here
(in case a signal hits you sooo do the wrong thing
and corrupt the semaphore)
(Arjan van de Ven arjanv_redhat.com)
- Misc. ISP6312/ISP6322 changes:
o Asynchronous IOCB handling is not available on
ISP6312 and ISP6322 type boards.
o Firmware type (FLX) desgnation fix.
- Clean up some extraneous code:
o Remove duplicate call to qla2x00_config_os().
o Remove unused structure member rsvd in struct dev_id.
- Create single module firmware loaders for each firmware image
shipped with the driver (2/2).
- Create single module firmware loaders for each firmware image
shipped with the driver.
- Resync with latest released firmware 3.02.21.
<jejb@mulgrave.(none)>
qla2xxx: Resync with latest released firmware 3.02.21
From: Andrew Vasquez <andrew.vasquez@qlogic.com>
<patmans@us.ibm.com>
[PATCH] fix badness in scsi_single_lun_run
This patch against recent mainline bk removes the bogus WARN_ON for
single_lun devices, and a meaningless comment.
We clear the starget_sdev_user, and immediately blk_run_queue for the LUN
that just issued IO. Another LUN could race in scsi_request_fn, but it is
most likely that the last user will get there first, and reset
starget_sdev_user. If it does not, it will have to wait for the other LUN
to finish all of its IO.
<andmike@us.ibm.com>
[PATCH] media change check fails for busy unplugged device
If a request is sent through scsi_wait_req the function may be woken up
from the completion by a function other than scsi_wait_done. This can
happen as a result of cases that return BLKPREP_KILL in the scsi_prep_fn
function.
author: Mike Anderson <andmike@us.ibm.com>
patch_version: Thu Jan 29 09:03:44 UTC 2004
patched-2.6-andmike/drivers/scsi/scsi_lib.c | 2 ++
1 files changed, 2 insertions(+)
<jejb@raven.il.steeleye.com>
scsi: scatter gather alignment constraints
Make sg and st respect any block alignment
constraints for the data. Usb storage already
sets these to what it needs.
Also reset the default to 7 for other SCSI devices.
<patmans@us.ibm.com>
[PATCH] change scsi_cmd_ioctl to take a gendisk instead of a queue
This patch against a recent bk 2.6 changes scsi_cmd_ioctl to take a
gendisk as an argument instead of a request_queue_t. This allows scsi char
devices to use the scsi_cmd_ioctl interface.
In turn, change bio_map_user to also pass a request_queue_t, and add a
__bio_add_page helper that takes a request_queue_t.
Tested ide cd burning with no problems.
If the scsi upper level scsi_cmd_ioctl usage were consolidated in
scsi_prep_fn, we could pass a request_queue_t instead of a gendisk to
scsi_cmd_ioctl.
<patmans@us.ibm.com>
[PATCH] add scsi_cmd_ioctl (SG_IO) support for st
Add SG_IO support for st, so we can send scsi commands directly to an st
device.
Though st (still?) needs to move to move away from cdev for udev to
function with it.
<jejb@raven.il.steeleye.com>
SCSI: BusLogic update
From: Bob Doyle <doyle@primenet.com>
Deleted dead code:
- BusLogic_ReportTargetDeviceInfo()
- BusLogic_SelectQueueDepths()
- BusLogic_SendBusDeviceReset()
- BusLogic_ResetCommand()
Fixed:
- removed dependency on "scsi_obsolete.h"
o Changes to BusLogic_ResetHostAdapter()
o Changes to BusLogic_AbortCommand()
- removed the gratuitous typedefs per Christoph's comments
- several functions with incorrect __init and __exit sections.
- Removed vestiges of the 'Error Recovery' command line function (which
is fundamentally incompatible with the new EH design).
Left to do:
- Test eh_abort_handler
- Test eh_host_reset_handler
- Test as module
- Straighten out FlashPoint conditional compile so it doesn't
require #include "FlashPoint.c".
- Please ignore the long line length and the very lengthy
identifiers (for now).
<buffer@antifork.org>
[TCP]: Add tcp_westwood doc to ip-sysctl.txt
<jejb@raven.il.steeleye.com>
SCSI: remove qlogicfc driver
The qla2xxx drivers take its place
<yoshfuji@linux-ipv6.org>
[IPV6]: Fix reserved subnet anycast checking in __ipv6_regen_rndid().
<jejb@raven.il.steeleye.com>
SCSI: Remove AM53c974 driver
It hasn't compiled for ages and no-one seems to care ...
<jejb@raven.il.steeleye.com>
SCSI: remove mac_NCR5380 driver
It's vestigial (it doesn't have a build entry in the Makefile)
<jejb@raven.il.steeleye.com>
minor mptfusion fix
I found a minor bug in that patch. Its in mptbase_remove(). I saw
it this morning when compiling a driver for x86_64 platform. Funny
how it didn't complain in x86 system.
<dlstevens@us.ibm.com>
[IPV4]: Fix IGMP device reference counting.
1) Check indev->dead instead of IFF_UP
2) Add missing ip_mc_down() call to ip_mc_destroy_dev().
Based upon a report from Willy Tarreau.
<James.Bottomley@steeleye.com>
[PATCH] scsi_mid_low_api.txt update to clarify queuecommand return values
The only documentation about the MLQUEUE returns is in the code, it
should also be in here.
<yoshfuji@linux-ipv6.org>
[IPV6]: Fix dst leak in error path of ndisc_send_redirect().
<rddunlap@osdl.org>
[PATCH] yellowfin: correct printk of dma_addr_t
fix dma_addr_t type error with CONFIG_HIGHMEM64G=y;
<rddunlap@osdl.org>
[PATCH] sundance: correct printk of dma_addr_t
fix dma_addr_t type error with CONFIG_HIGHMEM64G=y;
<scott.feldman@intel.com>
[netdrvr e1000] Serial-over-LAN (SoL) fix
* Set VLAN filtering to IEEE 802.1Q after reset so we don't
break Serial-over-LAN (SoL) connections that use VLANs.
<scott.feldman@intel.com>
[netdrvr e1000] tx_lock
* Fix race in Tx performance path with tx_lock. Between checking
if we're out of resources and stopping the queue, we can get
a hard interrupt which will clean up all Tx work, and wake
the queue. Coming out of hard interrupt context, we stop the
queue even though no work was queued, and all work completed
has been cleaned up. Scenario requires ring to be completely
filled, which is more likely to happen with TSO, since each
TSO send consumes multiple ring entries.
<scott.feldman@intel.com>
[netdrvr e1000] Allow 1000/Full setting for Autoneg param
* Allow 1000/Full setting for AutoNeg param for Fiber connections.
Jon D Mason [jonmason@us.ibm.com].
<scott.feldman@intel.com>
[netdrvr e1000] Misc - copyright, changelog spelling
* Misc - copyright update, changelog, spelling fixes.
<scott.feldman@intel.com>
[netdrvr e1000] on-demand stats support
* Provide updated stats when requested via ->get_stats or ethtool.
Previously, driver would only update stats every 2 seconds,
which would cause some monitoring apps to show zero change
from one second to the next.
<scott.feldman@intel.com>
[netdrvr e1000] 82547 interrupt assert/de-assert re-ordering
* 82547 needs interrupt disable/enable to keep interrupt assertion
state synced between 82547 and APIC. 82547 will re-order
assert and de-assert messages if hub link bus is busy (heavy
traffic). Disabling interrupt on device works around re-
order issue. Note: this is a re-patch. We backed out the
patch because of a report on a system with a 8086:1019 device
would lock up with this patch. Turns out that system was a
pre-production sample.
<akpm@osdl.org>
[PATCH] Fix race in sched_exit()
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
Fix a race on sleep_avg in sched_exit().
The symptom I saw on 64-bit s390 has been a fixpoint divide exception
because sleep_avg had a value > NS_MAX_SLEEP_AVG. I tracked it down and
the problem is sched_exit which recalculates the parents sleep average
without taking the runqueue lock. schedule() subtracts run_time from
sleep_avg of the previous process. This can turn out negative and is
corrected shortly after the subtraction but that is already too late.
sched_exit() already read the negative value an miscalculated the parents
sleep_avg -> bang.
I fixed this by adding task_rq_lock/task_rq_unlock to sched_exit().
<akpm@osdl.org>
[PATCH] Eicon isdn driver flush_scheduled_work() fix
From: Armin <armin@melware.de>
flush_scheduled_work() may not be called from irq-context and it is not
necessary for the diva_os_cancel_soft_isr() function anyway.
<akpm@osdl.org>
[PATCH] sn2: set iommu bounce limit
From: Jes Sorensen <jes@trained-monkey.org>
The following patch sets the IOMMU bounce limit on the SN2 which is require
to avoid some ISA checks in ll_rw_blk.c causing a BUG_ON().
<akpm@osdl.org>
[PATCH] Fixes / Enhancements for PPC_GEN550
From: Tom Rini <trini@kernel.crashing.org>
Various fixes for the PPC_GEN550 backend.
- Move PPC_GEN550 bool into a more appropriate spot.
- Add PPC_GEN550 support to the MCPN765 platform.
- Allow for SERIAL_TEXT_DEBUG on PPC_GEN550.
- Add missing headers to arch/ppc/syslib/gen550_dbg.c
- Clean-up the KGDB interface such that we allow for a kgdb_map_scc call,
but do not require one.
- Add gen550 prototypes to <asm/kgdb.h>
- PPC_GEN550 backend code doesn't depend on 8250_SERIAL.
<akpm@osdl.org>
[PATCH] Make PPC601_SYNC_FIX depend on pmac||prep
From: Tom Rini <trini@kernel.crashing.org>
The following has been approved by Paul, FWIW.
The following patch makes PPC601_SYNC_FIX depend on PPC_PMAC || PPC_PREP.
It used to depend on ALL_PPC I believe, but this was (at least
semi-intentionally I gather) backed out. The last time this was discussed,
the only platforms old enough to have a 601 to support were pmacs and
preps, so it makes some sense to only ask for these machines.
<akpm@osdl.org>
[PATCH] Remove useless argument from __ste_allocate()
From: David Gibson <david@gibson.dropbear.id.au>
In the current ppc64 code the function __ste_allocate() in
arch/ppc64/mm/stab.c takes a context parameter which is never used. This
patch removes it.
<akpm@osdl.org>
[PATCH] Allow PCI BARs that start at 0
From: Anton Blanchard <anton@samba.org>
We have IO BARs on ppc64 machines that begin at address 0. The current
pci probe code will ignore anything that starts at 0. Remove these checks.
<akpm@osdl.org>
[PATCH] quiet down SMP boot messages
From: Jes Sorensen <jes@trained-monkey.org>
I'd like to propose the following for 2.6.1-mm/2.6.2. On systems with a
large number of CPUs the number of printk's flowing by for each CPU
booting starts becoming a real console hog.
The following patch eliminates a couple of them (already sent a patch to
David for the ia64 specific ones) as well as changes the
"Building zonelist : X" in "Built Y zonelists". IMHO it doesn't make any
sense to print for each zonelist since it's run in a for loop running
from 0 to Y-1 anyway.
The patch nukes a few new printk's that were introduced with the
scheduler changes to the NUMA code in -mm3, if these are still needed
then I won't fight for that part of the patch.
<akpm@osdl.org>
[PATCH] VT locking fixes
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
- Make sure that all console operations are approriately protected under
console_sem.
- Adds checks to make sure that people are taking console_sem when it is
expected to be held.
<akpm@osdl.org>
[PATCH] lock_cpu_hotplug only if CONFIG_CPU_HOTPLUG
From: Rusty Russell <rusty@rustcorp.com.au>
The cpucontrol mutex is not required when no cpus can go up and down.
Andrew wrote a wrapper for it to avoid #ifdefs, this expands that to only
be defined for CONFIG_HOTPLUG_CPU, and uses it everywhere.
The only downside is that the cpucontrol lock was overloaded by my recent
patch to net/core/flow.c to protect it from reentrance, so this
reintroduces the local flow_flush_sem. This code isn't speed critical, so
taking two locks when CONFIG_HOTPLUG_CPU=y is not really an issue.
<akpm@osdl.org>
[PATCH] ia32 MSI vector handling fix
From: "Nakajima, Jun" <jun.nakajima@intel.com>
To get the vector-based interrupt handling work, we need to give the vector
number to device drivers instead of the IRQ if IRQ < 16. It was not
happening for SCI, and the patch fixes it. In many cases, the IRQ for SCI is
9, and the problem was not detected, but one particular machine exposed the
bug.
<akpm@osdl.org>
[PATCH] kbuild: Unmangle include options for gcc
From: Sam Ravnborg <sam@ravnborg.org>
When utilising the make O=... option the include options for gcc were
mangled even when absolute paths was used. Also remove duplication of
CPPFLAGS. They were assigned twice. [It is still possible for
architectures to modify CPPFLAGS].
This patch allows xconfig to be build with make O=... xconfig.It will also
help development of external modules with absolute paths for their -I
options.
Note: As a side effect a full recompile of the kernel takes place due to
changes in number of gcc options.
<akpm@osdl.org>
[PATCH] sisfb update
From: Thomas Winischhofer <thomas@winischhofer.net>
sisfb is simply broken in current 2.6.x. This patch updates sisfb to the
current development version which no less than 11 months ahead of the version
in the kernel.
Updated includes
- many fixes (duh)
- support for new chipsets (661, 741, 760)
- support for new video bridges (301C, 302ELV)
- removal of all offending fp code (as discussed earlier this month)
- a lot of code clean-up (which is the main reason for its size)
<akpm@osdl.org>
[PATCH] Fix more gcc 3.4 warnings
From: Andi Kleen <ak@muc.de>
Just many more warning fixes for a gcc 3.4 snapshot.
It warns for a lot of things now, e.g. for ?: and ({ ... }) and casts as
lvalues. And for functions marked inline in headers, but no body.
Actually there are more warnings, i stopped fixing at some point. Some of
the warnings seem to be dubious (e.g. the binfmt_elf.c one, which looks
more like a compiler bug to me)
I also fixed the _exit() prototype to be void because gcc was complaining
about this.
<akpm@osdl.org>
[PATCH] string fixes for gcc 3.4
From: Andi Kleen <ak@muc.de>
gcc 3.4 optimizes sprintf(foo,"%s",string) into strcpy. Unfortunately that
isn't seen by the inliner and linux/i386 has no out-of-line strcpy so you
end up with a linker error.
This patch adds out of line copies for most string functions to avoid this.
Actually it doesn't export them to modules yet, that would be the next
step.
BTW In my opinion we shouldn't use inline string functions at all. The
__builtin_str* in modern gcc are better (I used them very successfully on
x86-64) and for the bigger functions like strrchr,strtok et.al. it just
doesn't make any sense to inline them or even code them in assembler.
Also fix the bcopy prototype gcc was complaining about.
<akpm@osdl.org>
[PATCH] gcc-3.5: fix extern inline decls
include/linux/bio.h:234: sorry, unimplemented: inlining failed in call to 'bio_phys_segments': function body not available
<akpm@osdl.org>
[PATCH] gcc-3.5: #ident fixes
arch/i386/kernel/msr.c:1:10: warning: extra tokens at end of #ident directive
arch/i386/kernel/cpuid.c:1:10: warning: extra tokens at end of #ident directive
<akpm@osdl.org>
[PATCH] gcc-3.5: binfmt_elf warning fix
fs/binfmt_elf.c:171: warning: use of cast expressions as lvalues is deprecated
<akpm@osdl.org>
[PATCH] gcc-3.5: pcm_misc.c warnings
sound/core/pcm_misc.c:557: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:568: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:569: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:570: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:586: warning: use of cast expressions as lvalues is deprecated
sound/core/pcm_misc.c:596: warning: use of cast expressions as lvalues is deprecated
<akpm@osdl.org>
[PATCH] gcc-3.5: fix pcm_plugin warnings
<akpm@osdl.org>
[PATCH] gcc-3.5: reiserfs fixes
include/linux/reiserfs_fs.h:1837: sorry, unimplemented: inlining failed in call to 'decrement_bcount': function body not available
<akpm@osdl.org>
[PATCH] gcc-3.5: ide.h fixes
include/linux/ide.h:1424: sorry, unimplemented: inlining failed in call to 'SELECT_MASK': function body not available
<akpm@osdl.org>
[PATCH] gcc-3.5: elevator.h fixes
include/linux/elevator.h:106: sorry, unimplemented: inlining failed in call to 'elv_try_last_merge': function body not available
<akpm@osdl.org>
[PATCH] gcc-3.5: keyboard.c fixes
drivers/char/keyboard.c:205: warning: use of conditional expressions as lvalues is deprecated
<akpm@osdl.org>
[PATCH] gcc-3.5: _exit fix
include/asm/unistd.h:397: warning: conflicting types for built-in function '_exit'
Just remove the dang thing - nobody uses _exit().
Except for the vmware stub, which breaks. So I kindly exported do_exit() to
kernel modules, just for vmware...
<akpm@osdl.org>
[PATCH] Fix inlining failure (all GCCs) in parport
From: Jan Hubicka <jh@suse.cz>
GCC never inline extern inline function redefined by new body (because it is
not clear what body one should choose)
parport contains such duplicated functions for apparently no good reasons.
Both copies differ slightly, not sure whether it is intentional or just
garbage.
<akpm@osdl.org>
[PATCH] More 3.4 compilation fixes
From: Jan Hubicka <jh@suse.cz>
GCC now converts sprintf (a,"%s",b) to strcpy. This lose on kernel as
strcpy is not inlined and not present in library, so one gets linker
failure. It seems to make sense to apply this optimization by hand.
<akpm@osdl.org>
[PATCH] gcc-3.5: sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_clientmgr.c: In function `snd_seq_open':
sound/core/seq/seq_clientmgr.c:331: warning: use of cast expressions as lvalues is deprecated
<akpm@osdl.org>
[PATCH] gcc-3.5: parport warnings
drivers/pnp/pnpbios/core.c: In function `pnpbios_probe_system':
drivers/pnp/pnpbios/core.c:438: warning: use of cast expressions as lvalues is deprecated
<akpm@osdl.org>
[PATCH] gcc-3.5: i810_accel fix
drivers/video/i810/i810_accel.c: In function `i810fb_init_ringbuffer':
drivers/video/i810/i810_accel.c:30: sorry, unimplemented: inlining failed in call to 'flush_cache': function body not available
<akpm@osdl.org>
[PATCH] gcc-3.5: misc.c warning fix
arch/i386/boot/compressed/misc.c:107: warning: conflicting types for built-in function 'puts'
<akpm@osdl.org>
[PATCH] gcc-3.5: fsfilter.h, ntfs.h
From: Tim Cambrant <tim@cambrant.com>
Fix inline decls in fsfilter.h, ntfs.h
<akpm@osdl.org>
[PATCH] gcc-3.5: zatm.c fix
drivers/atm/zatm.c: In function `zatm_close':
drivers/atm/zatm.c:1371: error: invalid lvalue in assignment
drivers/atm/zatm.c: In function `zatm_open':
drivers/atm/zatm.c:1386: error: invalid lvalue in assignment
drivers/atm/zatm.c:1398: error: invalid lvalue in assignment
drivers/atm/zatm.c: In function `zatm_module_init':
drivers/atm/zatm.c:1600: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: vxfs fixes
fs/freevxfs/vxfs.h:33:10: warning: extra tokens at end of #ident directive
fs/freevxfs/vxfs_extern.h:75: sorry, unimplemented: inlining failed in call to 'vxfs_put_page': function body not available
<akpm@osdl.org>
[PATCH] gcc-3.5: hfs fixes
fs/hfs/file_hdr.c: In function `dup_layout':
fs/hfs/file_hdr.c:246: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/atm/uPD98402.c
drivers/atm/uPD98402.c: In function `uPD98402_start':
drivers/atm/uPD98402.c:214: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: intermezzo
fs/intermezzo/dir.c: In function `presto_prep':
fs/intermezzo/intermezzo_fs.h:414: sorry, unimplemented: inlining failed in call to 'presto_is_read_only': function body not available
fs/intermezzo/presto.c: In function `izo_mark_cache':
fs/intermezzo/presto.c:341: error: invalid lvalue in assignment
fs/intermezzo/presto.c:342: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: iphase.c
drivers/atm/iphase.c: In function `open_tx':
drivers/atm/iphase.c:1757: error: invalid lvalue in assignment
drivers/atm/iphase.c: In function `ia_close':
drivers/atm/iphase.c:2674: error: invalid lvalue in assignment
drivers/atm/iphase.c: In function `ia_open':
drivers/atm/iphase.c:2687: error: invalid lvalue in assignment
drivers/atm/iphase.c:2703: error: invalid lvalue in assignment
drivers/atm/iphase.c: In function `ia_init_one':
drivers/atm/iphase.c:3199: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: suni.c
drivers/atm/suni.c: In function `suni_start':
drivers/atm/suni.c:233: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/atm/fore200e.c
drivers/atm/fore200e.c: In function `fore200e_open':
drivers/atm/fore200e.c:1420: error: invalid lvalue in assignment
drivers/atm/fore200e.c: In function `fore200e_register':
drivers/atm/fore200e.c:2485: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: ncpfs
fs/ncpfs/ncplib_kernel.h:164: sorry, unimplemented: inlining failed in call to 'ncp_strnicmp': function body not available
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/atm/eni.c
drivers/atm/eni.c: In function `eni_close':
drivers/atm/eni.c:1878: error: invalid lvalue in assignment
drivers/atm/eni.c: In function `eni_open':
drivers/atm/eni.c:1894: error: invalid lvalue in assignment
drivers/atm/eni.c:1905: error: invalid lvalue in assignment
drivers/atm/eni.c: In function `eni_init_one':
drivers/atm/eni.c:2233: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/atm/idt77105.c
drivers/atm/idt77105.c: In function `idt77105_start':
drivers/atm/idt77105.c:268: error: invalid lvalue in assignment
drivers/atm/idt77105.c: In function `idt77105_stop':
drivers/atm/idt77105.c:346: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/atm/he.c
drivers/atm/he.c: In function `he_init_one':
drivers/atm/he.c:383: error: invalid lvalue in assignment
drivers/atm/he.c: In function `he_open':
drivers/atm/he.c:2364: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: net/atm/common.c
net/atm/common.c: In function `vcc_create':
net/atm/common.c:151: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/i2c/chips/it87.c
drivers/i2c/chips/it87.c:130: warning: conflicting types for built-in function 'log2'
<akpm@osdl.org>
[PATCH] gcc-3.5: radeon
drivers/char/drm/radeon_state.c: In function `radeon_cp_dispatch_texture':
drivers/char/drm/radeon_state.c:1411: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/ide/pci/sc1200.c
drivers/ide/pci/sc1200.c: In function `sc1200_suspend':
drivers/ide/pci/sc1200.c:423: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: raid6
drivers/md/raid6x86.h:1:10: warning: extra tokens at end of #ident directive
<akpm@osdl.org>
[PATCH] gcc-3.5: mtd
drivers/mtd/chips/cfi_cmdset_0020.c:545: error: invalid lvalue in increment
drivers/mtd/chips/cfi_cmdset_0020.c:547: error: invalid lvalue in increment
drivers/mtd/chips/cfi_cmdset_0020.c:549: error: invalid lvalue in increment
<akpm@osdl.org>
[PATCH] gcc-3.5: DVB
drivers/media/dvb/frontends/ves1820.c: In function `ves1820_setup_reg0':
drivers/media/dvb/frontends/ves1820.c:244: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:244: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c: In function `ves1820_attach':
drivers/media/dvb/frontends/ves1820.c:541: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:541: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:544: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:544: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:545: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:545: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:546: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:546: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:547: error: invalid lvalue in assignment
drivers/media/dvb/frontends/ves1820.c:547: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: PCMCIA
include/pcmcia/mem_op.h: In function `copy_from_pc':
include/pcmcia/mem_op.h:85: error: invalid lvalue in assignment
include/pcmcia/mem_op.h:85: error: invalid lvalue in assignment
include/pcmcia/mem_op.h: In function `copy_to_pc':
include/pcmcia/mem_op.h:97: error: invalid lvalue in assignment
include/pcmcia/mem_op.h:97: error: invalid lvalue in assignment
include/pcmcia/mem_op.h: In function `copy_pc_to_user':
include/pcmcia/mem_op.h:109: error: invalid lvalue in assignment
include/pcmcia/mem_op.h:109: error: invalid lvalue in assignment
include/pcmcia/mem_op.h: In function `copy_user_to_pc':
include/pcmcia/mem_op.h:124: error: invalid lvalue in assignment
include/pcmcia/mem_op.h:124: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: video
drivers/media/video/mxb.c: In function `mxb_probe':
drivers/media/video/mxb.c:264: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: pnpbios
drivers/pnp/pnpbios/core.c:438: warning: use of cast expressions as lvalues is deprecated
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/scsi/53c700
In file included from drivers/scsi/53c700.c:140:
drivers/scsi/53c700.h: In function `NCR_700_set_SXFER':
drivers/scsi/53c700.h:106: error: invalid lvalue in assignment
drivers/scsi/53c700.h:107: error: invalid lvalue in assignment
drivers/scsi/53c700.h: In function `NCR_700_set_depth':
drivers/scsi/53c700.h:116: error: invalid lvalue in assignment
drivers/scsi/53c700.h:117: error: invalid lvalue in assignment
drivers/scsi/53c700.h: In function `NCR_700_set_flag':
drivers/scsi/53c700.h:137: error: invalid lvalue in assignment
drivers/scsi/53c700.h: In function `NCR_700_clear_flag':
drivers/scsi/53c700.h:142: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: advansys.c
drivers/scsi/advansys.c: In function `advansys_reset':
drivers/scsi/advansys.c:6022: error: invalid lvalue in assignment
drivers/scsi/advansys.c:6045: error: invalid lvalue in assignment
drivers/scsi/advansys.c: In function `advansys_interrupt':
drivers/scsi/advansys.c:6314: error: invalid lvalue in assignment
drivers/scsi/advansys.c: In function `asc_scsi_done_list':
drivers/scsi/advansys.c:6386: error: invalid lvalue in assignment
drivers/scsi/advansys.c: In function `asc_enqueue':
drivers/scsi/advansys.c:7437: error: invalid lvalue in assignment
drivers/scsi/advansys.c:7445: error: invalid lvalue in assignment
drivers/scsi/advansys.c:7448: error: invalid lvalue in assignment
drivers/scsi/advansys.c: In function `asc_dequeue_list':
drivers/scsi/advansys.c:7569: error: invalid lvalue in assignment
drivers/scsi/advansys.c: In function `asc_rmqueue':
drivers/scsi/advansys.c:7647: error: invalid lvalue in assignment
drivers/scsi/advansys.c:7648: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: atp870u.c
drivers/scsi/atp870u.c: In function `send_s870': drivers/scsi/atp870u.c:706: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:707: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:708: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:713: error: invalid lvalue in assignment drivers/scsi/atp870u.c:714: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:715: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:718: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:727: error: invalid lvalue in assignment drivers/scsi/atp870u.c:728: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:729: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:734: error: invalid lvalue in assignment drivers/scsi/atp870u.c:735: error: invalid lvalue in assignment
drivers/scsi/atp870u.c:736: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: gdth.c
drivers/scsi/gdth.c:267:10: warning: extra tokens at end of #ident directive
<akpm@osdl.org>
[PATCH] gcc-3.5: fbcon.c
drivers/video/console/fbcon.c: In function `fbcon_set_font':
drivers/video/console/fbcon.c:2000: error: invalid lvalue in decrement
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/video/riva/fbdev.c
drivers/video/riva/fbdev.c: In function `rivafb_load_cursor_image':
drivers/video/riva/fbdev.c:498: error: invalid lvalue in increment
drivers/video/riva/fbdev.c:499: error: invalid lvalue in increment
drivers/video/riva/fbdev.c: In function `rivafb_imageblit':
drivers/video/riva/fbdev.c:1440: error: invalid lvalue in increment
drivers/video/riva/fbdev.c:1449: error: invalid lvalue in increment
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/video/cfbimgblt.c
drivers/video/cfbimgblt.c: In function `color_imageblit':
drivers/video/cfbimgblt.c:140: error: invalid lvalue in assignment
drivers/video/cfbimgblt.c: In function `slow_imageblit':
drivers/video/cfbimgblt.c:206: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/video/vgastate.c
drivers/video/vgastate.c: In function `save_vga':
drivers/video/vgastate.c:368: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] gcc-3.5: arch/i386/kernel/traps.c
++nmi_count(cpu);
arch/i386/kernel/traps.c: In function `do_nmi':
arch/i386/kernel/traps.c:552: error: invalid lvalue in increment
and
include/linux/netdevice.h: In function `__netif_rx_schedule':
include/linux/netdevice.h:818: error: invalid lvalue in assignment
include/linux/netdevice.h: In function `netif_rx_reschedule':
include/linux/netdevice.h:842: error: invalid lvalue in assignment
This fix will probably reintroduce unused variable warnings...
<akpm@osdl.org>
[PATCH] x86-64 fixes for gcc 3.5
From: Andi Kleen <ak@muc.de>
Fix all the x86-64 warnings with gcc 3.5 and make it compile again.
<akpm@osdl.org>
[PATCH] bitmap parsing/printing routines, version 4
From: Joe Korty <joe.korty@ccur.com>
1) the version in 2.6.1 is broken, doesn't work on 64bit big endian
machines at all. This needed fixing. I thought it best to fix by
rewriting the printer/parser with an algorithm that is naturally endian &
sizeof(long) resistant.
2) I wanted all digits to print, eg, 0000ffff,00000004 not ffff,4.
3) I wanted exactly NR_CPUS bits to print (or whatever the bitmap size is
in bits, and not have what is displayed rounded up to the nearest full
byte, as the current version did.
4) The bitmap printer and parser should be part of bitmap.[ch] with syntax
and semantics to match. The original lib/mask.c versions did not
recognize this commonality.
<akpm@osdl.org>
[PATCH] i387: handle copy_from_user() error
From: "Randy.Dunlap" <rddunlap@osdl.org>
Eugene TEO <eugeneteo@eugeneteo.net>
<akpm@osdl.org>
[PATCH] printk_ratelimit() tweaks
From: Anton Blanchard <anton@samba.org>
I made a few changes, basically the burst parameter is now in units of
messages, makes much more sense than the old net ratelimit one.
I also screwed up adding a sysctl_jiffies strategy for the burst parameter.
<akpm@osdl.org>
[PATCH] add readX_relaxed() interface
From: jbarnes@sgi.com (Jesse Barnes)
Here's the patch to add the new _relaxed variants for PIO read accesses.
It's been ack'd by gregkh and Grant Grundler, and I think it's ready to
go.
PCI ordering rules also guarantee that PIO read responses arrive after any
outstanding DMA writes on that bus, since for some devices the result of a
readb() call may signal to the driver that a DMA transaction is complete. In
many cases, however, the driver may want to indicate that the next readb()
call has no relation to any previous DMA writes performed by the device. The
driver can use the readb_relaxed() for these cases, although only some
platforms will honor the relaxed semantics.
<akpm@osdl.org>
[PATCH] Kconfig: use select statements
From: Sam Ravnborg <sam@ravnborg.org>
- Use keyword select in relevant warning
- Include more information in warnings related to select
- Move part of error-checking to a sepearate function
- Added helpers used when issuing warnings - makes code simpler
- Wrapped most edited lines at column 80
<akpm@osdl.org>
[PATCH] kconfig/wireless: Replace enable with select
From: Sam Ravnborg <sam@ravnborg.org>
'enable' is not documented in Documentation/kbuild/kconfig-language.txt So
remove usage in the only Kconfig file in the kernel tree where it was used.
<akpm@osdl.org>
[PATCH] use __attribute_const__ everywhere
From: Nikita Danilov <Nikita@Namesys.COM>
Replace all existing usages of __attribute__((const)) with
__attribute_const__.
<akpm@osdl.org>
[PATCH] EDD: read disk80 MBR signature, export through edd module
From: Matt Domsch <Matt_Domsch@dell.com>
There are 4 bytes in the MSDOS master boot record, at offset 0x1b8,
which may contain a per-system-unique signature. By first writing a unique
signature to each disk in the system, then rebooting, and then reading the
MBR to get the signature for the boot disk (int13 dev 80h), userspace may
use it to compare against disks it knows as named /dev/[hs]d[a-z], and thus
determine which disk is the BIOS boot disk, thus where the /boot, / and
boot loaders should be placed.
This is useful in the case where the BIOS is not EDD3.0 compliant, thus
doesn't provide the PCI bus/dev/fn and IDE/SCSI location of the boot disk,
yet you need to know which disk is the boot disk. It's most useful in OS
installers.
This patch retrieves the signature from the disk in setup.S, stores it in a
space reserved in the empty_zero_page, copies it somewhere safe in setup.c,
and exports it via /sys/firmware/edd/int13_disk80/mbr_signature in edd.c.
Code is covered under CONFIG_EDD=[ym].
<akpm@osdl.org>
[PATCH] swsusp does not stop DMA properly during resume
From: Pavel Machek <pavel@ucw.cz>
To correctly stop all DMA activity, make the boot kernel put all devices
into suspend state before entering the resume kernel image.
<akpm@osdl.org>
[PATCH] Trivial cleanups for swsusp
From: Pavel Machek <pavel@ucw.cz>
This kills unused part of struct and fixes spelling.
It also fixes codingstyle a bit, converts "can not happen" panic into BUG_ON
(fill_suspend_header() allocates no memory so panic is meaningless) and adds
check for sizeof (struct link) [if that is not PAGE_SIZE, we have *bad*
problem, better check early].
<akpm@osdl.org>
[PATCH] Allow software_suspend to fail
From: Pavel Machek <pavel@ucw.cz>
software_suspend() can fail for quite a lot of reasons (for example not
enough swapspace). However current interface returned void, so you could
not propagate error back to userland. This fixes it. Plus
__read_suspend_image() is only done during init time, so we might as well
mark it __init.
<akpm@osdl.org>
[PATCH] vmalloc address offset fix
From: Anton Blanchard <anton@samba.org>
Paul wrote a patch to use some of the rmap infrastructure to flush TLB
entries on ppc64. When testing it we found a problem in vmalloc where it
sets up the pte -> address mapping incorrectly. We clear the top bits of
the address but then forget to pass in the full address to
pte_alloc_kernel. The end result is the address in page->index is
truncated.
I fixed it in a similar way to how zeromap_pmd_range etc does it. I'm
guessing no one uses the rmap hooks on vmalloc pages yet, so havent seen
this problem.
<akpm@osdl.org>
[PATCH] hugetlbfs directory entry cleanup
From: Anton Blanchard <anton@samba.org>
hugetlbfs is doing strange things with directory sizes. Al says there is no
semantics for reported size of directories so we can remove this code.
<akpm@osdl.org>
[PATCH] libfs mtime/ctime updates
From: Anton Blanchard <anton@samba.org>
Update ctime/mtime in libfs where appropriate.
<akpm@osdl.org>
[PATCH] hugetlbfs cleanup
From: Anton Blanchard <anton@samba.org>
Remove some duplicated hugetlbfs code.
<akpm@osdl.org>
[PATCH] check do_munmap() failure
From: Andrea Arcangeli <andrea@suse.de>
Return the proper error code
<akpm@osdl.org>
[PATCH] missing `console_driver' with CONFIG_VT && !CONFIG_VT_CONSOLE
From: Jun Sun <jsun@mvista.com>
'console_driver' is defined only when CONFIG_VT_CONSOLE is set. However it
is used by vty_init() which is outside the scope of CONFIG_VT_CONSOLE.
<akpm@osdl.org>
[PATCH] Make naming of parititions in sysfs match /proc/partitions.
From: Neil Brown <neilb@cse.unsw.edu.au>
In fs/partitions/check.c there are two pieces of code that add a
partition number to a block-device name:
- the 'disk_name' function
- a snprintf in add_partitions.
'disk_name' inserts a 'p' before the partition number if the device
name ends with a digit. The snprintf in add_partitions doesn't.
This patch rectifies this anomoly so that names in sysfs can be
parsed more reliably.
This has been extensively discussed. It will probably break the external
`iostat' tool. But only for disks whose name ends in a digit, which appears
to be only DAC960.
<akpm@osdl.org>
[PATCH] ppc32: Set HZ to 1000 on ppc32
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This patch has been in my tree for monthes and Paulus agrees that it should
be made generic, so here we go, PPC32 is now proud to run at 1000HZ :)
<akpm@osdl.org>
[PATCH] fix blockdev --getro for sr, sd, ide-floppy
From: John McKell <mckellj@iomega.com>
This 2.6.1 patch works by setting gendisk->policy to the correct value
during initialization as the various drivers decide whether or not the disk
is writeable. This patch persuades "blockdev --getro ..." to correctly
report the read-only state of a newly inserted disk. This patch applies to
sr.c, sd.c and ide-floppy.c. ide-cd.c already has this functionality built
into it.
Using an Iomega Zip drive as the test case...
Without the patch, I always see:
$ sudo blockdev --getro /dev/sda
0
$
That's only correct for writeable disks though. Only when the patch
is applied do I see a write-protected disk described correctly:
$ sudo blockdev --getro /dev/sda
1
$
<akpm@osdl.org>
[PATCH] console: support for > 127 chars
From: Nigel Cunningham <ncunningham@users.sourceforge.net>
Change the console code to support up to 256 (maybe 255?) columns.
<akpm@osdl.org>
[PATCH] remove valid_addr_bitmap
From: William Lee Irwin III <wli@holomorphy.com>
->valid_addr_bitmap is initialized nowhere. Any kern_addr_valid() testing
it returns 0 unconditionally.
This patch converts kern_addr_valid() implementations using it to return 0
as per the above and removes it from structures and zone initialization.
Untested (not even compiletested), though a similar patch also nuking
d_validate() was in use in -wli for several months.
<akpm@osdl.org>
[PATCH] osst.c: suppress page allocation failure warnings
This driver is trying an order-9 allocation and if that fails, order 8, etc.
Crufty, but we do expect failures, so suppress the warnings.
<akpm@osdl.org>
[PATCH] initialise cpu_vm_mask in init_mm
From: Anton Blanchard <anton@samba.org>
Some architectures use cpu_vm_mask to optimise TLB flushes. On ppc64 we
are now using a common flush infrastructure that handles both userspace and
kernelspace (vmalloc) pages. In order to avoid triggering this
optimisation we need to mark the init mm as having scheduled on all cpus.
Things currently work by luck (we check for the cpu only having run on the
local cpu, and the field is initialised to 0), but it would be safer to
initialise it CPU_MASK_ALL.
<akpm@osdl.org>
[PATCH] deprecate the raw driver
Fat chance, but we should try.
<akpm@osdl.org>
[PATCH] Fix deep stack usage in ncpfs
From: Petr Vandrovec <vandrove@vc.cvut.cz>
Arjan van de Ven pointed out to me there are no checks on name component
lengths in ncpfs, so potentially 4KB regions could be allocated on stack,
leading to the user controlled stack overflow.
It was using variable-sized arrays, so this snuck past the static
stack-usage checking tools.
As NCP is limited to 255 bytes on components, we can simple limit these
local variables to 256 bytes, and after this stack usage looks more
acceptable. Length checking occurs inside ncp_vol2io, during
iocharset->codepage conversion.
As a side effect support for multibyte codepages now works as it should,
instead of returning -EINVAL whenever filename in 'codepage' encoding was
longer than in 'iocharset'.
Other part fixes typo where atime change updated ctime and not atime field.
<akpm@osdl.org>
[PATCH] remove_suid() fix
From: viro@parcelfarce.linux.theplanet.co.uk
bernhard_heibler@gmx.de has discovered that NFS is very slow when writing to
a file which has execute permissions. See
http://bugme.osdl.org/show_bug.cgi?id=1936
This patch fixes remove_suid() to not try to modify the inode mode on every
write to such a file.
<akpm@osdl.org>
[PATCH] md: Move the test in preferred_minor to where it is used.
From: NeilBrown <neilb@cse.unsw.edu.au>
A RAID superblock can indicate which minor number the array should be
assembled under. As this is only meaningful when doing auto-start, we move
the test for it being in the valid range to the place where auto-start
happens. When an array is started any other way, it doesn't matter what
value is here.
<akpm@osdl.org>
[PATCH] md: Fixes to make debuging output nicer.
From: NeilBrown <neilb@cse.unsw.edu.au>
This patch thanks to Paul Clements <Paul.Clements@SteelEye.com> and only has
effect if md is compiled with #define DEBUG 1
<akpm@osdl.org>
[PATCH] md: Collect device IO statistics for MD personalities.
From: NeilBrown <neilb@cse.unsw.edu.au>
Update {read,write}{s,_sectors} on each request to an MD array.
<akpm@osdl.org>
[PATCH] md: Change the way the name of an md device is printed in error messages.
From: NeilBrown <neilb@cse.unsw.edu.au>
Instead of using ("md%d", mdidx(mddev)), we now use ("%s", mdname(mddev))
where mdname is the disk_name field in the associated gendisk structure.
This allows future flexability in naming.
<akpm@osdl.org>
[PATCH] /proc/paritions: omit removable media
From: Neil Brown <neilb@cse.unsw.edu.au>
If programs like mount use /proc/partitions to find filesystems based on
labels, then surely we want md devices in there as they often contain
filesystems.
If the problem is that mount-by-label takes forever with removable media
then surely the "right" approch is the following patch, and then actually
set this flag on the "floppy.c" device. (It is already set for ide-floppy
and sd devices).
<akpm@osdl.org>
[PATCH] remove SIIG combo cards PCI ids from parport_pc
From: Andrey Panin <pazke@donpac.ru>
support for SIIG made serial/parallel conbo cards was moved to
parport_serial driver some months ago, but their PCI ids still remain in
parport_pc PCI device table. Attached patch removes them.
<akpm@osdl.org>
[PATCH] Remove memblks from the kernel
From: "Martin J. Bligh" <mbligh@aracnet.com>
This patch removes memblks from the kernel ... we don't use them, and the
NUMA API that was planning to use them when they were originally designed
isn't going to use them anymore. They're just unnecessary added complexity
now ... time for them to go.
There's a slight complication in that ia64 uses something with a similar
name for part of its memory layout, but Jes Sorensen kindly untangled them
from each other for us. The patch with his modifications is below. Jes
tested it on ia64, and I testbuilt it with every config in my arsenal.
<akpm@osdl.org>
[PATCH] Clean up raid6 kbuild output
From: Sam Ravnborg <sam@ravnborg.org>
During raid6 compilation with KBUILD_VERBOSE unset we see invokations of
perl commands which should not have been displayed.
<akpm@osdl.org>
[PATCH] Better "Losing Ticks" Error Message
From: timothy parkinson <t@timothyparkinson.com>
Seems like a lot of people see the below error message, but aren't quite
sure why it happens or how to fix it. I sure didn't. Here's my attempt at
remedying that.
<akpm@osdl.org>
[PATCH] posix_timers fixes
From: George Anzinger <george@mvista.com>
- Removes C++ comment in favor of C style.
- Removes the special treatment for MIPS SIGEV values. We only require
(and error if this fails) that the SIGEV_THREAD_ID value not share bits
with the other SIGEV values. Note that mips has yet to define this value
so when they do...
- Corrects the check for the signal range to be from 1 to SIGRTMAX
inclusive.
- Adds a check to verify that kmem_cache_alloc() actually returned a timer,
error if not.
- Fixes a bug in timer_gettime() where the incorrect value was returned if
a signal was pending on the timer OR the timer was a SIGEV_NONE timer.
<akpm@osdl.org>
[PATCH] Zero last byte of mount option page.
From: James Morris <jmorris@redhat.com>
Here's a patch which zeroes the last byte of the mount option data copied
from userspace during mount(2).
For filesystems which parse mount options as strings (the majority), lack
of a zero terminator could cause the page to be overrun. The source code
comments specify that the maximum size of the mount data is PAGE_SIZE-1, so
this patch will not affect any valid binary-formatted mount data.
<akpm@osdl.org>
[PATCH] futex: remove redundant test
From: Jamie Lokier <jamie@shareable.org>
One of the tests in unqueue_me() is redundant. If we acquire the spinlock,
the futex must be queued.
<akpm@osdl.org>
[PATCH] janitor: change a few SYSRQ to MAGIC_SYSRQ
From: "Randy.Dunlap" <rddunlap@osdl.org>,
Domen Puncer <domen@coderock.org>
Noone tested that code to see if it really works?
<akpm@osdl.org>
[PATCH] janitor: dz: verify_area() removal
From: "Randy.Dunlap" <rddunlap@osdl.org>,
Domen Puncer <domen@coderock.org>
<akpm@osdl.org>
[PATCH] janitor: sound/oss: use C99 inits.
From: "Randy.Dunlap" <rddunlap@osdl.org>,
"Maciej Soltysiak" <solt@dns.toxicfilms.tv>
C99 initializers for linux/sound.
<akpm@osdl.org>
[PATCH] console cleanup
From: Sam Ravnborg <sam@ravnborg.org>,
Ben Collins <bcollins@debian.org>
Fix up the console makefiles and logo generation.
1) To make output look like the rest of the kernel build.
2) To avoid make utilising chained rules, and therefore issuing a 'rm
drivers/video/logo/linux_logo.c ...' during the build.
I have previously submitted a few patches for logo/Makefile, but this is the
first one that actually address the problems I have seen in a proper way.
And no, I did not like such a simple thing to look that complicated, the
other option was to list too many files or to use other types of kbuild/make
magic.
<akpm@osdl.org>
[PATCH] oprofile per-cpu buffer overrun
From: Philippe Elie <phil.el@wanadoo.fr>
In a ring buffer controlled by a read and write positions we can't use
buffer_size but only buffer_size - 1 entry, the last free entry act as a
guard to avoid write pos overrun. This bug was hidden because the writer,
oprofile_add_sample(), request one more entry than really needed.
<akpm@osdl.org>
[PATCH] oprofile, typo in alpha driver
From: Philippe Elie <phil.el@wanadoo.fr>
Unless I miss something this look like a typo, one user reported to get
error from the daemon: 'Unknown event for counter 1' (alpha ev6) and the
behavior was better but not completly sane after trying this patch: he get
spurious event for counter 1 when enabling only counter 0 but rarely now.
No alpha box to test this.
<akpm@osdl.org>
[PATCH] copy_namespace ENOMEM fix
From: Marcus Alanen <maalanen@ra.abo.fi>
The copy_tree() function can return NULL, so this checks for it.
<akpm@osdl.org>
[PATCH] janitor: vgastate: cleanup iounmap() usage
From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Leann Ogasawara <ogasawara@osdl.org>
Patch inserts missing iounmap's on error and also removes unnecessary
iounmap's.
<akpm@osdl.org>
[PATCH] [janitor] vga16fb: add missing iounmap()
From: "Randy.D