CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2012/04/24 14:18:17

Modified files:
        sys/arch/sgi/gio: newport.c 

Log message:
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.

Reply via email to