@@ -1061,7 +1061,7 @@
1061
1062 if ((sio_data->type == it8718 || sio_data->type == it8720)
1063 && !(sio_data->skip_vid))
-1064 sio_data->vid_value = superio_inb(IT87_SIO_VID_REG);
+1064 sio_data->vid_value = superio_inb(IT87_REG_VID);
1065
1066 reg = superio_inb(IT87_SIO_PINX2_REG);
1067 if (reg & (1 << 0))
@@ -1557,10 +1557,10 @@
1557
1558 data->sensor = it87_read_value(data, IT87_REG_TEMP_ENABLE);
1559 /* The 8705 does not have VID capability.
-1560 The 8718 and the 8720 don't use IT87_REG_VID for the
+1560 The 8718 and the 8720 don't use IT87_SIO_VID_REG for the
1561 same purpose. */
1562 if (data->type == it8712 || data->type == it8716) {
-1563 data->vid = it87_read_value(data, IT87_REG_VID);
+1563 data->vid = it87_read_value(data, IT87_SIO_VID_REG);
1564 /* The older IT8712F revisions had only 5 VID pins,
1565 but we assume it is always safe to read 6 bits. */
1566 data->vid &= 0x3f;