remarkable-linux/sound/oss
Auke Kok 44c10138fd PCI: Change all drivers to use pci_device->revision
Instead of all drivers reading pci config space to get the revision
ID, they can now use the pci_device->revision member.

This exposes some issues where drivers where reading a word or a dword
for the revision number, and adding useless error-handling around the
read. Some drivers even just read it for no purpose of all.

In devices where the revision ID is being copied over and used in what
appears to be the equivalent of hotpath, I have left the copy code
and the cached copy as not to influence the driver's performance.

Compile tested with make all{yes,mod}config on x86_64 and i386.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:10 -07:00
..
dmasound Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-05-08 11:50:19 -07:00
emu10k1 PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
.gitignore
ac97.c [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ac97.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ac97_codec.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
aci.c
aci.h
ad1816.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ad1848.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
ad1848.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ad1848_mixer.h
ad1889.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
ad1889.h
adlib_card.c
aedsp16.c
au1550_ac97.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
audio.c
bin2hex.c
btaudio.c oss: strlcpy is smart enough 2007-05-08 11:15:01 -07:00
CHANGELOG
coproc.h
cs46xx.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
cs46xx_wrapper-24.h
cs46xxpm.h
cs461x.h
cs461x_image.h
cs4232.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
dev_table.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
dev_table.h [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
dmabuf.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
es1371.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
hal2.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
hal2.h
hex2hex.c
i810_audio.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
kahlua.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
Kconfig schedule obsolete OSS drivers for removal, 4th round 2007-05-08 11:15:05 -07:00
Makefile [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
midi_ctrl.h
midi_synth.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
midi_synth.h
midibuf.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
mpu401.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
mpu401.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
msnd.c
msnd.h
msnd_classic.c
msnd_classic.h
msnd_pinnacle.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
msnd_pinnacle.h
nec_vrc5477.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
nm256.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
nm256_audio.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
nm256_coeff.h
opl3.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
opl3.h
opl3_hw.h
opl3sa2.c
os.h [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
pas2.h
pas2_card.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pas2_midi.c
pas2_mixer.c
pas2_pcm.c sound: convert "sound" subdirectory to UTF-8 2007-05-09 08:58:22 +02:00
pss.c
README.FIRST
sb.h
sb_audio.c
sb_card.c ALSA: more section mismatches 2007-07-01 12:29:44 -07:00
sb_card.h
sb_common.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_ess.c
sb_ess.h
sb_midi.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_mixer.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_mixer.h
sequencer.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
sh_dac_audio.c sh: hp6xx driver compile fixes. 2007-05-07 02:10:54 +00:00
sound_calls.h [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
sound_config.h
sound_firmware.h
sound_timer.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
soundcard.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
soundvers.h
sscape.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
swarm_cs4297a.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys_timer.c
trident.c sound: convert "sound" subdirectory to UTF-8 2007-05-09 08:58:22 +02:00
trident.h
trix.c
tuning.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
uart401.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
uart6850.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ulaw.h
v_midi.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
v_midi.h
via82cxxx_audio.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
vidc.c [PATCH] misc arm pt_regs fixes 2006-10-08 12:32:36 -07:00
vidc.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
vidc_fill.S
vwsnd.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
waveartist.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
waveartist.h

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox