patch-2.3.22 linux/drivers/char/buz.c
Next file: linux/drivers/char/chipsets.h
Previous file: linux/drivers/char/busmouse.c
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Fri Oct 15 11:49:37 1999
- Orig file:
v2.3.21/linux/drivers/char/buz.c
- Orig date:
Mon Oct 4 15:49:29 1999
diff -u --recursive --new-file v2.3.21/linux/drivers/char/buz.c linux/drivers/char/buz.c
@@ -3366,29 +3366,25 @@
return zoran_num;
}
-#include "chipsets.h"
-
static void handle_chipset(void)
{
- int index;
- struct pci_dev *dev = NULL;
-
- for (index = 0; index < sizeof(black) / sizeof(black[0]); index++) {
- if ((dev = pci_find_device(black[index].vendor, black[index].device, dev)) != NULL) {
- printk(KERN_INFO ": Host bridge: %s, ", black[index].name);
- switch (black[index].action) {
-
- case TRITON:
- printk("enabling Triton support.\n");
- triton = 1;
- break;
+ if(pci_pci_problems&PCIPCI_FAIL)
+ {
+ printk(KERN_WARNING "buz: This configuration is known to have PCI to PCI DMA problems\n");
+ printk(KERN_WARNING "buz: You may not be able to use overlay mode.\n");
+ }
+
- case NATOMA:
- printk("enabling Natoma workaround.\n");
- natoma = 1;
- break;
- }
- }
+ if(pci_pci_problems&PCIPCI_TRITON)
+ {
+ printk("buz: Enabling Triton support.\n");
+ triton = 1;
+ }
+
+ if(pci_pci_problems&PCIPCI_NATOMA)
+ {
+ printk("buz: Enabling Natoma workaround.\n");
+ natoma = 1;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)