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.Dunlap" <rddunlap@osdl.org>
Leann Ogasawara <ogasawara@osdl.org>
Patch inserts missing iounmap() on error.
<akpm@osdl.org>
[PATCH] __d_path needs vfsmount_lock
From: Mike Waychison <Michael.Waychison@Sun.COM>
- protect vfsmount->mnt_parent by taking vfsmount_lock in __d_path
<akpm@osdl.org>
[PATCH] namei.c: take vfsmount_lock
From: Mike Waychison <Michael.Waychison@Sun.COM>
The attached patch ensures that we grab vfsmount_lock when grabbing a
reference to mnt_parent in follow_up and follow_dotdot.
We also don't need to access ->mnt_parent in follow_mount and
__follow_down to mntput because we already the parent pointer on the stack.
<akpm@osdl.org>
[PATCH] try reiserfs before other filesystems
reiserfs places its superblock in weird places which can result in false
positives and various printks when other filesystems probe a resierfs
filesystem.
<akpm@osdl.org>
[PATCH] UFS: honour `silent' parameter.
From: GOTO Masanori <gotom@debian.or.jp>
Teach ufs_fill_super() to honour the `silent' parameter.
<akpm@osdl.org>
[PATCH] Fine tune the time conversion to eliminate conversion errors.
From: George Anzinger <george@mvista.com>
The time conversion code is erroring on the side of a bit too small. The
attached patch forces any error to be on the high side. The current code will
convert 1 nanosecond to zero jiffies (standard says that should be 1). It also
is around 1 nanosecond late on each roll to the next jiffie.
I have done some error checks with this patch applied and get the following
errors in PPB ( Parts Per Billion):
HZ nano sec conversion microsecond conversion
1000 315 45
1024 227 40
100 28 317
In all cases the error is on the high side, which means that the final shift
will, most likely, eliminate the error bits.
<akpm@osdl.org>
[PATCH] /proc/stat:btime fix
From: George Anzinger <george@mvista.com>,
Petri Kaukasoina <kaukasoi@elektroni.ee.tut.fi>
btime in /proc/stat does not stay constant but decreases at a rate of 15
secs/day, because we're assuming that HZ is exactly 100. Use the correct
adjustments to fix that up.
<akpm@osdl.org>
[PATCH] fix menuconfig choice item help display
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
Anders Gustafsson <andersg@0x63.nu>
Roman Zippel <zippel@linux-m68k.org>
This patch fixes menuconfig so it can display help text for individual
choice group config entries.
Previously it would only display the help text attached to the "choice"
item. There was no way to display the help attached to individual config
entries inside the choice group. Typically, the "choice" item has no help
text, and all the useful help is attached to the individual entries, so
this was a bit of a problem.
<akpm@osdl.org>
[PATCH] u_int32_t causes cross-compile problems
From: Pratik Solanki <pratik.solanki@timesys.com>
I came across this C standards issue while cross-compiling the Linux kernel
with gcc on Solaris. The file gen_crc32table.c uses the non-standard type
u_int32_t. It's possible that the host machine's sys/types.h does not
define u_int32_t. The attached patch replaces u_int32_t with the POSIX
standard uint32_t and includes POSIX inttypes.h instead of sys/types.h.
<akpm@osdl.org>
[PATCH] ac97 OSS driver removal fix
From: Andrew Zabolotny <zap@homelink.ru>
ac97_unregister_driver() is nulling out the ->driver field for all codecs.
It should only null the codecs which are using this driver.
<akpm@osdl.org>
[PATCH] is_subdir locking fix
From: Maneesh Soni <maneesh@in.ibm.com>
o The following patch fixes is_subdir() races with d_move. Due to concurrent
d_move, in is_subdir() we can end up accessing freed d_parent pointer in
case of pre-emptible kernel. To avoid this we can use rcu_read_lock() and
rcu_read_unlock().
o This also fixes the seqlock uses in is_subdir() as we need to restart the
the inner loop with the origianl new_dentry passed to the routine in case
of any rename occured while we are traversing d_parent links.
<akpm@osdl.org>
[PATCH] proc_check_root() locking fix
From: Maneesh Soni <maneesh@in.ibm.com>
The patch fixes locking in proc_check_root(). It brings is_subdir() call
under vfsmount_lock. Holding vfsmount_lock will ensure mnt_mountpoint
dentry is intact and the dentry does not go away while it is being checked
in is_subdir().
<akpm@osdl.org>
[PATCH] ide-cd mo write protect
From: Jens Axboe <axboe@suse.de>
It's from Pascal Schmidt and adds write protect handling to ide-cd along
with support for non-2kb block sizes.
<akpm@osdl.org>
[PATCH] rate limit nr_free_pages
From: Jes Sorensen <jes@trained-monkey.org>
nr_free_pages() is expensive, especially on large SMP machines. The patch
changes the memory overcommit code so that it only calls nr_free_pages() is
we're about to fail the allocation attempt.
<akpm@osdl.org>
[PATCH] Use address hint in mmap for search
From: Andi Kleen <ak@suse.de>
When the user gave an address hint in mmap use it as starting point for the
search for !MAP_FIXED.
Currently it is only checked directly and when already used the free area
cache is used as starting point. With this change you can use mmap(4096,
....) to e.g. get the lowest free address in your address space, which is
sometimes useful. For example on x86-64 glibc wants to preferably allocate
thread local data in the first 4GB but use higher addresses when this is
not possible.
This can be a bit more costly in CPU time because it may have to skip over
more VMAs, but gives better semantics for most cases. Most programs pass
NULL as hint anyways so it won't make any difference for them.
I did it for the generic mmap and for x86-64 for now. Also minor white
space fixes for x86-64.
<akpm@osdl.org>
[PATCH] shrink_list(): check PageSwapCache() after add_to_swap()
From: Nikita Danilov <Nikita@Namesys.COM>
shrink_list() checks PageSwapCache() before calling add_to_swap(), this
means that anonymous page that is going to be added to the swap right
now these checks return false and:
(*) it will be unaccounted for in nr_mapped, and
(*) it won't be written to the swap if gfp_flags include __GFP_IO but
not __GFP_FS.
(Both will happen only on the next round of scanning.)
Patch below just moves may_enter_fs initialization down. I am not sure
about (*nr_mapped) increase though.
<akpm@osdl.org>
[PATCH] as-iosched.txt update
From: Dave Olien <dmo@osdl.org>
acked by npiggin.
<akpm@osdl.org>
[PATCH] enable fast symbol lookup via an inverted index in cscope
From: Louis Zhuang <louis_zhuang@linux.co.intel.com>
enable fast symbol lookup via an inverted index.
<akpm@osdl.org>
[PATCH] Lindent fixed to match reality
From: Matt Mackall <mpm@selenic.com>
I've been fiddling with cleaning up some old code here and suggest the
following to make Lindent match actual practice more closely. This does:
a) (no -psl)
void *foo(void)
{
instead of
void *
foo(void) {
b) (no -bs) "sizeof(foo)" rather than "sizeof (foo)"
c) (-ncs) "(void *)foo" rather than "(void *) foo"
<akpm@osdl.org>
[PATCH] Move cpu_vm_mask to be closer to mmu_context_t in struct mm
From: Jack Steiner <steiner@sgi.com>
The cpu_vm_mask use to be close to the mmu_context_t field in the mm
struct. Recently some large members were added between "cpu_vm_mask" and
"context". I suspect that was an oversight.
Here is a patch that puts the fields close together. This makes it likely
that both fields are in the same cache line. Since both fields are likely
to be updated at the same time, this may improve performance.
<akpm@osdl.org>
[PATCH] PCI Scan all functions
From: Jake Moilanen <moilanen@austin.ibm.com>
On a ppc64 logically partitioned system, there can be a setup where function
0 of a PCI-PCI bridge is assigned to one partition and (for example) function
2 is assigned to a second partition. On the second partition, it would
appear that function 0 does not exist, but function 2 does. If all the
functions are not scanned, everything under function 2 would not be detected.
This patch allows devices that don't respond to function 0, but do respond to
other functions to be marked with a quirk and have all of their functions
scanned.
<akpm@osdl.org>
[PATCH] CDROMREADAUDIO frames
From: Jens Axboe <axboe@suse.de>
2.6 imposes a 64 frame limit where 2.4 does not (just relies on kmalloc()
failing and limiting frames from that). That breaks at least on guys app.
With MSF adressing, it's much simpler to be able to ask for a full second
at the time, so I think we should just allow that. So bump the limit from
64 to CD_FRAMES (which is 75).
<akpm@osdl.org>
[PATCH] Remove uneeded dentry assignment
From: James Morris <jmorris@redhat.com>
It seems to me that this dentry assignment in open_namei is not needed per
the patch below. On this path, dentry is not referenced.
<akpm@osdl.org>
[PATCH] missing export of cpu_2_node
From: Patrick Mansfield <patmans@us.ibm.com>
On NUMAQ, any module which calls __alloc_pages() needs cpu_2_node() (via
cpu_to_node()).
This patch exports cpu_2_node.
<akpm@osdl.org>
[PATCH] Remove the unused kmalloc_percpu_init()
From: Martin Hicks <mort@wildopensource.com>
This patch removes kmalloc_percpu_init() from include/linux/percpu.h
It is unused and doesn't seem to be required.
<akpm@osdl.org>
[PATCH] ppp: try harder to allocate the deflate buffer
We're using a 4-order allocation in there and it can fail. Change it to just
keep reclaiming memory until something gives.
<akpm@osdl.org>
[PATCH] fix compilation warnings in neofb.c
From: Junio C Hamano <junkio@cox.net>
Compiling neofb.c without MTRR results in two "unused variable" warnings.
<akpm@osdl.org>
[PATCH] istallion compile fix
From: Geert Uytterhoeven <geert@linux-m68k.org>
Fix compilation if CONFIG_PCI is not set
<akpm@osdl.org>
[PATCH] Moxa serial compile fixes
From: Geert Uytterhoeven <geert@linux-m68k.org>
Compile fixes for the Moxa serial drivers:
- Add missing #include <linux/init.h>
- Kill warning if CONFIG_PCI is not set
<akpm@osdl.org>
[PATCH] Specialix compile fix
From: Geert Uytterhoeven <geert@linux-m68k.org>
Compile fix: add missing #include <linux/init.h>
<akpm@osdl.org>
[PATCH] Hisax compile fix
From: Geert Uytterhoeven <geert@linux-m68k.org>
Never include <asm/delay.h> directly
<akpm@osdl.org>
[PATCH] DVB compile fix
From: Geert Uytterhoeven <geert@linux-m68k.org>
Never include <asm/delay.h> directly
<akpm@osdl.org>
[PATCH] SElinux compile fix
From: Geert Uytterhoeven <geert@linux-m68k.org>
Spinlock code needs <linux/sched.h>
<akpm@osdl.org>
[PATCH] fix memory leak while coredumping
From: IWAMOTO Toshihiro <iwamoto@valinux.co.jp>
This patch fixes a memory leak that happens when a core file hits the
process's resource limit.
<akpm@osdl.org>
[PATCH] Fix x86-64 boot problem
From: Andi Kleen <ak@muc.de>
Fix a bug introduced with the last merge that prevented booting with
CONFIG_DEBUG_INFO on on x86-64. It would corrupt registers in interrupts.
This has hit a few people, so I would consider it as a critical fix.
<akpm@osdl.org>
[PATCH] Altix update: various, mainly cleanups
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/machvec/pci_bus_cvlink.c
Changes for new pcireg_ interfaces
pcibr reorg
Some code cleanup/reorg
arch/ia64/sn/io/machvec/pci_dma.c
IS_PCIA64() not needed
arch/ia64/sn/io/sn2/ml_iograph.c
new pcireg_ interface
arch/ia64/sn/io/sn2/pcibr/pcibr_ate.c
code reorg/clean up
arch/ia64/sn/io/sn2/pcibr/pcibr_config.c
code reorg/cleanup
arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c
reorg/cleanup
arch/ia64/sn/io/sn2/pcibr/pcibr_error.c
reorg/cleanup
arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c
reorg/cleanup
arch/ia64/sn/io/sn2/pcibr/pcibr_reg.c
Fixed the interface to these functions - one call/data type
arch/ia64/sn/io/sn2/pcibr/pcibr_rrb.c
reorg/cleanup
arch/ia64/sn/io/sn2/pcibr/pcibr_slot.c
reorg/cleanup
arch/ia64/sn/io/sn2/pciio.c
removed unused functions
arch/ia64/sn/io/sn2/pic.c
reorg/cleanup
arch/ia64/sn/kernel/irq.c
IS_PIC_SOFT not needed
mod for new pcireg_ interfaces
include/asm-ia64/sn/module.h
nodes/geoid[] -> MAX_SLABS
include/asm-ia64/sn/pci/bridge.h
IS_[X]BRIDGE not needed
include/asm-ia64/sn/pci/pci_bus_cvlink.h
SET_PCIA64 and IS_PCIA64 not needed
isa64, dma_buf_sync, xbow_buf_sync gone
include/asm-ia64/sn/pci/pcibr.h
mostly cleanup
some reorg mods
include/asm-ia64/sn/pci/pcibr_private.h
some reorg code
protos for new pcireg_ interfaces
include/asm-ia64/sn/pci/pciio.h
cleanup
include/asm-ia64/sn/pci/pic.h
cleanup
include/asm-ia64/sn/sn2/intr.h
changed IA64_SN2_FIRST_DEVICE_VECTOR and IA64_SN2_LAST_DEVICE_VECTOR
<akpm@osdl.org>
[PATCH] Altix update: small cleanups
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/io.c@1.12
misc code cleanup
no parens on returns
remove __psunsigned_t
arch/ia64/sn/io/sn2/ml_iograph.c@1.18
no parens on returns
arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c@1.25
no parens on returns
use -errno
arch/ia64/sn/io/sn2/pcibr/pcibr_hints.c@1.8
no parens on returns
arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c@1.15
no parens on returns
unsigned to unsigned int
arch/ia64/sn/io/sn2/pcibr/pcibr_rrb.c@1.13
no parens on returns
use -errno
arch/ia64/sn/io/sn2/pcibr/pcibr_slot.c@1.18
no parens on returns
use -errno
arch/ia64/sn/io/sn2/pciio.c@1.14
oom handling
removed ASSERT and funcs not needed
arch/ia64/sn/io/sn2/pic.c@1.13
use -errno
arch/ia64/sn/io/sn2/shuberror.c@1.12
add delay.h
arch/ia64/sn/io/sn2/xbow.c@1.10
include file clean up
arch/ia64/sn/io/sn2/xtalk.c@1.9
misc code cleanup
no parens on returns
arch/ia64/sn/io/xswitch.c@1.11
misc code cleanup
arch/ia64/sn/kernel/bte.c@1.5
include file clean up
arch/ia64/sn/kernel/mca.c@1.8
include file clean up
arch/ia64/sn/kernel/probe.c@1.5
include file clean up
arch/ia64/sn/kernel/sn2/prominfo_proc.c@1.3
include file clean up
arch/ia64/sn/kernel/sn2/sn2_smp.c@1.9
include file clean up
arch/ia64/sn/kernel/sn2/sn_proc_fs.c@1.4
include file clean up
drivers/char/sn_serial.c@1.3
include file clean up
include/asm-ia64/sn/addrs.h@1.8
include file clean up
remove __psunsigned_t
include/asm-ia64/sn/alenlist.h@1.8
unsigned to unsigned int
include/asm-ia64/sn/arch.h@1.7
include file clean up
include/asm-ia64/sn/bte.h@1.6
include file clean up
include/asm-ia64/sn/clksupport.h@1.8
include file clean up
include/asm-ia64/sn/driver.h@1.5
remove __psunsigned_t
include/asm-ia64/sn/hcl.h@1.13
include file clean up
include/asm-ia64/sn/hcl_util.h@1.7
include file clean up
include/asm-ia64/sn/hwgfs.h@1.5
include file clean up
include/asm-ia64/sn/iograph.h@1.9
include file clean up
include/asm-ia64/sn/klconfig.h@1.14
remove __psunsigned_t
include/asm-ia64/sn/kldir.h@1.5
remove __psunsigned_t
include file clean up
include/asm-ia64/sn/module.h@1.12
include file clean up
include/asm-ia64/sn/nodepda.h@1.14
include file clean up
include/asm-ia64/sn/pci/bridge.h@1.13
uchar_t to unsigned char
include/asm-ia64/sn/pci/pcibr_private.h@1.20
move PVnnnnnn's
include/asm-ia64/sn/pci/pciio.h@1.14
unsigned to unsigned int
include/asm-ia64/sn/pci/pciio_private.h@1.10
unsigned to unsigned int
include/asm-ia64/sn/pda.h@1.9
include file clean up
include/asm-ia64/sn/pio.h@1.7
include file clean up
ulong to unsigned long
include/asm-ia64/sn/sgi.h@1.11
include file clean up
move PVnnnnnn's to here
include/asm-ia64/sn/sn2/arch.h@1.6
include file clean up
include/asm-ia64/sn/sn2/sn_private.h@1.12
include file clean up
remove __psunsigned_t
include/asm-ia64/sn/sn_cpuid.h@1.8
include file clean up
include/asm-ia64/sn/sn_private.h@1.6
include file clean up
include/asm-ia64/sn/types.h@1.6
include file clean up
remove __psunsigned_t
include/asm-ia64/sn/vector.h@1.6
include file clean up
include/asm-ia64/sn/xtalk/xbow.h@1.9
include file clean up
misc code cleanup
include/asm-ia64/sn/xtalk/xtalk.h@1.12
unsigned to unsigned int
include/asm-ia64/sn/xtalk/xwidget.h@1.8
unsigned to unsigned int
<akpm@osdl.org>
[PATCH] Altix update: misc changes
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c
extern for pcibr_rrb_alloc_more()
include/asm-ia64/sn/pci/pcibr_private.h
more unsigned to unsigned int
<akpm@osdl.org>
[PATCH] Altix update: add MINIMAL_ATE_FLAG
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/machvec/pci_dma.c
Add MINIMAL_ATE_FLAGS() macro usage
include/asm-ia64/sn/pci/pcibr.h
Add MINIMAL_ATE_FLAG() macro
<akpm@osdl.org>
[PATCH] Altix update: io changes
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/platform_init/sgi_io_init.c
use numionodes instead of numnodes
arch/ia64/sn/io/sn2/klconflib.c
find_lboard changes - generalized a number of the interface funcs
arch/ia64/sn/io/sn2/klgraph.c
call the more general find_lboard funcs
arch/ia64/sn/io/sn2/ml_iograph.c
call the more general lboard funcs
arch/ia64/sn/io/sn2/module.c
lboard changes
mod for headless/memless nodes
arch/ia64/sn/io/sn2/pcibr/pcibr_dvr.c
isIO9 mod
arch/ia64/sn/kernel/setup.c
headless/memless mod
include/asm-ia64/sn/klconfig.h
generalized find_lboard funs
<akpm@osdl.org>
[PATCH] Altix update: pcibr_invalidate_ate check
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/sn2/pcibr/pcibr_ate.c
check for pcibr_invalidate_ate 0 used for debugging
<akpm@osdl.org>
[PATCH] Altix update: early_probe_for_widget() improvement
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/sn2/ml_iograph.c
Better code for early_probe_for_widget()
<akpm@osdl.org>
[PATCH] Altix update: VGA, keyboard, other changes
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/kernel/setup.c
If generic enabled legacy VGA or kbd - disable them
Slightly different check for work arounds and only do it once
If there is no klconfig info and we are in the simulator - ignore it
Update the pxm_to_nasid() routine. It failed for SP configurations and some
SMP configurations where M-bricks used pxm numbers lower that the first
c-brick.
If we don't find the cpu for pxm, search the memblks for it.
<akpm@osdl.org>
[PATCH] Altix update: remove pcibr_intr_func()
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/sn2/pcibr/pcibr_intr.c
Kill pcibr_intr_func()
<akpm@osdl.org>
[PATCH] Altix update: irq fixes
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/kernel/irq.c
Need to get the cpu from the passed in pcibr struct
Made the interrupt list static and gave it a better name - credit jes
Some lindent'isms
Took out some code that isn't used ..... yet
<akpm@osdl.org>
[PATCH] Altix update: pci_bus_cvlink.c fixes
From: Pat Gefre <pfg@sgi.com>
arch/ia64/sn/io/machvec/pci_bus_cvlink.c
Couple of checks for kmalloc <= 0 were fixed
Some __init and static fixes
<akpm@osdl.org>
[PATCH] Altix update: pci_bus_cvlink.c fixes
From: Pat Gefre <pfg@sgi.com>
rch/ia64/sn/io/machvec/pci_bus_cvlink.c
Some pretty-print mods
Use pin instead of slot for dma_flush init
<akpm@osdl.org>
[PATCH] Fix ptrace in the vsyscall dso area
From: Roland McGrath <roland@redhat.com>
The #include is the part of this patch that matters, so the #ifdef below
works.
The rest of the patch removes gratuitous duplication due to some strange
aversion to concision in the presence of #ifdef, the kind that is all too
common, utterly pointless, and error prone.
<sct@redhat.com>
[PATCH] Fix block device inode list corruptions
I've been chasing a weird SELinux bug which shows up mostly when doing
installs of a dev-* rpm (ie. creating and overwriting lots of block
device inodes), but which I've also seen when doing mkinitrd.
It turned out not to be an SELinux problem at all, but a core VFS
S_ISBLK bug. It seems that SELinux simply widens the race window.
The code at fault is fs/fs-writeback.c:__mark_inode_dirty():
/*
* Only add valid (hashed) inodes to the superblock's
* dirty list. Add blockdev inodes as well.
*/
if (!S_ISBLK(inode->i_mode)) {
if (hlist_unhashed(&inode->i_hash))
goto out;
if (inode->i_state & (I_FREEING|I_CLEAR))
goto out;
}
The "I_FREEING|I_CLEAR" condition was added after the ISBLK/unhashed
tests were already in the source, but I can't see any reason why we'd
want the I_FREEING test not to apply to block devices. And indeed, this
results in all sorts of inode list corruptions. Simply moving the
I_FREEING|I_CLEAR test out of the protection of the S_ISBLK() condition
fixes things entirely.
The existing 2.6 kernel will reliably fail on me in about 2 seconds once
"rpm -Uvh --force dev*.rpm" starts its actual installation of the new
inodes. With the patch below I can't reproduce it at all.
<ysato@users.sourceforge.jp>
[PATCH] H8/300 support update (1/3): obsolete header
o Deleted obsolute header include
<ysato@users.sourceforge.jp>
[PATCH] H8/300 support update (2/3): compiler warnings
o gcc-3.4 warning fix.
<ysato@users.sourceforge.jp>
[PATCH] H8/300 support update (3/3): bitops
o Cleanup reduced and faster code
<davem@nuts.davemloft.net>
[SPARC64}: Fix ultra-III and later support of new-style SILO booting.
<James.Bottomley@SteelEye.com>
[PATCH] use cramfs as an initrd
Now that Al Viro fixed cramfs, it works beautifully as an initrd
filesystem.
So finally plumb it in.
<benh@kernel.crashing.org>
ppc32: Update/cleanup low level POWER4 & G5 CPU support
<benh@kernel.crashing.org>
Save and restore HID2 on 750FX CPUs when sleeping/resuming
<benh@kernel.crashing.org>
Move pmac-specific PCI quirks to pmac_pci.c, update cardbus one for new
TI controller, add some for fixing up ATA & SATA controllers (switch normal
ATA to fully native mode and disable unused function on G5 K2 SATA)
<benh@kernel.crashing.org>
Fix processing of Open Firmware PCI host bridge "ranges" property.
We no longer modify the device tree, we use an initdata static
array instead.
<benh@kernel.crashing.org>
On G5 machines, we remap the AGP port to bus number 0xf0. XFree
contains a hack that is unfixable at the moment for getting the
IO base which is hard coded to bus number 0 (AGP on earlier machines).
We work around this by passing the IO base of bus 0xf0 when asked
for bus 0 in pciconfig_iobase on those machines. Bus 0 is the HT
root and has no IOs, so that is safe.
<benh@kernel.crashing.org>
ppc32: export clear_user_page, some video-for-linux drivers need it
<benh@kernel.crashing.org>
Add Samuel Rydth improved software CPU timebase synchronisation
used on machines that don't have a HW facility (or we don't drive
it yet like G5s)
<benh@kernel.crashing.org>
ppc32: Cleanup PowerMac SMP support
Add a fix fox machines that don't have HW timebase sync facility
<benh@kernel.crashing.org>
ppc32: Fix smp_message_pass macro, turn into an inline function
<benh@kernel.crashing.org>
ppc32: fix a possible race in pte_free()
Another processor could be walking the page table in the middle of the
PTE page to be freeded. Synchronize with hash_page using the lock.
<benh@kernel.crashing.org>
ppc32: Flush the Hash PTE in ptep_test_and_clear_young()
Without this, page aging is broken on ppc32
<benh@kernel.crashing.org>
ppc32: Fix release_OF_resource() function.
It would fail to properly release the resource if taken over
by the macio device resource hierarchy. This could still use
some locking, but the io resource lock isn't exported
<benh@kernel.crashing.org>
ppc32: Fix initialisation of the POWER4 / G5 MMU Hash table
especially related to the use of the btext early debug text
engine
<benh@kernel.crashing.org>
ppc32: Fix parsing of Open Firmware interrupt tree on G5
<benh@kernel.crashing.org>
ppc32: Update register definitions for Apple chipsets
<benh@kernel.crashing.org>
ppc32: Fix PCI<->OF linkage for G5s AGP bus
<benh@kernel.crashing.org>
ppc32: Rework nvram management
move drivers/macintosh/nvram.c to drivers/char/generic_nvram.c,
update platform hooks,
fix powermac nvram driver for newer machines
<benh@kernel.crashing.org>
ppc32: Update PowerMac motherboard support
add support for newer laptops and G5 desktops
<benh@kernel.crashing.org>
ppc32: Update PowerMac i2c management
Create a low-level synchronous implementation suitable for use
by the early boot platform code or other places where the
asynchronous driver isn't useable. This also exports the locks
used by the real driver to avoid collisions.
Use this new implementation to properly setup the clock chip
at boot on Apple latest laptops
<benh@kernel.crashing.org>
ppc32: Add support for PowerMac G5 HT/PCI & AGP busses
<benh@kernel.crashing.org>
ppc32: Fix PowerMac SMP to work with G5s
<benh@kernel.crashing.org>
ppc32: Fix time calibration on some G4 models
<benh@kernel.crashing.org>
ppc32: PowerMac G5 interrupt management
The cascaded northbridge MPIC is currently dealt with a special
modified version of open_pic.c (open_pic2.c). A better mecanism
will have to be found for 2.7
<benh@kernel.crashing.org>
ppc32: refcounting fix for of_device.c
<benh@kernel.crashing.org>
ppc32: Fix a warning with some usages of udelay
<benh@kernel.crashing.org>
ppc32: Add some PowerMac specific PCI IDs
<benh@kernel.crashing.org>
ppc32: Update macio_asic, add some resource management
<benh@kernel.crashing.org>
ppc32: Update the PowerMac 53c94 SCSI driver
Adapt to the "macio" driver infrastructure, cleanup IO accessors,
remove local list of command/directions, uses infos provided by
the SCSI layer. This driver certainly could use some more work.
<benh@kernel.crashing.org>
ppc32: Update PowerMac "mesh" driver.
Adapt to "macio" driver infrastructure, cleanup power management, make some
functions static, fix IO accessors, remove local list of commands/directions,
etc...
This driver could use more work & study of the interesting ASIC bugs
documented in Apple source code...
Note that I'm removing support for the CHRP machines using the MESH as
part of the "Hydra" ASIC. Nobody sane really uses that, but if one of
the 3 remaining Longtrail users want to fix that, then move Hydra to
use the "macio" model...
<benh@kernel.crashing.org>
ppc32: Update resource management of the PowerMac SCC driver
<benh@kernel.crashing.org>
ppc32: Update the PowerMac "macio" IDE driver
Add support for recent chipsets (including G5 ATA/100), update
resource management.
<benh@kernel.crashing.org>
ADB: Minor fix, autopoll list could be lost on a failed bus reset
<benh@kernel.crashing.org>
ppc32: Update the PowerMac adbhid driver (ADB & laptop mouse/trackpad/keyboard)
Fix emulation of some special keys, fix a few problem with laptop
keyboards. Finally, fn-backspace works as forward-delete like in Darwin :)
<benh@kernel.crashing.org>
ppc32: Update PowerMac mediabay driver
Fix timings with HZ != 100, fix resource management
<benh@kernel.crashing.org>
ppc32: Update PowerMac via-pmu driver
Add support for G5s, add an option for controlling the server
mode setting on core99 machines and later.
Most of the /proc stuff still need to be moved to sysfs
<benh@kernel.crashing.org>
ppc32: Update PowerMac laptop backlight control core
<benh@kernel.crashing.org>
ppc32: Use drivers/Kconfig and move some Mac stuffs to drivers/macintosh/Kconfig
<benh@kernel.crashing.org>
ppc32: Bring back PowerMac swim3 floppy driver into working state
Forward port Paul's latest fixes from 2.4. This driver still need
significant work to fit into the "macio" model properly, among
others.
<benh@kernel.crashing.org>
ppc32: Update PowerMac cpufreq driver
Add support for Apple latest laptops, add a warning when building
an SMP kernel (the core cpufreq doesn't scale loops_per_jiffies
properly on SMP kernels), cleanup some code.
<benh@kernel.crashing.org>
ppc32: Fix the mac mouse button emulation code
Move the call to mac_hid_mouse_emulate_buttongs to the
right function so it works again in console mode
<benh@kernel.crashing.org>
ppc32: Add thermal management drivers
Adds thermal management drivers for desktop G5, Windtunnel G4s, and
recent laptops (iBook G4, aluminium 15" and 17" powerbooks)
<krkumar@us.ibm.com>
[XFRM]: Do not schedule() when MSG_DONTWAIT.
<yoshfuji@linux-ipv6.org>
[IPV6]: Make note in headers about shared socket option numbers.
<chas@cmf.nrl.navy.mil>
[ATM]: [idt77252] fix dma_addr_t type error with CONFIG_HIGHMEM64G=y (by "Randy.Dunlap" <rddunlap@osdl.org>)
<chas@cmf.nrl.navy.mil>
[ATM]: [clip] check return code from kmem_cache_create (by "Randy.Dunlap" <rddunlap@osdl.org>)
<c-d.hailfinger.kernel.2004@gmx.net>
[PATCH] [2.6] Update forcedeth to 0.23
This is a multi-part message in MIME format.
<benh@kernel.crashing.org>
[PATCH] bmac network driver update
Hi !
I didn't include that with the bitkeeper based PowerMac updates so Jeff
can assume his role as maintainer/filter of network driver updates :)
Here's my latest update to this pmac-only driver, please apply if you
are ok with it. The driver now uses the macio infrastructure for
detection & power management notifications, getting into sysfs at
the same time.
Ben.
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/01/23 09:38:35+11:00 benh@kernel.crashing.org
# Update PowerMac "bmac" driver to the "macio" device so it fits in sysfs
# and gets proper power management ordering
#
# drivers/net/bmac.c
# 2004/01/23 09:38:22+11:00 benh@kernel.crashing.org +185 -203
# Update PowerMac "bmac" driver to the "macio" device so it fits in sysfs
# and gets proper power management ordering
#
<pe1rxq@amsat.org>
[PATCH] hamradio driver fixes
I send these a while ago but didn't get a reply.
Can you apply these patches for the hamradio drivers?
details:
+ scc.c usage of rtnl lock and register_netdev.
+ scc.c properly initialize timers.
+ remove cli() call in 6pack.c
+ fix init of reused devices and remove cli()
+ scc.c statistics
<achirica@telefonica.net>
[wireless airo] Add support for mini-pci based cards
<willy@debian.org>
[PATCH] Handle an old acenic card
Hi Jes. I really do have a Rev. 5 card, and it works much better treated
as a Tigon I than as a Tigon II.
<simon@thekelleys.org.uk>
[wireless atmel] update
Add PCI device support - there are atmel_pci.ko and atmel_cs.ko
modules and a library module called atmel.ko
Tweak the PCMCIA card -> firmware table for new cards.
Fix workarounds for uniquely broken 3com cards, which were
rendered unuable by the 0.9 changes.
Bump version to 0.91
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
VIA82xx driver
Removed duplicated code
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA Core
Cosmetic change
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Serial BUS drivers,TEA575x tuner,PCI drivers,FM801 driver
Added module for TEA575x radio tuners used in cheap FM801 based soundcards from Media Forte.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Documentation,PCI drivers,BT87x driver
Moved bt87x driver from alsa-driver to alsa-kernel
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
TEA575x tuner
TEA575x code is now 2.6 videodev compatible
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
PCI drivers
Fixed condition for TEA575x && FM801
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
FM801 driver
- fixed the build without tea575x-tuner support.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- fixed the codec valid check at reading.
- added MSI KT266 to the dxs whitelist.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ICE1712 driver
- fixed the GPIO pins for CS8415 CS and CDTO.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ALSA Core
Added CONFIG_SND_BT87X dependencies
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AMD InterWave driver
Ok, InterWave STB without TEA6330T without TEA6330T also exists
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
RawMidi Midlevel
copy_*_user() function cannot be called from spinlock context
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ICE1724 driver
Davy Wentzler <info@audio-evolution.co>:
- fixed the access in trigger callback to byte access.
(may fix the problem on ppc.)
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
- added the ac97 quirks for amd64 mobo and MSI P4 ATX 645.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
VIA82xx driver
- fixed the dxs support of ASUS K8V.
- added a short delay in the codec read routine.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Intel8x0 driver
- check the return value of snd_ac97_pcm_open() in playback open callback.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA Core
- added the missing magic number for bt87x.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
ES1688 driver
Fixed mpu401 port validation
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
ALSA<-OSS emulation
- added more fallbacks of mixer elements for better emulation.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
EMU10K1/EMU10K2 driver
- improved the mixer names of Audigy2 without AC97 codec for better OSS emulation.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
AC97 Codec Core,Intel8x0 driver,VIA82xx driver
Add AC97 quick manual override module parameter.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,Intel8x0 driver,VIA82xx driver
- added more descriptions for ac97_quirk module option.
<perex@suse.cz>
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
Documentation,ICE1712 driver
- added the support for Digigram VX442 board.
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
CS46xx driver
added missing variables to debug messages
<perex@suse.cz>
ALSA 1.0.2c
<viro@www.linux.org.uk>
[PATCH] parport fixes (1/6)
Current tree has all allocated ports on portlist. However,
most of the portlist users assume that we only have announced ports
there and break badly if they happen to see the list after port driver
has created a port (parport_register_port()) but before it finishes
the setup (and calls parport_announce_port()).
The only place that wants to see all allocated port is
parport_register_port() itself and only to pick the first unused
port number.
We add a new list (all_ports) and put ports there when allocated;
that list is kept ordered by port->number. Ports are placed on portlist
only by parport_announce_port().
Gobs of shite in parport_register_port() removed, pile of races
closed...
<viro@www.linux.org.uk>
[PATCH] parport fixes (2/6)
We use a new mutex to protect all additions/removals of drivers and
ports. That cures a lot of insanity:
* driver removals can't hit us in the middle of attach_driver_chain().
Old code simply dies on that.
* port removals can't hit us in the middle of driver registration.
Again, old code dies on that.
* driver ->detach() is allowed to block now.
* we are guaranteed that by the time when parport_unregister_driver()
returns, all ->detach() calls are finished. Old code did _not_ guarantee
that (read: was inherently racy since rmmod of driver could race with port
removal and get driver->detach(port) called after the module was gone).
* we are guaranteed that driver->attach(port) won't be called
more than once. With the old code that was a matter of luck.
* removed piles and piles of braindead code.
<viro@www.linux.org.uk>
[PATCH] parport fixes (3/6)
A bunch of parport_enumerate() users was duplicating parport_find_...()
without proper locking. Replaced with use of appropriate helpers, races closed.
<viro@www.linux.org.uk>
[PATCH] parport fixes (4/6)
parport_gsc.c turned into proper parisc driver; instead of scanning
the list of ports upon rmmod in search of ones that had been created by us,
we do cleanup where it belongs - in parisc driver ->remove().
<viro@www.linux.org.uk>
[PATCH] parport fixes (5/6)
bw-qcam.c turned into proper parport driver. Instead of (racy)
scanning the list of ports we use ->attach() and ->detach().
<viro@www.linux.org.uk>
[PATCH] parport fixes (6/6)
daisy.c used to access the topology list with no locking whatsoever.
Protected by spinlock, fixed numerous bugs in handling of the single-linked
list (I'm not kidding - just take a look at the old parport_daisy_fini()
and weep; it is supposed to go through a simple list and remove all entries
that satisfy a condition).
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (1/25)
* new helper: pi_schedule_claimed() - pi_do_claimed() sans the call
of continuation if we don't have to wait; returns 1 if we don't
have to wait and 0 otherwise.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (2/25)
Preparation to crapectomy - expanded include of pseudo.h, split
the part of pd_do_request() into pd_do_request1(), leaving in pd_do_request()
only the check that FSM is not running and call of pd_do_request1().
Added locking analysis - it's in drivers/block/paride/Transition-notes
and it will be used on the next step. Even though the subsequent steps are
small, they rely on properties of the damn thing and proof of these properties
is hairy. Amazing perversions people manage to produce when writing a trivial
FSM - the code is very convoluted for no good reason...
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (3/25)
Removed junk (see the analysis in the previous patch), removed
ps_set_intr() arguments.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (4/25)
Logics around "if not ready, schedule the same step again" taken
out of ps_tq_intr() and into the steps that need it.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (5/25)
pd_busy gone - we can check for pd_req != NULL instead.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (6/25)
Equivalent transformation:
* new function: do_pd_io_start(). Checks pd_cmd and calls
do_pd_read_start() or do_pd_write_start().
* do_pd_read() and do_pd_write() merged into do_pd_io(), which
schedules execution of do_pd_io_start().
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (7/25)
Equivalent transformation:
Handling of bogus requests taken into do_pd_io_start() - we
call next_request(0) as we would for any other error. We
need to call pi_unclaim() before that - on other paths that
would happen as a side effect of pi_disconnect().
Setting variables moved into do_pd_io_start() - they don't
need pd_lock being held, so we can shift that outside.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (8/25)
Equivalent transformation:
instead of having do_pd_request1() calling do_pd_io() via
pi_do_claimed() and do_pd_io() calling do_pd_io_start() via
ps_set_intr(), do it the other way round.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (9/25)
Equivalent transformation:
do_pd_reqeust1() calls lambda-expanded, function killed.
resulting call of ps_set_intr() in next_request() has been
moved past dropping pd_lock.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (10/25)
Equivalent transformation:
* ps_continuation renamed - it's "phase" now.
* run_fsm() does what ps_tq_int() used to do
* calls of pi_do_claimed(..., func) replaced with
phase = func; pi_do_claimed(..., run_fsm);
Now all phase functions are called from run_fsm() and we
can start pulling the common code into it.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (11/25)
Equivalent transformation:
* new type - enum action. phase functions return it now.
run_fsm() looks at the result of phase() and does the
corresponding action - next_request(), pi_do_claimed()
or ps_set_intr().
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (12/25)
Equivalent transformation:
* calls of pi_disconnect() in phase functions expanded.
* since both do_pd_read_start() and do_pd_write_start()
are always called claimed (as the matter of fact,
all phase functions except do_pd_io() are), we can
replace call of pi_connect() with direct method call -
pi_claim() is no-op there.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (13/25)
Equivalent transformation:
pi_unclaim() moved from phase functions to run_fsm().
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (14/25)
Equivalent transformation:
call of pi_do_claimed() in run_fsm() expanded; recursive
call of run_fsm() replaced with loop.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (15/25)
Equivalent transformation:
next_request() call expanded.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (16/25)
Equivalent transformation:
* phase = do_pd_io replaced with phase = NULL, corresponding
check + open-coded equivalent added in run_fsm loop.
* do_pd_io() is gone.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (17/25)
Equivalent transformation:
now that all phase functions are called claimed, we can
simplify the logics around claiming - new variable (pd_claimed)
keeps track of claim/unclaim we'd done. We check it in the
beginning of the loop and do claiming if it's not set.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (18/25)
Moved calls of ->connect and ->disconnect into run_fsm(). The only
change is that now do_pd_start_io() is ran when we are connected.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (19/25)
Reordered stuff
made pd_ready() inlined
renamed ps_timeout to pd_timeout
renamed ps_tq to fsm_tq
renamed ps_set_intr to fsm_schedule
removed unused pd_wait_open.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (20/25)
Switched everything except pd_identify() to use of special requests.
New helper: pd_special_command() - builds special request, feeds it
into queue and waits for completion.
Moved pi_connect()/pi_disconnect() to the beginning/end of pi_identify.
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (21/25)
Moved allocation and setup (but not adding) of gendisk into
pd_probe_drive().
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (22/25)
Now disk->present is not needed - we can always check for disk->gd.
Field removed, pd_probe_drive() became void(struct pd_unit *), pd_detect()
cleaned up,
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (23/25)
pd_init_units() merged into pd_detect(), pd_drive_count made local to
pd_detect().
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (24/25)
pd_identify() converted to pd_special_command().
<viro@www.linux.org.uk>
[PATCH] paride cleanup and fixes (25/25)
paride has a ->private field for use by low-level drivers. It's not
64bit-clean - it's int, but is used to store a pointer (bpck6).
Fix: replace with unsigned long, update typecasts in users.
<viro@www.linux.org.uk>
[PATCH] scsi/imm.c cleanup and fixes (1/8)
* imm.c fed through Lindent, functions unused elsewhere (by now -
all of them) made static.
<viro@www.linux.org.uk>
[PATCH] scsi/imm.c cleanup and fixes (2/8)
* switched imm to passing around references to imm_struct instead
of host numbers.
<viro@www.linux.org.uk>
[PATCH] scsi/imm.c cleanup and fixes (3/8)
* killed imm_pb_claim() call in imm_init()
<viro@www.linux.org.uk>
[PATCH] scsi/imm.c cleanup and fixes (4/8)
* killed include of scsi_module.h and switched from scsi_register()
to scsi_alloc_host(). We still keep the old detect logics at that point,
it will be gone later.
<viro@www.linux.org.uk>
[PATCH] scsi/imm.c cleanup and fixes (5/8)
* starting to kill imm_detect - we move the "probe a single port"
logics into a separate function and shift scanning into imm_driver_init().
Later that will give us a parport_driver ->attach().
<viro@www.linux.org.uk>
[PATCH] scsi/imm.c cleanup and fixes (6/8)
* fixed missing wakeups in imm_pb_claim()/imm_wakeup() - if the
former had been called just as current holder of port was giving it up,
we could set "I'm waiting" flag too late. Cleaned up the timeout logics.
<viro@www.linux.org.uk>
[PATCH] scsi/imm.c cleanup and fixes (7/8)
* switched to use ->hostdata to get imm_struct from Scsi_Host, end
of messing with imm_hosts[]
<viro@www.linux.org.uk>
[PATCH] scsi/imm.c cleanup and fixes (8/8)
* switched to proper parport_driver.
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (1/9)
* ppa.c fed through Lindent, functions unused elsewhere (by now -
all of them) made static.
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (2/9)
* switched ppa to passing around references to ppa_struct instead
of host numbers.
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (3/9)
* killed ppa_pb_claim() call in ppa_init()
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (4/9)
* killed include of scsi_module.h and switched from scsi_register()
to scsi_alloc_host(). We still keep the old detect logics at that point,
it will be gone later.
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (5/9)
* starting to kill ppa_detect - we move the "probe a single port"
logics into a separate function and shift scanning into ppa_driver_init().
Later that will give us a parport_driver ->attach().
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (6/9)
* fixed missing wakeups in ppa_pb_claim()/ppa_wakeup() - if the
former had been called just as current holder of port was giving it up,
we could set "I'm waiting" flag too late. Cleaned up the timeout logics.
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (7/9)
* switched to use ->hostdata to get ppa_struct from Scsi_Host, end
of messing with ppa_hosts[]
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (8/9)
* switched to proper parport_driver.
<viro@www.linux.org.uk>
[PATCH] scsi/ppa.c cleanup and fixes (9/9)
* don't take the unnecessary ->host_lock around ->scsi_done() call.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] fix 'cat /proc/ide/<cd|dvd>/identify' hang (CONFIG_IDE_TASKFILE=y)
Some devices need more time to become non-busy after command completion,
so use the same timeout in wait_drive_not_busy() (called from task_in_intr()
if CONFIG_IDE_TASKFILE_IO=y) as in drive_cmd_intr().
Thanks to Mark Haverkamp <markh@osdl.org> for help in fixing this.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] remove dead CONFIG_IDEDMA_NEW_DRIVE_LISTINGS
Leftover after switch to IDE DMA Model-Firmware blacklist in kernel 2.5.63.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] remove CONFIG_IDEDMA_PCI_WIP
Fix CONFIG_HPT34X_AUTODMA to depend directly on CONFIG_EXPERIMENTAL
and finally remove CONFIG_IDEDMA_PCI_WIP.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] remove unused ide_devices_t from ide.c and ide.h
Introduced in kernel 2.5.35 and never used.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] ide-io.c: remove unused unplugged iops
Introduced in kernel 2.5.63 and never used.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] remove unused __ide_dma_retune() and ide_hwif_t->ide_dma_retune
First introduced in kernel 2.3.99-pre3 (added to ide_dmaproc) and never used.
<B.Zolnierkiewicz@elka.pw.edu.pl>
[PATCH] remove ide_dma_queued_* ops from ide_hwif_t
TCQ code is host independent so remove redundant ide_dma_queued_* ops from
ide_hwif_t. If we ever decide to bring back TCQ support this will fix OOPS
in ide-disk driver with CONFIG_BLK_DEV_IDE_TCQ_DEFAULT=y and icside/sgiioc4
host drivers (it will also enable TCQ support for these host drivers).
Acked by Jens.
<davem@redhat.com>
[PATCH] atmel_pci build fix
The usual linux/init.h missing include.
<akpm@osdl.org>
[PATCH] ppc64: move hypervisor console code into its own file
From: anton@samba.org
From: Hollis Blanchard <hollisb@us.ibm.com>
move hypervisor console code into its own file
<akpm@osdl.org>
[PATCH] ppc64: fix up hvc console dev/devfs name, from Milton Miller
From: anton@samba.org
fix up hvc console dev/devfs name, from Milton Miller
<akpm@osdl.org>
[PATCH] ppc64: Fix up iseries updatepp, from Ben Herrenschmidt
From: anton@samba.org
Fix up iseries updatepp, from Ben Herrenschmidt
<akpm@osdl.org>
[PATCH] ppc64: change HSC -> HVSC
From: anton@samba.org
change HSC -> HVSC
<akpm@osdl.org>
[PATCH] ppc64: Fix compiler warnings, from Olof Johansson
From: anton@samba.org
Fix compiler warnings, from Olof Johansson
<akpm@osdl.org>
[PATCH] ppc64: Fixes for OF device tree update code, from Nathan Lynch
From: anton@samba.org
Fixes for OF device tree update code, from Nathan Lynch
<akpm@osdl.org>
[PATCH] ppc64: integrate vio.c with 2.6 driver model
From: anton@samba.org
From: Hollis Blanchard <hollisb@us.ibm.com>
integrate vio.c with 2.6 driver model
<akpm@osdl.org>
[PATCH] ppc64: Added definition of viomajortype_scsi, from Dave Boutcher
From: anton@samba.org
Added definition of viomajortype_scsi so drivers/scsi/iSeries_vscsi will
compile
<akpm@osdl.org>
[PATCH] ppc64: Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen
From: anton@samba.org
Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen
<akpm@osdl.org>
[PATCH] ppc64: use drivers/Kconfig
From: anton@samba.org
use drivers/Kconfig
<akpm@osdl.org>
[PATCH] ppc64: Fix another numa bug
From: anton@samba.org
In some cases we can merge reserved regions with the next node. There was a
bug in the way we calculated the overlapping region which caused us to fail
during boot.
<akpm@osdl.org>
[PATCH] ppc64: use smp_processor_id everywhere
From: anton@samba.org
use smp_processor_id everywhere
<akpm@osdl.org>
[PATCH] ppc64: Remove pvr from the paca
From: Anton Blanchard <anton@samba.org>
Slowly removing non essential things from the paca
<akpm@osdl.org>
[PATCH] ppc64: cpus_in_xmon needs to be a cpumask_t, from Milton Miller
From: Anton Blanchard <anton@samba.org>
Also add cpu_relax() to several spinloops in xmon which wait for other cpus.
<akpm@osdl.org>
[PATCH] ppc64: sysrq helpers should have their active character capitalized
From: Anton Blanchard <anton@samba.org>
sysrq helpers should have their active character capitalized
<ak@muc.de>
[PATCH] put "kernel_thread_helper" in right linker segment
This fixes the "kernel_thread_helper" function so that it is in the
right segment (.text) regardless of any other code movement by the
compiler (eg "-funit-at-a-time").
<jgarzik@redhat.com>
[hamradio mkiss] correctly use spinlocks
Somebody didn't build this on SMP
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Intel8x0 driver
Fixed alsa_card_intel8x0_setup()
<perex@suse.cz>
ALSA CVS update - Jaroslav Kysela <perex@suse.cz>
Intel8x0 driver
Andrew Morton <akpm@osdl.org>
- Fix some unnecessary and odd handling of timeval usec overflow
<rmk@flint.arm.linux.org.uk>
[ARM] Fix use of #if - should be #ifdef.
<rmk@flint.arm.linux.org.uk>
[ARM] Remove extraneous return statement.
<rmk@flint.arm.linux.org.uk>
[ARM] Add fusion, I2C and L3 directories to the ARM Kconfig
<rmk@flint.arm.linux.org.uk>
[ARM] Add .data.nosave section into vmlinux.lds.S file.
<rmk@flint.arm.linux.org.uk>
[ARM] Convert Integrator AP and Assabet to new machine init method
This makes use of David Brownell's INIT_MACHINE support.
<rmk@flint.arm.linux.org.uk>
[ARM] Update AMBA device/driver support
- Add methods to request/release regions.
- Add method to find AMBA devices.
- Only register devices whose ID is known.
- Devices may have two interrupt signals.
- Add hotplug method.
<rmk@flint.arm.linux.org.uk>
[ARM] Add cm_control() for Integrator AP and PP2 platforms.
<akpm@osdl.org>
[PATCH] ppc32: Update PowerMac dmasound driver
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This patch was missing from my big merge. It updates the PowerMac
"dmasound" driver. Adds input support for some recent machines using the
tas3004 coded/mixer chip. Code mostly written by Renzo Davoli.
This driver isn't (unfortunately) fully obsoleted by the Alsa one. There
are lots of reports of the Alsa one not working properly on various
PowerMac machines, and some people are unhappy with Alsa in general, enough
to have ported the messy PowerMac dmasound to 2.6 :)
<akpm@osdl.org>
[PATCH] ppc64: vio fix
From: Anton Blanchard <anton@samba.org>
It doesn't link. Add a chunk which got lost.
<akpm@osdl.org>
[PATCH] ppc64: Add readq/writeq and __raw* IO functions
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This patch adds those for ppc64, except for iSeries which cannot do
readq/writeq easily, at least not as far as I know but I need to ask the
iSeries specialists in Rochester to be sure. But anyway, iSeries shouldn't
use anything in fb.h anyway ...
It also add the proper tweaks & barriers to make sure reads are actually
done right away and not delayed indefinitely (making the CPU think the read
data is actually used) and add necessary write barriers on IO writes. For
some reasons, ppc64 in 2.6 lacked some of these, opening potential races
within some drivers.
<akpm@osdl.org>
[PATCH] gcc-3.5: drivers/atm/atmtcp.c
drivers/atm/atmtcp.c: In function `atmtcp_c_close':
drivers/atm/atmtcp.c:258: error: invalid lvalue in assignment
drivers/atm/atmtcp.c: In function `atmtcp_create':
drivers/atm/atmtcp.c:383: error: invalid lvalue in assignment
<akpm@osdl.org>
[PATCH] snprintf() commentary
From: Paul Jackson <pj@sgi.com>
Explain the snprintf() return value.
<akpm@osdl.org>
[PATCH] With size > XATTR_SIZE_MAX, getxattr(2) always returns E2BIG
From: Andreas Gruenbacher <agruen@suse.de>
The getxattr (listxattr) syscall returns E2BIG if the buffer passed to them
is bigger than XATTR_SIZE_MAX (XATTR_LIST_MAX), no matter what buffer size is
actually required. Here is a fix. It also removes the xattr_alloc and
xattr_free functions which are not of much use anymore.
<akpm@osdl.org>
[PATCH] oss/ad1889: correct printk of dma_addr_t
From: "Randy.Dunlap" <rddunlap@osdl.org>
fix dma_addr_t type error with CONFIG_HIGHMEM64G=y
<akpm@osdl.org>
[PATCH] ext2/3: incorrect increment of i_blocks when keeping the same xattr block
From: Andreas Gruenbacher <agruen@suse.de>
Here is a fix for extended attributes on ext2 and ext3, reported by
Stephen Tweedie <sct@redhat.com>.
From: Stephen Tweedie <sct@redhat.com>:
When you have an EA block that is shared between multiple inodes; AND you
then change an attribute in that on one inode, AND the new attribute value
is the same as the old, then xattr computes the new EA block, finds it
still in the cache, bumps the reference count on it (and the i_blocks field
on the inode, incidentally), and leaves it incremented because we haven't
changed EA block so there's no need to drop the refcount on the old block.
So *every* time you have more than one inode sharing an EA block and you
perform an identical write to an EA, you get a leak on both i_blocks and
the EA refcount.
This is a big problem for symlinks, which rely on correct i_blocks
accounting to determine the difference between fast and slow symlinks.
With the leak, you end up thinking that a fast symlink (ie. one small
enough to be stored in the inode direct blocks) is slow, so you dereference
the ascii contents of the symlink as if they were a disk block address.
That typically results in EIO all over the place.
<akpm@osdl.org>
[PATCH] Set CCISS driver VM read-ahead to 1024K
From: Torben Mathiasen <torben.mathiasen@hp.com>
After a lot of testing and measuring we decided to increase the read-ahead
for the CISS driver in 2.6 to 1MB.
<akpm@osdl.org>
[PATCH] janitor: video/fbcmap: kmalloc() audit
From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Leann Ogasawara <ogasawara@osdl.org>
Handle kmalloc() failures
<akpm@osdl.org>
[PATCH] janitor: ide/pci/triflex: handle !CONFIG_PROC_FS
From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>
this patch fixes this warning:
drivers/ide/pci/triflex.c:49: warning: `triflex_get_info' defined but not used
<akpm@osdl.org>
[PATCH] janitor: ps2esdi: fix '&' to '&&'
From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Timmy Yee <shoujun@masterofpi.org>
This patch adds missing ampersands.
<akpm@osdl.org>
[PATCH] janitor: vga16fb.c ioremap() and fb_alloc_cmap() audit
From: Leann Ogasawara <ogasawara@osdl.org>
Audit fb_alloc_cmap() and incorporate an error path.
<akpm@osdl.org>
[PATCH] Suppress page allocation failures from sg_page_malloc()
It is performing higher-order atomic allocations then falling back, so
failures are expected. Suppress the scary warnings.
<akpm@osdl.org>
[PATCH] Altix: remove alenlist.h
From: Martin Hicks <mort@wildopensource.com>
This is a patch that removes the unused include/asm-ia64/sn/alenlist.h
header file, along with the dead code that still referenced it.
I ran the patch by Pat Gefre and Colin Ngam.
<akpm@osdl.org>
[PATCH] Altix: cleanup HWGRAPH_DEBUG
From: Martin Hicks <mort@wildopensource.com>
A patch to clean up HWGRAPH_DEBUG. It also cleans up some compile warning
by changing the prototype of hwgraph_debug().
I ran this patch by Pat & Colin and they asked me to send it to you.
<akpm@osdl.org>
[PATCH] Moxa serial devfs fix
From: Sergei Golod <rover@tob.ru>
This patch put moxa devices (when DEVFS enabled) under /dev/tts/M* (as
standard serial ports /dev/tts/0,1,...) instead /dev/. Patch ported from
Stallion serial driver.
<akpm@osdl.org>
[PATCH] Improper handling of %c in vsscanf
From: <gb@phonema.ea.univpm.it>
The "%c" in sscanf actually reads and writes one extra character (i.e. 2
characters insted of just one), and may thus easily overflow caller's
buffer.
Also affects 2.4 tree, even if there "%c" seems not to be used at all.
<akpm@osdl.org>
[PATCH] meye: Fix dma_addr_t usage
From: Stelian Pop <stelian@popies.net>
This driver had an array which contained both dma_addr_t's and kernel virtual
addresses. Split those up, thus tidying things and avoiding a printk
warning.
<akpm@osdl.org>
[PATCH] v4l: i2c cleanups
From: Gerd Knorr <kraxel@bytesex.org>
This patch brings a few cleanups/fixes for the v4l-related i2c modules:
* fix "badness in interruptible_sleep_on"
* use completions instead of semaphores to sync rmmod + kernel thread
exit
* drop some some obsolete code.
* minor tweaks for some tv cards.
<akpm@osdl.org>
[PATCH] v4l: saa7134 cleanups and new cards.
From: Gerd Knorr <kraxel@bytesex.org>
This patch is a update for the saa7134 driver in the linux kernel.
Changes:
* kernel thread cleanups (exit/rmmod sync using completions, wait queue
fixes).
* add support for more cards.
* improved infrared remote support.
<akpm@osdl.org>
[PATCH] Fix x86-64 compilation on 2.6.2-bk1
From: Andi Kleen <ak@suse.de>
The new linux/elf.h include in linux/mm.h caused all kinds of problems for
the x86-64 32bit emulation code. This patch avoids the dependency by
moving the depending functions out of line. It makes x86-64 compile again.
<akpm@osdl.org>
[PATCH] unexport do_exit()
I exported this because vmware needs it.
Petr has updated the vmware wrapper to open-code the sys_exit() trap so this
export is no longer needed.
The updated vmware wrapper is available at
http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update50.tar.gz
<akpm@osdl.org>
[PATCH] fb.h header fix
From: James Simmons <jsimmons@infradead.org>
Fix this header so that it can again be used by userspace. It also makes
struct fb_pixmap a internal kernel object.
<akpm@osdl.org>
[PATCH] epoll struct epitem size reduction
From: Davide Libenzi <davidel@xmailserver.org>
As suggested by Eric Dumazet the following patch achieve a more compact
struct epitem on 64 bit archs.
<akpm@osdl.org>
[PATCH] fix readX_relaxed machine vectors for ia64
From: jbarnes@sgi.com (Jesse Barnes)
I left out some of the necessary machine vector magic in my readX_relaxed
patch, which broke the ia64 generic build.
<akpm@osdl.org>
[PATCH] memblks compile fixes
From: jbarnes@sgi.com (Jesse Barnes)
Looks like Jes forgot missed some conversions in his NR_MEMBLKS removal
patch. Here's are the fixes to get ia64 going again.
<akpm@osdl.org>
[PATCH] remove __exit from mptscsih_exit()
From: Martin Hicks <mort@wildopensource.com>
Get rid of __exit from mptscsih_exit() to get the kernel to link.
<akpm@osdl.org>
[PATCH] Add P1/P2 programmable keys to the sonypi driver.
From: Stelian Pop <stelian@popies.net>
This patch enables sonypi to successfully report P1/P2 programmable keys
events on Sony Vaio Z1 laptops.
Note however that sonypi is unable to distinguish between the two events,
both of them will be reported as SONYPI_EVENT_PKEY_P1, but one event is
better than zero, so there it is.
<akpm@osdl.org>
[PATCH] ext2: update inode ctime on rename()
From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Chris Siebenmann posted a fix to update the old inode ctime on rename().
This fix went into 2.2.13, but did not make into 2.4 or 2.6 kernels (the
2.2.13 diff is at the end of this message).
Here is updated 2.6 version without mark_inode_dirty(), which is not
necessary anymore because its called by "ext2_dec_count()" few lines down.
<rmk@flint.arm.linux.org.uk>
[ARM] Add Integrator/CP platform support.
This cset adds platform support for the ARM Integrator/CP platform.
<rmk@flint.arm.linux.org.uk>
[ARM] Add platform device and resources for SMC91C96 devices.
<rmk@flint.arm.linux.org.uk>
[ARM] Add sys_pciconfig_* syscalls.
<jsimmons@infradead.org>
[FBDEV] Add syfs support.
<akpm@osdl.org>
[NETLINK]: Fix illegal lvalue with gcc-3.5
<akpm@osdl.org>
[AF_PACKET]: Fix illegal lvalue with gcc-3.5
<akpm@osdl.org>
[PPPOE]: Fix illegal lvalue with gcc-3.5
<shemminger@osdl.org>
[NET]: Move dev_base and dev_base_lock into net/core/dev.c
<shemminger@osdl.org>
[NET]: Hash netdevices by name for faster lookup.
<shemminger@osdl.org>
[NET]: Hash netdevices by ifindex for faster lookup.
<shemminger@osdl.org>
[NET]: Support for lots of netdevs -- faster dev_alloc_name
Convert dev_alloc_name from O(n^2) lookup to O(n) by using a page as
bitmap to figure out how many devices of that pattern have been allocated.
This works for up to 32k devices (PAGE_SIZE*8) on i386, more on other
platforms. Correctly handles the boundary cases where number of devices
won't fit because name length is limited.
Adds strnchr to the string libraries since we need to find the % format
character, but only care if it is in the first 15 bytes.
<willy@debian.org>
[PATCH] adjust_resource()
I need this to cope with some devices on PA-RISC and Russell also needs
something like it for PCMCIA.
<willy@debian.org>
[PATCH] PA-RISC arch update for 2.6.2
- a500 & c3000 defconfigs (Grant Grundler)
- Copyright and FSF address updates (Joel Soete, Grant Grundler)
- Changes to fix dev->bridge conversion (James Bottomley)
- Fix SuckyIO console (Grant Grundler)
- Stop pasting __FILE__
- More compat work (Carlos O'Donell)
- Redo vmlinux.lds.S for x86-similarity (James Bottomley)
- Move __ex_table into the writable section (Randolph Chung)
<willy@debian.org>
[PATCH] PA-RISC driver update for 2.6.2
PA-RISC specific driver updates:
- Stop pasting __FILE__
- Improve card-mode Dino support (James Bottomley)
- Fix dev->bridge rename (James Bottomley)
- iosapic/SBA/LBA cleanups (Grant Grundler)
- Improve LED support (Helge Deller)
- Fix mux driver (Ryan Bradetich)
- Make STI framebuffer work on RDI PrecisionBook (Helge Deller)
<akpm@osdl.org>
[NET]: Simply net_ratelimit().
Reimplement net_ratelimit() in terms of the new printk_ratelimit().
As net_ratelimit() already has it own sysctls we generalise
printk_ratelimit() a bit so that networking does not lose its existing
sysctls and so that it can use different time constants from the more generic
printk_ratelimit().
<yoshfuji@linux-ipv6.org>
[IPV6]: Clean-up NS (including DAD) vs tentative address.
<yoshfuji@linux-ipv6.org>
[IPV6]: Unify 3 similar code paths in ndisc_recv_ns().
<yoshfuji@linux-ipv6.org>
[IPV6]: Use cheaper ipv6_addr_any() where appropriate.
<shmulik.hen@intel.com>
[IPV4]: Split arp_send into arp_create and arp_xmit, export them.
<shmulik.hen@intel.com>
[VLAN]: Export VLAN tag get/set functionality.
Enable intermediate network drivers like bonding to get or set a
VLAN tag in an skb without a need to know about how tagging is done
according to a network adapter's capabilities.
<shmulik.hen@intel.com>
[VLAN]: Use VLAN tag set functionality in 8021q module.
Make the regular/HW accelerated xmit functions in the 8021q module
use the new set VLAN tag functionality to reduce code duplication.
<petri.koistinen@iki.fi>
[NET]: Bunch of Kconfig and doc URL updates.
<wesolows@foobazco.org>
[SPARC32]: Fix sparc32 module support.
<torvalds@home.osdl.org>
Linux 2.6.3-rc1
(
Log in to post comments)