diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-09-14 10:53:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 11:30:36 -0400 |
commit | 3d265c96ccb8f72153b4e926053a79e1a52bf264 (patch) | |
tree | 1d72758576c494e491a00d1ad013b55c667ddd0d /drivers/media/video | |
parent | 13f1371e8fb53df6b0a6c0cc7de56195bf132f1c (diff) |
V4L/DVB (4635): Extend bttv and saa7134 to check for both AGP and PCI PCI failure case
We could go and work out if the target object is AGP or PCI but the
corner case of an Athlon 64 era box with PCI video is sufficiently
unusual it doesn't seem worth the extra work, at least until other cases
if any pop up.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-cards.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-core.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index de14818d5cc4..d23a42b1504f 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c | |||
@@ -4991,7 +4991,7 @@ void __devinit bttv_check_chipset(void) | |||
4991 | int pcipci_fail = 0; | 4991 | int pcipci_fail = 0; |
4992 | struct pci_dev *dev = NULL; | 4992 | struct pci_dev *dev = NULL; |
4993 | 4993 | ||
4994 | if (pci_pci_problems & PCIPCI_FAIL) | 4994 | if (pci_pci_problems & (PCIPCI_FAIL|PCIAGP_FAIL)) /* should check if target is AGP */ |
4995 | pcipci_fail = 1; | 4995 | pcipci_fail = 1; |
4996 | if (pci_pci_problems & (PCIPCI_TRITON|PCIPCI_NATOMA|PCIPCI_VIAETBF)) | 4996 | if (pci_pci_problems & (PCIPCI_TRITON|PCIPCI_NATOMA|PCIPCI_VIAETBF)) |
4997 | triton1 = 1; | 4997 | triton1 = 1; |
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index be3a81fc90a2..09aa62f61af7 100644 --- a/drivers/media/video/saa7134/saa7134-core.c +++ b/drivers/media/video/saa7134/saa7134-core.c | |||
@@ -843,7 +843,7 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev, | |||
843 | latency = 0x0A; | 843 | latency = 0x0A; |
844 | } | 844 | } |
845 | #endif | 845 | #endif |
846 | if (pci_pci_problems & PCIPCI_FAIL) { | 846 | if (pci_pci_problems & (PCIPCI_FAIL|PCIAGP_FAIL)) { |
847 | printk(KERN_INFO "%s: quirk: this driver and your " | 847 | printk(KERN_INFO "%s: quirk: this driver and your " |
848 | "chipset may not work together" | 848 | "chipset may not work together" |
849 | " in overlay mode.\n",dev->name); | 849 | " in overlay mode.\n",dev->name); |