Commit Graph

179 Commits

Author SHA1 Message Date
takemura
64b6b76a21 You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
2001-07-22 09:56:39 +00:00
toshii
e267c67b60 "infomation" -> "information" 2001-07-17 01:37:43 +00:00
uch
0774d04303 (TX39) switch from TX local I/O manager to hpcio 2001-06-13 19:09:07 +00:00
sato
a2c4938b03 not set HPCFB_SWAP_BYTE 2001-06-11 09:36:44 +00:00
sato
c1922a2158 not set HPCFB_SWAP_BYTE. 2001-06-11 09:21:15 +00:00
uch
7fd9577e9e fix WSDISPLAYIO_PUTCMAP bug. 2001-05-21 18:37:30 +00:00
uch
5dd9fe4aa5 set allocatable PCMCIA I/O space size. 2001-05-08 18:08:02 +00:00
sato
6c5da9bd76 o Change initialization for config_hook() base lcd control.
o Fix backlight control in case that light is controlable but not be
  able to get status.
o change some verbose prints.
2001-03-26 09:40:45 +00:00
takemura
44e4c53338 Add MQ200_USECRT option, which enables CRT output on MC/R530.
This is kernel configuration option and you can't enable and disable CRT
dynamically for now.
2001-03-25 13:06:52 +00:00
sato
ee1d25e7bd * assume backlight is on if backlight value cannot get.
* move the lcd control codes used config_hook_call()
  in *_hardpower() to *_power().
2001-03-12 08:54:25 +00:00
takemura
1ab9404c3c Fix definition of MQ200_GCR(n). This definition was quite bad! 2001-03-11 13:53:31 +00:00
sato
80214041c7 support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
lcd on/off
2001-03-09 08:54:18 +00:00
sato
b8e5bc569c * add WSDISPLAYIO_PARAM_BACKLIGHT, WSDISPLAYIO_PARAM_CONTRAST,
WSDISPLAYIO_PARAM_BRIGHTNESS supports.
2001-02-27 08:54:17 +00:00
uch
b81de58f77 I forgot to move Makefile. 2001-02-23 14:08:54 +00:00
uch
659f65e0ee hpc common files are moved to dev/hpc. 2001-02-22 18:37:54 +00:00
sato
6602ad15b5 * show framebuffer address in boot time. 2001-02-15 09:17:18 +00:00
uch
68b5de4251 sync with bicons change. 2001-02-09 19:47:28 +00:00
sato
dcdef16dcd Copyright year. 2001-02-02 08:31:04 +00:00
uch
584cfa7669 Switch to MI md_root.c. 2001-01-28 03:09:40 +00:00
sato
8211e0e08b * support more than 16 ids.
* check the event ids are in the table.
2001-01-26 03:44:33 +00:00
sato
3689556739 * fix typo.
* change PWR_* handling to PWR_SOFT* handling, if these routines need to sleep.
2001-01-24 09:34:26 +00:00
sato
2e9c446398 * dopowerhooks(PWR_SOFTSUSPEND) in apm_suspend().
* dopowerhooks(PWR_SOFTSTANDBY) in apm_standby().
* dopowerhooks(PWR_SOFTRESUME) in apm_resume().
* dopowerhooks(PWR_RESUME), dopowerhooks(PWR_STANDBY),
  dopowerhooks(PWR_SUSPEND) run in splhigh() state.

These changes sync with arch/i386/i386/apm.c.
2001-01-24 09:29:25 +00:00
sato
fbf168d909 delete unneed debug message. 2001-01-24 03:52:16 +00:00
sato
a164b74b53 revert one of 1.34 change.
> * emul/mapping infomation turn to per screen.
(my misunderstanding)
currently per device.
2001-01-24 03:50:20 +00:00
sato
4af7f46d47 * support hpcfb_show_screens()'s cb and cbarg arguments. (HPCFB_MULTI)
* emul/mapping infomation turn to per screen.
* rename hpcfb_check_scroll() to hpcfb_check_update(). (HPCFB_JUMP)
* rename hpcfb_scroll_update() to hpcfb_update(). (HPCFB_JUMP)
* update experimental HPCFB_JUMP codes. (but not yet fix yet)
2001-01-24 01:38:53 +00:00
sato
0e59b8d2ec add 4bpp support (sync with mq200 rev1.6 -> 1.7) 2001-01-23 08:51:48 +00:00
takemura
9aa8ab9279 Use rasops with 4bit depth. 2001-01-21 14:00:32 +00:00
takemura
82340f7df1 Built-in console driver supports 4bpp frame buffer. 2001-01-21 09:11:28 +00:00
sato
86035aa9c0 dummy WSKBDIO_SETLEDS WSKBDIO_GETLEDS for wsconsctl(8) 2001-01-10 08:43:13 +00:00
takemura
e2173eff07 Add some definitions. 2001-01-07 07:29:33 +00:00
sato
37682e5488 - print debug message for WSDISPLAYIO_GETPARAM/WSDISPLAYIO_SETPARAM
when boot verbose mode.
  for debuging LCD control and/or keyboard cmds.
