root/lm-sensors/trunk/doc/busses/i2c-piix4 @ 4051

Revision 4051, 3.7 KB (checked in by khali, 7 years ago)

i2c-piix4: Drop the fix_hstcfg parameter (2.6 backport)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1Kernel driver `i2c-piix4.o'
2
3Status: Complete and well-tested
4        except for Victory66 support which is Alpha.
5
6Supported adapters:
7  * Intel 82371AB PIIX4 and PIIX4E
8  * Intel 82443MX (440MX)
9    Datasheet: Publicly available at the Intel website
10  * ServerWorks OSB4, CSB5, CSB6 and HT-1000 southbridges
11    Datasheet: Only available via NDA from ServerWorks
12  * ATI IXP southbridges IXP200, IXP300, IXP400
13    Datasheet: Not publicly available
14  * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge
15    Datasheet: Publicly available at the SMSC website http://www.smsc.com
16
17Author: Frodo Looijaard <frodol@dds.nl> and Philip Edelbrock
18        <phil@netroedge.com>
19
20
21Module Parameters
22-----------------
23
24* force: int
25  Forcibly enable the PIIX4. DANGEROUS!
26* force_addr: int
27  Forcibly enable the PIIX4 at the given address. EXTREMELY DANGEROUS!
28
29
30Description
31-----------
32
33The PIIX4 (properly known as the 82371AB) is an Intel chip with a lot of
34functionality. Among other things, it implements the PCI bus. One of its
35minor functions is implementing a System Management Bus. This is a true
36SMBus - you can not access it on I2C levels. The good news is that it
37natively understands SMBus commands and you do not have to worry about
38timing problems. The bad news is that non-SMBus devices connected to it
39can confuse it mightily. Yes, this is known to happen...
40
41Cat /proc/pci, and see whether it contains an entry like this:
42
43  Bus  0, device   1, function  3:
44    Bridge: Intel 82371AB PIIX4 ACPI (rev 1).
45      Medium devsel.  Fast back-to-back capable. 
46
47Bus and device numbers may differ, but the function number must be identical
48(like many PCI devices, the PIIX4 incorporates a number of different
49'functions', which can be considered as separate devices). If you find such
50an entry, you have a PIIX4 SMBus controller.
51
52On some computers (most notably, some Dells), the SMBus is disabled by
53default. If you use the insmod parameter 'force=1', the kernel module
54 will try to enable it. THIS IS VERY DANGEROUS! If the BIOS did not
55set up a correct address for this module, you could get in big trouble
56(read: crashes, data corruption, etc.). Try this only as a last resort
57(try BIOS updates first, for example), and backup first! An even more
58dangerous option is 'force_addr=<IOPORT>'. This will not only enable the
59PIIX4 like 'force' foes, but it will also set a new base I/O port address.
60The SMBus parts of the PIIX4 needs a range of 8 of these addresses to
61function correctly. If these addresses are already reserved by some other
62device, you will get into big trouble! DON'T USE THIS IF YOU ARE NOT VERY
63SURE ABOUT WHAT YOU ARE DOING!
64
65The PIIX4E is just an new version of the PIIX4; it is supported as well. The
66PIIX/PIIX3 does not implement an SMBus or I2C bus, so you can't use this
67driver on those mainboards.
68
69The ServerWorks Southbridges, the Intel 440MX,
70and the Victory766 are identical to the PIIX4 in I2C/SMBus support.
71
72If you own Force CPCI735 motherboard or other OSB4 based systems you may need
73to change the SMBus Interrupt Select register so the SMBus controller uses
74the SMI mode.
75
761) Use lspci command and locate the PCI device with the SMBus controller:
77   00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 4f)
78   The line may vary for different chipsets. Please consult the driver source
79   for all possible PCI ids (and lspci -n to match them). Lets assume the
80   device is located at 00:0f.0.
812) Now you just need to change the value in 0xD2 register. Get it first with
82   command: lspci -xxx -s 00:0f.0
83   If the value is 0x3 then you need to change it to 0x1
84   setpci  -s 00:0f.0 d2.b=1
85
86Please note that you don't need to do that in all cases, just when the SMBus is
87not working properly.
Note: See TracBrowser for help on using the browser.