kernel-ark/drivers/media/video
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
..
bt8xx V4L/DVB (5808): Bttv: fix v4l1 breaking the driver 2007-07-03 15:11:14 -03:00
cpia2
cx88 V4L/DVB (5816): Cx88-blackbird: fix vidioc_g_tuner never ending list of tuners 2007-07-03 15:11:16 -03:00
cx25840 V4L/DVB (5576): Improve / fix support for PAL-60 in cx25840 2007-05-09 10:12:34 -03:00
em28xx V4L/DVB (5640): Fix: em28xx shouldn't be selecting VIDEO_BUF 2007-05-22 16:00:12 -03:00
et61x251 V4L/DVB (5586): Use menuconfig objects II - V4L 2007-05-09 10:12:39 -03:00
ivtv V4L/DVB (5751): Ivtv: fix ia64 printk format warnings. 2007-06-08 08:54:41 -03:00
ovcamchip i2c: Cleanup the includes of <linux/i2c.h> 2007-05-01 23:26:29 +02:00
pvrusb2 V4L/DVB (5586): Use menuconfig objects II - V4L 2007-05-09 10:12:39 -03:00
pwc Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2007-05-11 12:57:16 -07:00
saa7134 saa7134: fix thread shutdown handling 2007-06-28 11:34:54 -07:00
sn9c102 V4L/DVB (5586): Use menuconfig objects II - V4L 2007-05-09 10:12:39 -03:00
usbvideo Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2007-05-11 12:57:16 -07:00
usbvision V4L/DVB (5720): Usbvision: fix urb allocation and submits 2007-06-08 08:21:14 -03:00
zc0301 V4L/DVB (5586): Use menuconfig objects II - V4L 2007-05-09 10:12:39 -03:00
adv7170.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
adv7175.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
arv.c
bt819.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
bt856.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
bt866.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
btcx-risc.c
btcx-risc.h
bw-qcam.c
bw-qcam.h
c-qcam.c
cafe_ccic-regs.h V4L/DVB (5690): Cafe_ccic: Properly power down the sensor 2007-05-22 16:16:27 -03:00
cafe_ccic.c V4L/DVB (5690): Cafe_ccic: Properly power down the sensor 2007-05-22 16:16:27 -03:00
compat_ioctl32.c
cpia_pp.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
cpia_usb.c
cpia.c
cpia.h header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
cs53l32a.c
cs8420.h
cx2341x.c i2c: Cleanup the includes of <linux/i2c.h> 2007-05-01 23:26:29 +02:00
dabfirmware.h
dabusb.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
dabusb.h
dpc7146.c
font.h
hexium_gemini.c
hexium_orion.c
ibmmpeg2.h
indycam.c
indycam.h
ir-kbd-i2c.c
Kconfig Fix Kconfig dependency problems wrt boolean menuconfigs 2007-06-28 11:34:53 -07:00
ks0127.c
ks0127.h
Makefile
meye.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
meye.h meye: make meye use sony-laptop instead of sonypi 2007-04-28 22:06:02 -04:00
msp3400-driver.c
msp3400-driver.h
msp3400-kthreads.c
mt20xx.c
mxb.c
mxb.h
ov511.c
ov511.h header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
ov7670.c V4L/DVB (5691): Ov7670: reset clkrc in rgb565 mode 2007-05-22 16:16:29 -03:00
planb.c Merge branch 'linux-2.6' into for-2.6.22 2007-04-30 12:38:01 +10:00
planb.h V4L/DVB (5551): Plan-b: header change 2007-04-27 15:45:53 -03:00
pms.c
saa711x_regs.h
saa711x.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
saa5246a.c
saa5246a.h
saa5249.c
saa6588.c
saa7110.c
saa7111.c V4L/DVB (5700): Saa7111: fix picture settings cache bug 2007-06-08 08:21:12 -03:00
saa7114.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
saa7115.c
saa7121.h
saa7127.c
saa7146.h
saa7146reg.h
saa7185.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
saa7191.c
saa7191.h
saa7196.h
se401.c
se401.h header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
stradis.c
stv680.c
stv680.h
tda7432.c
tda8290.c
tda9840.c
tda9840.h
tda9875.c
tda9887.c
tea5767.c
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
tlv320aic23b.c
tuner-3036.c
tuner-core.c
tuner-simple.c V4L/DVB (5680): Tuner-simple.c fix suport for SECAM with FI1216MF 2007-05-22 16:16:25 -03:00
tuner-types.c
tvaudio.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
tveeprom.c
tvmixer.c
tvp5150_reg.h
tvp5150.c
upd64031a.c
upd64083.c
v4l1-compat.c V4L/DVB (5571): V4l1-compat: Make VIDIOCSPICT return errors in a useful way 2007-05-09 10:13:09 -03:00
v4l2-common.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
video-buf-dvb.c
video-buf.c V4L/DVB (5603): V4L: Prevent queueing queued buffers. 2007-05-09 10:12:56 -03:00
videocodec.c
videocodec.h
videodev.c V4L/DVB (5617): V4L2: videodev, allow debugging 2007-05-09 10:13:04 -03:00
vino.c
vino.h
vivi.c
vpx3220.c
w9966.c
w9968cf_decoder.h
w9968cf_vpp.h
w9968cf.c
w9968cf.h
wm8739.c
wm8775.c
zoran_card.c
zoran_card.h
zoran_device.c
zoran_device.h
zoran_driver.c Clean up mutex_trylock noise 2007-05-08 11:15:13 -07:00
zoran_procfs.c
zoran_procfs.h
zoran.h
zr364xx.c
zr36016.c
zr36016.h
zr36050.c
zr36050.h
zr36057.h
zr36060.c
zr36060.h