2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00

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
This commit is contained in:
Mark D. Studebaker
2004-05-31 04:08:30 +00:00
parent 2bf9283ebb
commit f1b420f2df

View File

@@ -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");