sato
fdbe4057ec
- use struct platid_date instead of struct vrc4172pwm_platid_param.
...
- delete struct vrc4172pwm_platid_param.
XXX: vrc4172pwm driver currenty not functional yet.
2000-12-29 15:54:17 +00:00
sato
b8bfd0cc52
* vrc4172pwm driver
...
- add missing functions
- make compilabe.
2000-12-29 11:44:44 +00:00
sato
6276ccbc58
- rewrite codes using new CONFIG_HOOK_SET.
2000-12-27 12:22:07 +00:00
sato
4b9ae225e0
-rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:10:05 +00:00
sato
dc6a141444
- rewite codes by using new CONFIG_HOOK_SET and CONFIG_HOOK_EVENT.
2000-12-27 12:08:03 +00:00
sato
9eb6b660b6
fix ICU address typos.
2000-12-20 08:05:09 +00:00
sato
0f6c05e8d7
- polling battery voltage value from A/D port.
...
currently polling only.
if verbose mode, kernel print A/D raw value every polling.
2000-12-02 08:35:45 +00:00
sato
47ee1d1c1f
update vrc4172 pwm unit codes.(but not yet completly)
2000-11-11 10:08:12 +00:00
sato
c8c49f7222
- vrc4172 address map definisions.
...
- vrc4172 gpio/ucy/pcs/pmu/pwm register definitions.
- vrc4172 pwm driver (not yet completely)
2000-11-11 04:42:08 +00:00
sato
e13d487465
- A/D converter port macro: PIUAB(n)
2000-10-27 08:13:54 +00:00
sato
cbebb75a68
- add VPRINTF().
...
- show pwctl giu bit for verbose.
2000-10-27 08:12:18 +00:00
sato
5cf5562de3
probe message use dv_xname.
2000-10-27 08:10:32 +00:00
sato
d9781d7eb9
add new keyword "initvalue" on pwctl device.
...
if "initvalue 0", set the port initialy "off".
if "initvalue 1", set the port initialy "on".
otherwise keep initial value.
2000-10-17 11:37:20 +00:00
sato
af1dcf13da
flash led when intrrupt.
2000-10-03 03:16:16 +00:00
sato
c419b94c00
vr41xx LED unit driver.
2000-10-03 03:13:04 +00:00
sato
ee8000c4ad
check NBIVIDEO.
2000-10-02 04:15:51 +00:00
sato
3c83f44fa3
experimental ite8181 video driver for hpcfb.
...
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak
2000-10-02 04:14:59 +00:00
sato
eb2da98d92
#include <sys/reboot.h> would probably suffice for those.
2000-09-25 09:03:32 +00:00
sato
67afa9cfe2
- when PMUINT_BATT or PMUINT_BATTINTR interrupts occured,
...
send CONFIG_HOOK_PMEVENT_SUSPENDREQ event.
2000-09-25 03:51:28 +00:00
sato
1efb55d0b4
- add debug/verbose functions.
2000-09-25 03:47:37 +00:00
sato
5125b04184
- can compile these files.
...
#include <sys/boot_flag.h>
2000-09-25 01:56:56 +00:00
jdolecek
49c105ffdb
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
...
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
takemura
454e19c166
skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165.
2000-09-21 14:17:29 +00:00
sato
39556606fe
handle CONFIG_HOOK_POWERCONTROL events
...
- PWR_SUSPEND: save giu bits values and turn "off" the values.
- PWR_RESUME: restore giu bits values.
2000-09-10 15:30:32 +00:00
sato
9a5210c76d
- adapt config_hook(CONFIG_HOOK_PMEVENT,..)
...
save cmu clock mask register and disable all clock when PWR_SUSPEND event.
restore saved cmu clock mask register when PWR_RESUME event.
2000-09-07 03:11:11 +00:00
thorpej
a86d1f4891
Add a lock around the scheduler, and use it as necessary, including
...
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it). Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.
Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.
2000-08-20 21:50:06 +00:00
shin
04e4950cbb
detect and eliminate phantom keys.
2000-08-05 05:55:27 +00:00
takemura
733c04149a
Experimental MQ200 video driver. It's just copy of bivideo plus power
...
management routine.
2000-07-22 08:53:33 +00:00
takemura
d84cab3012
vrkiu_getc() will call over and over. but we want to see 'not implemented'
...
only once.
2000-07-22 08:26:00 +00:00
takemura
db17c07fd3
mb_bus_space_init() had been removed accidentally when KGDB was supported.
...
It's need for initialize system_bus_iot.
2000-07-22 06:02:46 +00:00
jeffs
0e306bace6
kgdb support for the vr hpcmips machines.
...
From Ethan Solomita (ethan@geocast.com ).
2000-07-20 21:03:36 +00:00
deberg
23f2392b19
don't define TAILQ_FOREACH, it's in sys/queue.h now.
2000-07-20 03:44:46 +00:00
takemura
45b6ec5476
Experimental APM compatible power management.
2000-07-02 10:01:30 +00:00
matt
0aa592b979
Add a table of calibrations. The MCR_500 one (640x240) makes the MCR_700A
...
(800x600) almost unusable. Now the 700A has it's own.
2000-06-13 05:59:55 +00:00
takemura
f0e427d05a
Add platid, VADEM CLIO C-1000 and C1050.
...
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
2000-06-03 08:00:42 +00:00
thorpej
a7d0570e67
First sweep at scheduler state cleanup. Collect MI scheduler
...
state into global and per-CPU scheduler state:
- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.
- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).
- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.
- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.
Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
2000-05-26 21:19:19 +00:00
shin
8587b62f36
call uvm_pageidlezero() while CPU is idle.
2000-05-09 13:23:57 +00:00
takemura
fe8142f713
Raw keyboard mode support. I'd tested this on MC/R530.
...
I don't sure if skbd work or not.
2000-05-04 08:18:59 +00:00
takemura
33698fcc25
Mouse move event should be made before mouse bown event. Without that,
...
you may got a mouse down event in strange plase.
2000-05-04 06:14:05 +00:00
shin
f077f10640
fix scancode -> keycode mappings:
...
MC-CS arrow keys
PV-6000 semicolon and apostrophe
2000-05-04 02:24:13 +00:00
uch
9dccb575be
change hpfcb_cnattach interface to adopt current implementation.
2000-05-02 17:45:15 +00:00
uch
441ca96c28
sync with new mips trap.c
2000-04-11 17:57:42 +00:00
nisimura
dba7b560cd
Load delay slot is automagically adjusted at runtime since MIPS II
...
architecture.
2000-04-11 04:39:14 +00:00
sato
8bf945e9b3
push power button, send POWERCONTROL_LCD event.
2000-04-03 04:32:00 +00:00
sato
c1f0f12753
- hpcmips_verbose
...
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
2000-04-03 03:39:58 +00:00
jun
657c5b4130
add Mobile Pro 700
2000-03-31 13:01:17 +00:00
nisimura
73fa1ce87f
Change 'goto cpu_switch1' to 'goto cpu_switch_queuescan' in vr_idle.S
...
and make the jump destination global.
2000-03-28 00:24:04 +00:00
sato
2b251ae99b
change about debug print.
2000-03-17 09:54:15 +00:00
sato
16d7136b4c
change about debug print.
...
CVS
2000-03-14 08:26:42 +00:00
sato
b76ec51696
- toggle CONFIG_HOOK_BUTTONEVENT_POWER event.
...
- change about debug print.
2000-03-14 08:23:24 +00:00