diff --git a/TODO b/TODO index eafa5a3a..0d1e4f31 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,7 @@ Many, many things. Most notably: +* At least the bit-lp and bit-velle modules do no detection on loading; + ask Simon whether this is possible to add. * Check whether the FAN count divisors in the lm78 module are correct (probably not!); correct gl518sm changed-fan_div_but_did_not_update_fans * Wouldn't it be better to display all natural voltages for the LM78 chip, diff --git a/doc/bit-mb-VIA b/doc/bit-mb-VIA new file mode 100644 index 00000000..2e438c58 --- /dev/null +++ b/doc/bit-mb-VIA @@ -0,0 +1,20 @@ +(From a recent mailing of Kyösti Mälkki) + +Read i2c/README.bitmb. +Your /proc/pci or lspci must show VT82C586B (note the last B) +to make it work. This is an upgraded version of VT82C586/A with USB and +ACPI support. The i2c-lines are accessed through the ACPI part. + +This is my PCI bus data: + +00:07.3 Bridge: VIA Technologies, Inc. VT82C586B ACPI (rev 10) + Flags: medium devsel + +South bridge VT82C586B is in these chipsets: MVP3, VP3, VP2/97, VPX/97 + +I don't see the last two PCI devices if USB is not enabled in BIOS setup. +BTW, my motherboard is FIC VA-503+. + +Hope this helps for now, I will write better documentation some day. + + diff --git a/doc/modules b/doc/modules index ec832acf..b5c1c595 100644 --- a/doc/modules +++ b/doc/modules @@ -78,14 +78,19 @@ at all! (i2c) bit-mb: algo-bit i2c-core VIA VT82C586B bus access. This is often used instead of the PIIX4 as SMBus + host. (i2c) bit-lp: algo-bit i2c-core I2C bus through the parallel port, Philips interface + Do not insert this module unless you are sure you have this interface; + it will block your parallel port, and cause fake devices to appear. Module parameters: base (i) Base address of parallel port (i2c) bit-velle: algo-bit i2c-core I2C bus through the parallel port, Vellemann K9000 interface + Do not insert this module unless you are sure you have this interface; + it will block your parallel port, and cause fake devices to appear. Module parameters: base (i) Base address of parallel port diff --git a/kernel/busses/i2c-piix4.c b/kernel/busses/i2c-piix4.c index e80aaeaa..ebe41931 100644 --- a/kernel/busses/i2c-piix4.c +++ b/kernel/busses/i2c-piix4.c @@ -158,7 +158,7 @@ int piix4_setup(void) things after enabling this. :') Check for Bios updates before resorting to this. */ if ((temp & 1) == 0) { - pcibios_write_config_byte_united(PIIX4_dev, PIIX4_bus, PIIX4_devfn, + pci_write_config_byte_united(PIIX4_dev, PIIX4_bus, PIIX4_devfn, SMBHSTCFG, temp | 1); printk("piix4.0: WARNING: PIIX4 SMBus interface has been FORCEFULLY " "ENABLED!!\n"); diff --git a/src/piix4.c b/src/piix4.c index e80aaeaa..ebe41931 100644 --- a/src/piix4.c +++ b/src/piix4.c @@ -158,7 +158,7 @@ int piix4_setup(void) things after enabling this. :') Check for Bios updates before resorting to this. */ if ((temp & 1) == 0) { - pcibios_write_config_byte_united(PIIX4_dev, PIIX4_bus, PIIX4_devfn, + pci_write_config_byte_united(PIIX4_dev, PIIX4_bus, PIIX4_devfn, SMBHSTCFG, temp | 1); printk("piix4.0: WARNING: PIIX4 SMBus interface has been FORCEFULLY " "ENABLED!!\n");