2001-01-05 09:09:48 +00:00
sato
78242b5fd8 - fix WSDISPLAYIO_MODE_EMUL mode redrawing.
- avoid null pointer dereference.
- clean up hpcfb_show_screen().
2001-01-05 09:04:55 +00:00
sato
58b63998c2 handle pointer type event message and scaler type event message
for CONFIG_HOOK_PMEVENT_*.
2001-01-04 07:43:37 +00:00
sato
46921fecee Avoid null pointer dereference. dc_sc may be null on early stage. 2001-01-04 06:07:43 +00:00
enami
62f0a92d52 Avoid null pointer dereference. dc_sc may be null on early stage. 2001-01-04 03:03:04 +00:00
enami
596f0820de Set HPCFB_DC_CURRENT bit in hpcfb_init() so that boot -d works. 2001-01-04 01:35:21 +00:00
sato
f89afd86e1 re-disable experimental HPCFB_MULTI codes.... 2001-01-01 01:42:03 +00:00
sato
6592f8f942 notify console polling mode or not to lower level video driver.
turn polling mode when console are polling mode.
disable redrawing when not EMUL mode.
2000-12-30 01:55:24 +00:00
sato
1ed5e58cb7 * implimant CONFIG_HOOK_PMEVENT_BATTERY&CONFIG_HOOK_PMEVENT_AC
based apm state transition.
- change CONFIG_HOOK_PMEVENT_BATTERY message.
XXX: currentry none send these events.
2000-12-29 08:12:08 +00:00
sato
0ebc2f12c2 fix typo. 2000-12-27 07:52:00 +00:00
sato
e05cd448e3 make compilable for HPCFB_JUMP codes. 2000-12-25 10:27:28 +00:00
sato
45b32e79e8 * add iodone&font entry in struct hpcfb_accessops.
* update HPCFB_JUMP codes.
* change tvram initialization out of hpcfb_init().
* use dc_fbaddr for switching screen (for HPCFB_MULTI codes).
2000-12-25 10:09:31 +00:00
sato
496cf20c43 * update HPCFB_MULTI codes
- check malloc() return value.
- disable multi screen feature when console is serial.
  XXXX: bacause hpcfb multiscreen feature buggy in serial console.
2000-12-22 08:37:17 +00:00
sato
bd50a7eb6a - re-disable HPCFB_MULTI which enabled by my mistake.
- fix hpcfb_show_screen()'s cursor drawing when HPCFB_MULTI is enabled.
2000-12-21 03:30:36 +00:00
sato
b3192db26e fix sc->sc_fbconf.hf_offset calculation. 2000-12-21 03:27:15 +00:00
sato
1cf16cd23f fix some HPCFB_MULTI related bugs.
- confusing some screens.
- save/resume problem

(but HPCFB_MULTI is not stabe yet)
2000-12-20 09:35:40 +00:00
sato
45f1bffb11 fix bug hpcfb_redraw()'s argument all=1. 2000-12-20 08:04:27 +00:00
sato
595779fbdc delete unused HPCFB_BSTORE codes. 2000-12-12 22:41:02 +00:00
takemura
1021bf4bf1 Change hf_baseaddr usage. Now it potins frame buffer start address instead
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
2000-12-03 13:43:40 +00:00
takemura
e7c346ccba - CRT control exists only in GC01R.
- add some symbols.
 - fix some typo.
2000-12-03 13:24:33 +00:00