diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-01-14 08:46:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 18:50:06 -0500 |
commit | 1863100a0244828f78e5e47b22b93ca912e80963 (patch) | |
tree | 36c0958983ceeffb5dc6fa75e64dde410987af35 /drivers/pci/quirks.c | |
parent | 2f2d39d2843570e81be6d53da6052f6752dc3c45 (diff) |
PCI: remove quirk_sis_96x_compatible()
Since 2.6.0-test10, all quirk_sis_96x_compatible() had any effect on
was a printk().
This patch therefore removes it.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r-- | drivers/pci/quirks.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index e5cc6a40ed46..d0c359335077 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -1152,8 +1152,6 @@ DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_LPC, quirk_sis_96x_ | |||
1152 | * | 1152 | * |
1153 | * We can also enable the sis96x bit in the discovery register.. | 1153 | * We can also enable the sis96x bit in the discovery register.. |
1154 | */ | 1154 | */ |
1155 | static int __devinitdata sis_96x_compatible = 0; | ||
1156 | |||
1157 | #define SIS_DETECT_REGISTER 0x40 | 1155 | #define SIS_DETECT_REGISTER 0x40 |
1158 | 1156 | ||
1159 | static void quirk_sis_503(struct pci_dev *dev) | 1157 | static void quirk_sis_503(struct pci_dev *dev) |
@@ -1169,9 +1167,6 @@ static void quirk_sis_503(struct pci_dev *dev) | |||
1169 | return; | 1167 | return; |
1170 | } | 1168 | } |
1171 | 1169 | ||
1172 | /* Make people aware that we changed the config.. */ | ||
1173 | printk(KERN_WARNING "Uncovering SIS%x that hid as a SIS503 (compatible=%d)\n", devid, sis_96x_compatible); | ||
1174 | |||
1175 | /* | 1170 | /* |
1176 | * Ok, it now shows up as a 96x.. run the 96x quirk by | 1171 | * Ok, it now shows up as a 96x.. run the 96x quirk by |
1177 | * hand in case it has already been processed. | 1172 | * hand in case it has already been processed. |
@@ -1183,16 +1178,6 @@ static void quirk_sis_503(struct pci_dev *dev) | |||
1183 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503, quirk_sis_503 ); | 1178 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503, quirk_sis_503 ); |
1184 | DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503, quirk_sis_503 ); | 1179 | DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503, quirk_sis_503 ); |
1185 | 1180 | ||
1186 | static void __init quirk_sis_96x_compatible(struct pci_dev *dev) | ||
1187 | { | ||
1188 | sis_96x_compatible = 1; | ||
1189 | } | ||
1190 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_645, quirk_sis_96x_compatible ); | ||
1191 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_646, quirk_sis_96x_compatible ); | ||
1192 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_648, quirk_sis_96x_compatible ); | ||
1193 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_650, quirk_sis_96x_compatible ); | ||
1194 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_651, quirk_sis_96x_compatible ); | ||
1195 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_735, quirk_sis_96x_compatible ); | ||
1196 | 1181 | ||
1197 | /* | 1182 | /* |
1198 | * On ASUS A8V and A8V Deluxe boards, the onboard AC97 audio controller | 1183 | * On ASUS A8V and A8V Deluxe boards, the onboard AC97 audio controller |