From f1b420f2dfd1168e95047f4f5825fd1fb8a2f19e Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Mon, 31 May 2004 04:08:30 +0000 Subject: [PATCH] from Vojtech Pavlik: I'm sending you this little obvious patch which should enable i2c-piix to work on IBM servers with ServerWorks chipsets. It still will treat any IBM/Intel machine as a laptop and refuse to work, but it's better than before. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2570 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-piix4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/busses/i2c-piix4.c b/kernel/busses/i2c-piix4.c index 45c78a4c..339f2998 100644 --- a/kernel/busses/i2c-piix4.c +++ b/kernel/busses/i2c-piix4.c @@ -139,7 +139,7 @@ static int __devinit piix4_setup(struct pci_dev *PIIX4_dev, printk(KERN_INFO "Found %s device\n", PIIX4_dev->name); #ifdef CONFIG_X86 - if(ibm_dmi_probe()) { + if(ibm_dmi_probe() && PIIX4_dev->vendor == PCI_VENDOR_ID_INTEL) { printk(KERN_ERR "i2c-piix4.o: IBM Laptop detected; this module " "may corrupt your serial eeprom! Refusing to load " "module!\n");