Minor tweaks: - correctly gather version information. When reading device registers is a two   step process (write address, read data), it is a very bad idea to call a   wrapper around these two operations (to read register B) between the two   operations inline (to read register A). Unless you want to know the version   information for your garbage latches, that is. Now Indy 8-bit devices   no longer get reported as 24-bit devices, and Indy 24-bit devices no longer   get reported as 8-bit devices. (not that it mattered much anyway) - define and use symbolic constants when parsing the video mode settings to   figure out the display resolution. This code still itches, but much less now.
Minor tweaks:
- correctly gather version information. When reading device registers is a two
  step process (write address, read data), it is a very bad idea to call a
  wrapper around these two operations (to read register B) between the two
  operations inline (to read register A). Unless you want to know the version
  information for your garbage latches, that is. Now Indy 8-bit devices
  no longer get reported as 24-bit devices, and Indy 24-bit devices no longer
  get reported as 8-bit devices. (not that it mattered much anyway)
- define and use symbolic constants when parsing the video mode settings to
  figure out the display resolution. This code still itches, but much less now.

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