summaryrefslogtreecommitdiff
path: root/sys/dev/ic/stireg.h
AgeCommit message (Collapse)Author
2009-01-28If the rom contains a monitor table, look for an entry matching ourMiod Vallat
display resolution, and if one is found, pick the built-in font it points to, instead of the first font from the list. If the index is wrong and the font list is shorter, revert to the previous behaviour of using the first ROM font. This fixes the font discrepency on my B132L (INTERNAL_EG_1280) where PDC would use the 10x20 font, which is third in the list, and OpenBSD would use the 8x16 font instead. Tested on byte- and word- roms, gsc and pci cards.
2008-09-01Avoid #pragma pack(1) and unify everything towards using __packed.Theo de Raadt
This requires that structures defined within __packed structures must independently request that they themselves become __packed, too. worked on with toby CVS: ----------------------------------------------------------------------
2005-10-29Correct type for dd_grid, so that we print the device id correctly forMiod Vallat
byte-mode roms.
2005-01-24sti colormap fixes:Miod Vallat
- correct bounds checking in colormap ioctls. - force the scment() pointer to NULL on < 8.04 revisions; 8.02 provide a non-NULL pointer, but it does not point to any meaningful piece of code.
2005-01-23Two sti(4) changes necessary for hp300:Miod Vallat
- specify which microcode bank (pa or m68k) to use at attachment time. - compensate for broken 8.02 m68k code which reports wrong frame buffer offset. ok mickey@
2003-08-19implement WSDISPLAYIO_{GET,PUT}CMAP; untestedMichael Shalayeff
2003-08-19inquire ext config and dump it in debugging and also fix other debugging printsMichael Shalayeff
2003-06-02kill the caluses three and four on some of my codeMichael Shalayeff
2003-01-31Working wscons attachment and block move operations; joint debug by mickeyMiod Vallat
and myself. wsdisplay at sti will be enabled as soon as byte-size rom font loading is done.
2002-03-14First round of __P removal in sysTodd C. Miller
2001-01-11no stidebugMichael Shalayeff
2001-01-11fix a few types and alignment problemsMichael Shalayeff
2000-05-30sti hp graphics, available in pci and hp-prop sgc bus form factors.Michael Shalayeff
attach point for wsdisplay. a few problems may exist w/ certain prom versions. tested in byte- and word-wide modes. no support yet for multiple resolutions and fonts. pci not tested (obviously).