Nice, this should help. Now search for code to
access the PCI configuration space to evaluate the SMBus controllers. This you need to gather the I/O port for the SMBus register. After this,
access the SMBus as shown in the code above.
Nearly finished: no time to waste, just copy and paste...