Changeset 1821
- Timestamp:
- 06/28/03 21:27:17 (10 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/hotplug/p4b_smbus.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/hotplug/p4b_smbus.c
r1503 r1821 103 103 /* 104 104 * Checks whether SMBus is enabled and turns it on in case they are not. 105 * It's done by clearing Bit 8 and 4in i801 config space F2h, PCI-Device 0x8086:0x2440(ICH2)/0x24c0(ICH4)105 * It's done by clearing Bit 8 and 3 in i801 config space F2h, PCI-Device 0x8086:0x2440(ICH2)/0x24c0(ICH4) 106 106 */ 107 107 static int … … 112 112 DBG("i801smbus: i801smbus config byte reading 0x%X.\n", val); 113 113 if (val & 0x008) { 114 pci_write_config_word(dev, 0xF2, val & 0x 77);114 pci_write_config_word(dev, 0xF2, val & 0xfef7); 115 115 pci_read_config_word(dev, 0xF2, &val); 116 116 if(val & 0x008)
