PNP: revert Supermicro H8DCE motherboard quirk

There are other systems with similar problems
(http://lkml.org/lkml/2008/1/27/168), so we need a more
generic quirk. Remove the Supermicro-specific one first.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Bjorn Helgaas and committed by Linus Torvalds e0aca233 3fedb3c5

-43
-43
drivers/pnp/quirks.c
··· 17 17 #include <linux/slab.h> 18 18 #include <linux/pnp.h> 19 19 #include <linux/io.h> 20 - #include <linux/dmi.h> 21 20 #include <linux/kallsyms.h> 22 21 #include "base.h" 23 22 ··· 108 109 "pnp: SB audio device quirk - increasing port range\n"); 109 110 } 110 111 111 - static void quirk_supermicro_h8dce_system(struct pnp_dev *dev) 112 - { 113 - int i; 114 - static struct dmi_system_id supermicro_h8dce[] = { 115 - { 116 - .ident = "Supermicro H8DCE", 117 - .matches = { 118 - DMI_MATCH(DMI_SYS_VENDOR, "Supermicro"), 119 - DMI_MATCH(DMI_PRODUCT_NAME, "H8DCE"), 120 - }, 121 - }, 122 - { } 123 - }; 124 - 125 - if (!dmi_check_system(supermicro_h8dce)) 126 - return; 127 - 128 - /* 129 - * On the Supermicro H8DCE, there's a system device with resources 130 - * that overlap BAR 6 of the built-in SATA PCI adapter. If the PNP 131 - * system device claims them, the sata_nv driver won't be able to. 132 - * More details at: 133 - * https://bugzilla.redhat.com/show_bug.cgi?id=280641 134 - * https://bugzilla.redhat.com/show_bug.cgi?id=313491 135 - * http://lkml.org/lkml/2008/1/9/449 136 - * http://thread.gmane.org/gmane.linux.acpi.devel/27312 137 - */ 138 - for (i = 0; i < PNP_MAX_MEM; i++) { 139 - if (pnp_mem_valid(dev, i) && pnp_mem_len(dev, i) && 140 - (pnp_mem_start(dev, i) & 0xdfef0000) == 0xdfef0000) { 141 - dev_warn(&dev->dev, "disabling 0x%llx-0x%llx to prevent" 142 - " conflict with sata_nv PCI device\n", 143 - (unsigned long long) pnp_mem_start(dev, i), 144 - (unsigned long long) (pnp_mem_start(dev, i) + 145 - pnp_mem_len(dev, i) - 1)); 146 - pnp_mem_flags(dev, i) = 0; 147 - } 148 - } 149 - } 150 - 151 112 /* 152 113 * PnP Quirks 153 114 * Cards or devices that need some tweaking due to incomplete resource info ··· 128 169 {"CTL0043", quirk_sb16audio_resources}, 129 170 {"CTL0044", quirk_sb16audio_resources}, 130 171 {"CTL0045", quirk_sb16audio_resources}, 131 - {"PNP0c01", quirk_supermicro_h8dce_system}, 132 - {"PNP0c02", quirk_supermicro_h8dce_system}, 133 172 {""} 134 173 }; 135 174