From mboxrd@z Thu Jan 1 00:00:00 1970 From: r.marek@sh.cvut.cz (Rudolf Marek) Date: Sat, 01 Apr 2006 15:25:24 +0000 Subject: [lm-sensors] PIIX4 and fix_hstcfg Message-Id: <442E9B64.50909@sh.cvut.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org Hello all, We have in the i2-piix4 the fix_hstcfg option and it seems we should move it to pci/quirks.c The new serverworks chipsets do not need it and because they have bit different interrupt select field the message about fix_hstcfg will appear. And if the user do it it wont work or freeze. As to remind I created this modified table with the serverworks int bit in place: Address Offset: D2h Default Value: 00h Attribute: Read/Write Bit Description 7:4 Reserved. 3:1 SMBus Interrupt Select (SMB_INTRSEL)--R/W. Selects the type of interrupt generated by the SMBus controller. This field is decoded as follows: Bits[3:1] SMBus Interrupt Bits[3:1] SMBus Interrupt 000 SMI# 100 IRQ9 001 Serverworks IRQ 101 Reserved 010 Reserved 110 Reserved 011 Reserved 111 Reserved 0 SMBus Controller Host Interface Enable (SMB_HST_EN)--R/W. 1=Enable the SMBus Controller Host Interface. 0=Disable. if (fix_hstcfg) { dev_info(&PIIX4_dev->dev, "Working around buggy BIOS " "(I2C)\n"); temp &= 0xfd; So this just cleans bit 1 effectively switching the serverworks IRQ mode to SMI (in fact) (If I remember correctly the motherboard had some incarnation of serverworks chipset.) Tom, please can you supply the lspci -v -v -v of that machine so a quirk can be developed? If you dont have the machine anymore I think we can drop that option anyway because I googled hard and it seemed nobody else had similar problems. Regards Rudolf