PATCH: 2.5.27 pci quirk for dunord

PATCH: 2.5.27 pci quirk for dunord

Post by Alan Co » Tue, 23 Jul 2002 05:00:18



diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.27/drivers/pci/quirks.c linux-2.5.27-ac1/drivers/pci/quirks.c
--- linux-2.5.27/drivers/pci/quirks.c   Sat Jul 20 20:11:05 2002

 }

 /*
+ *     DreamWorks provided workaround for Dunord I-3000 problem
+ *
+ *     This card decodes and responds to addresses not apparently
+ *     assigned to it. We force a larger allocation to ensure that
+ *     nothing gets put too close to it.
+ */
+
+static void __init quirk_dunord ( struct pci_dev * dev )
+{
+       struct resource * r = & dev -> resource [ 1 ];
+       r -> start = 0;
+       r -> end = 0xffffff;
+}
+
+/*
  *  The main table of quirks.
  */

 static struct pci_fixup pci_fixups[] __initdata = {
+       { PCI_FIXUP_HEADER,     PCI_VENDOR_ID_DUNORD,   PCI_DEVICE_ID_DUNORD_I3000,     quirk_dunord },
        { PCI_FIXUP_FINAL,      PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82441,      quirk_passive_release },
        { PCI_FIXUP_FINAL,      PCI_VENDOR_ID_INTEL,    PCI_DEVICE_ID_INTEL_82441,      quirk_passive_release },
        /*
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.27/include/linux/pci_ids.h linux-2.5.27-ac1/include/linux/pci_ids.h
--- linux-2.5.27/include/linux/pci_ids.h        Sat Jul 20 20:11:14 2002

 #define PCI_DEVICE_ID_DCI_PCCOM4       0x0001
 #define PCI_DEVICE_ID_DCI_PCCOM8       0x0002

+#define PCI_VENDOR_ID_DUNORD           0x5544
+#define PCI_DEVICE_ID_DUNORD_I3000     0x0001
+
 #define PCI_VENDOR_ID_GENROCO          0x5555
 #define PCI_DEVICE_ID_GENROCO_HFP832   0x0003

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. PATCH: 2.5.27 correct headers so miropcm-rds builds

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.27/drivers/media/radio/miropcm20-rds-core.c linux-2.5.27-ac1/drivers/media/radio/miropcm20-rds-core.c
--- linux-2.5.27/drivers/media/radio/miropcm20-rds-core.c       Sat Jul 20 20:12:19 2002

 #define _NO_VERSION_

-/* #include <linux/kernel.h> */
 #include <linux/module.h>
+#include <linux/errno.h>
+#include <linux/string.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <asm/semaphore.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. On Wavelan or RangeLan

3. irqlock patch 2.5.27-H4

4. Can DOSEMU be used to connect to Novell server??

5. PATCH: 2.5.27 fix abusers of set_bit

6. Oopses in 2.4.18-ac3 TEQL networking code

7. PATCH: 2.5.27 - Fix up the atp870u scsi driver

8. How does microsoft get away with this?

9. PATCH: 2.5.27 port thunderlan to the new DMA API

10. PATCH: 2.5.27 Fix dump non compile in ad1848 audio

11. PCI Hotplug changes for 2.5.27

12. PATCH: 2.5.27 missing config constraint on AIRO_CS

13. PATCH: 2.5.27 i2o api/headers