Skip to contentSkip to conversation

Longhaul - VT8237

PATCH New Rafał Bilski 1 participant 1 message May 17, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 Longhaul - VT8237

Looks like VT8237 has the same bits which VT8235 has. Poke registers if it is found.

---
 arch/i386/kernel/cpu/cpufreq/longhaul.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/i386/kernel/cpu/cpufreq/longhaul.c +4 -0
@@ -633,6 +633,10 @@ static int longhaul_setup_southbridge(void)
 
 	/* Find VT8235 southbridge */
 	dev = pci_get_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8235, NULL);
+	if (dev == NULL)
+	/* Find VT8237 southbridge */
+		dev = pci_get_device(PCI_VENDOR_ID_VIA,
+				     PCI_DEVICE_ID_VIA_8237, NULL);
 	if (dev != NULL) {
 		/* Set transition time to max */
 		pci_read_config_byte(dev, 0xec, &pci_cmd);
Signature · 2 lines
----------------------------------------------------------------------
Nowy darmowy serwis og³oszeniowy Populada. Kup, sprzedaj, zamieñ  
Quoted 1 line
Quoted 1 line
Quoted 1 line

http://link.interia.pl/f1a8a