patch-2.3.17 linux/drivers/pci/quirks.c
Next file: linux/drivers/pci/setup.c
Previous file: linux/drivers/pci/pci.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Wed Sep 1 14:37:25 1999
- Orig file:
v2.3.16/linux/drivers/pci/quirks.c
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.16/linux/drivers/pci/quirks.c linux/drivers/pci/quirks.c
@@ -67,13 +67,8 @@
struct resource *r = &dev->resource[0];
if ((r->start & 0x3ffffff) || r->end != r->start + 0x3ffffff) {
- printk("PCI: Re-allocating buggy S3 card at %s: ", dev->name);
r->start = 0;
r->end = 0x3ffffff;
- if (pcibios_assign_resource(dev, 0))
- printk("FAILED\n");
- else
- printk("moved to %08lx\n", r->start);
}
}
@@ -90,8 +85,8 @@
* quantity.
*/
{ PCI_FIXUP_FINAL, PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_0, quirk_isa_dma_hangs },
- { PCI_FIXUP_FINAL, PCI_VENDOR_ID_S3, PCI_DEVICE_ID_S3_868, quirk_s3_64M },
- { PCI_FIXUP_FINAL, PCI_VENDOR_ID_S3, PCI_DEVICE_ID_S3_968, quirk_s3_64M },
+ { PCI_FIXUP_HEADER, PCI_VENDOR_ID_S3, PCI_DEVICE_ID_S3_868, quirk_s3_64M },
+ { PCI_FIXUP_HEADER, PCI_VENDOR_ID_S3, PCI_DEVICE_ID_S3_968, quirk_s3_64M },
{ 0 }
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)