insanity debugged with djm -- here is the comment from the code: + * Some Maxim 1617 clones MAY NOT even read cmd 0xfc!  When it is + * read, they will power-on-reset.  Their default condition + * (control register bit 0x80) therefore will be that they assert + * /ALERT for the 5 potential errors that may occur.  One of those + * errors is that the external temperature diode is missing.  This + * is unfortunately a common choice of system designers, except + * suddenly now we get a /ALERT, which may on some chipsets cause + * us to receive an entirely unexpected SMI .. and then an NMI. + * + * As we probe each device, if we hit something which looks suspiciously + * like it may potentially be a 1617 or clone, we immediately set this + * variable to avoid reading that register offset.
insanity debugged with djm -- here is the comment from the code:
+ * Some Maxim 1617 clones MAY NOT even read cmd 0xfc!  When it is
+ * read, they will power-on-reset.  Their default condition
+ * (control register bit 0x80) therefore will be that they assert
+ * /ALERT for the 5 potential errors that may occur.  One of those
+ * errors is that the external temperature diode is missing.  This
+ * is unfortunately a common choice of system designers, except
+ * suddenly now we get a /ALERT, which may on some chipsets cause
+ * us to receive an entirely unexpected SMI .. and then an NMI.
+ *
+ * As we probe each device, if we hit something which looks suspiciously
+ * like it may potentially be a 1617 or clone, we immediately set this
+ * variable to avoid reading that register offset.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars