diff options
author | Ivan Kokshaysky <ink@jurassic.park.msu.ru> | 2005-10-31 17:43:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-10 19:09:16 -0500 |
commit | a5312e28c195f6118ba52fb8abe17cf2efc6a427 (patch) | |
tree | 49a4812dd3c48b0a98c5acd94a8c7117a5155c1d /arch/ppc/kernel | |
parent | 02f313b2cc5d8273e3f2ffa23fc72392b2174cef (diff) |
[PATCH] PCI: NCR 53c810 quirk
Move the PPC fixup for old NCR 810 controllers to generic quirks -
it's needed for Alpha, x86 and other architectures that use
setup-bus.c.
Thanks to Jay Estabrook for pointing out the issue.
Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/ppc/kernel')
-rw-r--r-- | arch/ppc/kernel/pci.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c index e8f4e576750a..48ed58f995c0 100644 --- a/arch/ppc/kernel/pci.c +++ b/arch/ppc/kernel/pci.c | |||
@@ -62,20 +62,6 @@ struct pci_controller** hose_tail = &hose_head; | |||
62 | static int pci_bus_count; | 62 | static int pci_bus_count; |
63 | 63 | ||
64 | static void | 64 | static void |
65 | fixup_rev1_53c810(struct pci_dev* dev) | ||
66 | { | ||
67 | /* rev 1 ncr53c810 chips don't set the class at all which means | ||
68 | * they don't get their resources remapped. Fix that here. | ||
69 | */ | ||
70 | |||
71 | if ((dev->class == PCI_CLASS_NOT_DEFINED)) { | ||
72 | printk("NCR 53c810 rev 1 detected, setting PCI class.\n"); | ||
73 | dev->class = PCI_CLASS_STORAGE_SCSI; | ||
74 | } | ||
75 | } | ||
76 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NCR, PCI_DEVICE_ID_NCR_53C810, fixup_rev1_53c810); | ||
77 | |||
78 | static void | ||
79 | fixup_broken_pcnet32(struct pci_dev* dev) | 65 | fixup_broken_pcnet32(struct pci_dev* dev) |
80 | { | 66 | { |
81 | if ((dev->class>>8 == PCI_CLASS_NETWORK_ETHERNET)) { | 67 | if ((dev->class>>8 == PCI_CLASS_NETWORK_ETHERNET)) { |