Commit Graph

16 Commits

Author SHA1 Message Date
uwe
ccf4b50a2c KNF: no parentheses around return value. 2006-04-05 01:13:50 +00:00
uwe
a31a2f7d75 ANSI'ify. 2006-04-05 01:05:50 +00:00
uwe
0eaa91ef03 Add dc_stride member to igsfb_devconfig.
Eliminate all mentions of rasops_info from igsfb_ioctl(), we have all
the information in igsfb_devconfig now.  It's semantically correct to
serve that info from there, not from a cached copy in rasops_info.
2006-04-04 23:43:40 +00:00
macallan
31038cb7db Add support for virtual consoles to igsfb.
Works fine on a Krups, needs testing on other ports.
2006-02-23 08:01:59 +00:00
perry
fbae48b901 Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
2006-02-16 20:17:12 +00:00
perry
3d4ed1fbc7 __inline__ -> inline 2005-12-24 23:41:33 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
uwe
520a24ea83 Use standard uintN_t types instead of home-grown u_intN_t types. 2004-11-26 22:29:36 +00:00
uwe
97e817d08e Implement accelerated text ops using graphic coprocessor. 2003-05-31 23:22:26 +00:00
uwe
a3e1bfb091 Use hardware sprite for the text mode cursor.
Fail cursor related ioctls with EBUSY while in text mode.

Don't do uvm_useracc checks before copyout, instead check copyout()
return value directly.

Minor cleanups.
2003-05-11 03:20:09 +00:00
uwe
6311425db4 Don't need a separate bit expansion table for the cursor mask. 2003-05-10 16:20:23 +00:00
uwe
2866542ad3 Redo attachment to support proper cnattach.
wscons on netwinder almost works now.
2003-05-10 01:51:56 +00:00
uwe
333e0ca8a9 Quick patch to allow the (only) screen to be configured with
wsconscfg(8) when it's not being used as the console.
2003-01-12 21:37:59 +00:00
uwe
be3f67ca41 Add some preliminary support for setting up the CyberPro in Netwinder.
Setup sequence obtained from Krups OFW with some CyberPro-specific
magic from Linux driver.  The driver still has a lot of hardcoded
stuff, but it is useful enough to bring up wscons on netwinder.

XXX: Proper console attachment needs to be written (the driver was
originally developed on sparc, where our approach to attaching console
is totally different).

Caveat emptor!
2002-09-24 18:17:24 +00:00
uwe
fee27e724f Add definitions of IGS coprocessor registers (not used yet).
Always init chip via I/O space.
Map only I/O registers we actually need.
Automatically detect if we need to do bswapping
Add (untested) code to use automagic bswap on CyberPro.
Report video memory amount.
Report if/how bswapping is done.
2002-07-21 02:56:35 +00:00
uwe
782296b588 First cut at framebuffer driver for Integraphics Systems IGA1682.
It's not finished yet, but it can do enough to get wscons working for
Krups JavaStation.
2002-03-30 19:48:55 +00:00