CVSROOT:        /cvs
Module name:    src
Changes by:     st...@cvs.openbsd.org   2011/07/20 19:03:31

Modified files:
        sys/dev/pci    : mpii.c 

Log message:
Index the sensor array starting from 0 not sc_vd_id_low. On my R310 this
is 1 so there, this avoids writing past the end of malloc'd space during init.
Also means the correct sensor address is registered so sysctl hw.sensors works.

Was: hw.sensors.mpii0.drive0=unknown (sd0), UNKNOWN
Now: hw.sensors.mpii0.drive0=online (sd0), OK

ok dlg@

Reply via email to