Commit Graph

607 Commits

Author SHA1 Message Date
sato 446d4c8a9f delete not HPCFB_TVOPTIM codes. 2000-11-24 22:05:13 +00:00
sato bda86c3118 update experimental HPCFB_JUMP codes.
(but not completely yet)
2000-11-24 21:58:06 +00:00
chs c62d17a551 rationalize the use of b_flags for geteblk() buffers.
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00
augustss eb9736c09a Add uscanner. 2000-11-14 19:52:04 +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
eeh c98778939f Fix tty initialization. From Arne H Juul <arnej@fast.no>. 2000-11-08 23:21:38 +00:00
eeh 5d8e9b343a Adapt to the new line discipline scheme. 2000-11-02 00:35:04 +00:00
sato b674d1f521 when apm version is not 1.0,
use APM_BATT_FLAG_XXX type value instead of APM_BATT_XXX type value.
2000-10-27 08:19:37 +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 a15e59c0eb enlarge ITE8181_LCD_ON_SELF_DELAY. 2000-10-27 08:09:15 +00:00
sato 720875ffea correct comment. 2000-10-27 08:08:08 +00:00
sato 786287aac1 - add new event type: CONFIG_HOOK_SET/GET.
- add some new id in CONFIG_HOOK_PMEVENT.
2000-10-27 08:04:49 +00:00
sato b394074d8c - change constant to static variable for
ite8181 access delay parameter after lcd power on.
- ITE8181_WINCE_CMAP.
  use presetting cmap by pbsdboot.exe(temporally)
2000-10-23 09:03:31 +00:00
uch b84e48b8bd forgot to set HPCFB_ACCESS_REVERSE. 2000-10-22 12:49:27 +00:00
uch 30373f3eb1 reorder color map adequately. 2000-10-22 12:44:16 +00:00
uch fc9212e594 new I/O modules framework for TX based system. 2000-10-22 10:42:31 +00:00
uch c3ceefe48c reverse color support. 2000-10-22 10:33:01 +00:00
uch a9869a4ed5 fix comment. s/DECstation/hpcmips/ 2000-10-22 09:38:23 +00:00
takemura a2c5be7787 Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
2000-10-21 13:51:01 +00:00
takemura 5e9e3fbf13 Add menu entries for CASSIOPEIA 'E-65' and 'for DoCoMo'
The version gets 1.16.2.
2000-10-21 09:03:57 +00:00
takemura 64e4d7108e Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'. 2000-10-21 07:30:34 +00:00
takemura 9154a8ec27 BUGFIX: PCKBD_LAYOUT had not been effective. 2000-10-21 07:27:41 +00:00
takemura 0b805455eb Swap reft and light key. 2000-10-19 01:08:15 +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 59c8220584 DEBUG_FIND_COMPORT code. (by ngc@ff.iij4u.or.jp) 2000-10-16 03:32:44 +00:00
cgd 59706f1322 clean up and consistency for CP0 Count, Compare, Wired, and Config
access function names and prototypes.
2000-10-05 02:36:44 +00:00
uch 478ab76ca3 experimental power management support for TX3912/TX3922 based model. 2000-10-04 13:53:54 +00:00
sato 832204750a fix mistake of sigmarion cmdmap. 2000-10-04 03:31:14 +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 ca7374c959 add POWERCONTROL_LED.
add PMEVENT_AC, PMEVENT_BATTERY.
2000-10-03 03:08:33 +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 59de160368 - DPRINTF -> VPRINTF for verbose.
- don't attach other video driver under hpcfb.
2000-10-02 04:03:06 +00:00
sato 938b01e688 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 03:57:53 +00:00
sato a50307118c add sigmarion cmdmap and use it. 2000-10-02 03:45:10 +00:00
uch f88fbde7ac don't reset RTC in tx39clock_set() 2000-10-01 18:12:04 +00:00
takemura ccac45b532 Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
2000-10-01 03:45:33 +00:00
uch 154f1e86b1 fix tx39clock_alarm_refill bug. 2000-09-28 16:18:26 +00:00
uch 0ab2301b6b hot plug support. 2000-09-27 17:32:34 +00:00
uch e1c01aff60 remove obsolete files. 2000-09-27 13:42:14 +00:00
shin d3cf7525d3 add 'options VNODE_OP_NOINLINE' to reduce size. 2000-09-27 10:22:22 +00:00
shin 6ec1be8054 apply 'hpckbd' change. 2000-09-27 10:21:23 +00:00
sato 82d4c9df0e add DoCoMo sigmarion cover button. 2000-09-27 09:32:23 +00:00
sato b1d64a728d add DoCoMo sigmarion keymap. 2000-09-27 09:30:47 +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 b1f94e26ab don't specify number of ptys if >= 16 (current default initial number)
pty comments: normalize and g/c what is no longer relevant
2000-09-24 15:59:26 +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
augustss e9a2baa2ff Grab a major # for USB scanners. 2000-09-23 04:30:08 +00:00
takemura 680c6d9cd0 Recompile pbsdboot for DoCoMo Sigmarion and NEC MC/R330.
The version number gets 1.16.1 2000.09.21.
2000-09-21 14:24:40 +00:00
takemura 454e19c166 skbd -> hpckbd. hpckbd supports vrkiu as well as m38813c and tc5165. 2000-09-21 14:17:29 +00:00
sato 2ea1ab1fbb add MC/R330.
add sigmarion.
2000-09-21 03:19:57 +00:00
sato 109c7bc1e5 regen. 2000-09-21 03:18:04 +00:00
sato d5a2a40be6 Add NEC MC/R330.
Add DoCoMo sigmarion.
2000-09-21 03:16:10 +00:00
thorpej 72a24b4eae Add an align argument to uvm_map() and some callers of that
routine.  Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.
2000-09-13 15:00:15 +00:00
sato aa96730805 bzero allocated structutre initialy. 2000-09-12 08:25:44 +00:00
takemura 83517998af fix typo in boot message. 2000-09-12 02:12:20 +00:00
sato 5bb7aeddee - delete some unused codes (but some experimental code is not deleted)
- add experimental HPCFB_JUMP code but it is not enabled.
2000-09-11 13:44:49 +00:00
sato 96f8d01088 add SPEAKER pwctl device for several machines. 2000-09-10 15:48:10 +00:00
sato 20cc493f48 add CONFIH_HOOK_POWERCONTROL_SPEAKER. 2000-09-10 15:45:47 +00:00
sato 988e123a02 - not handle CONFIG_HOOK_POWERCONTROL events because the events
handled by lower lcd/lcdlight control device.
2000-09-10 15:33:48 +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
takemura ed9f910cc8 Introduce WSDISPLAY_NULLSCREEN to allow low level device to detach control
process. Hpcmips frame buffer driver(hpcfb) call wsdisplay_switch with
WSDISPLAY_NULLSCREEN to notify user process of suspend/resume event.
2000-09-10 09:39:57 +00:00
takemura 3369a78b96 Create dummy main window to resolve the problem that it can't setup color
palette correctly.
version no gets '1.16.00 2000.09.10'
2000-09-10 08:29:53 +00:00
takemura 1f41d9a644 Previous revision contains some Japanese chars by mistake.
The bootloader has been improved by Kazuma Arino.
  - dialog style main window
  - support to read compressed kernel image
  - automatic boot with timer
  - human readable configrarion file
version no gets '1.15.00 2000.08.29'
2000-09-10 08:02:13 +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
takemura 212b3fa9d8 The bootloader has been improved by Kazuma Arino.
- dialog style main window
  - support to read compressed kernel image
  - automatic boot with timer
  - human readable configrarion file
version no gets '1.15.00 2000.08.29'
2000-08-29 15:10:14 +00:00
sato 2a9cfc2e99 add pwctl PWCTL_LCD, PWCTL_LCDLIGHT for NEC_MCR_FORDOCOMO, NEC_MCR_500. 2000-08-27 22:56:31 +00:00
uch 97749b6bb4 don't refer cf_unit.
undef __BROKEN_CONFIG_UNIT_USAGE
2000-08-24 11:19:19 +00:00
thorpej 58e7a6954b Add spllock(). See spl(9) for details. 2000-08-22 19:46:26 +00:00
thorpej 23a7f255d4 Make sure we provide splsched() as described in spl(9). 2000-08-21 02:06:31 +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
sato d5b133164a - disable warning: add missing argument. 2000-08-18 07:33:14 +00:00
itojun 85dda25e94 move "options PULLDOWN_TEST" into sys/sys/mbuf.h (in #ifdef _KERNEL),
as it is no wthe default setting for everyone.

the reason we still use the name "PULLDOWN_TEST" while it is now default:
kame code sharing.
2000-08-13 01:31:15 +00:00
jeffs fc28236a58 Tweak printf format to compile with printf changes. 2000-08-10 08:27:54 +00:00
tv 29550fc608 kprintf -> printf format attribute 2000-08-09 16:34:25 +00:00
shin bf38a18dfc Define bus_space_*_stream_N functions as their non-stream counterparts. 2000-08-09 02:12:50 +00:00
shin 04e4950cbb detect and eliminate phantom keys. 2000-08-05 05:55:27 +00:00
takemura 537da4726d Refresh screen when the system resume. 2000-07-30 11:16:54 +00:00
takemura b5e3ec56a8 Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.) 2000-07-30 04:41:15 +00:00
takemura bb1a798cbe Move from sys/dev/apm. And rename apm -> apmdev. 2000-07-30 04:29:22 +00:00
jdolecek e25636b5da g/c RB_DFLTROOT
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
mason 4a353b5330 Moving to a default of 64 PTYs. 2000-07-27 17:53:35 +00:00
cgd b63ed164a1 convert PRID handling to use macros on an int, not bit-fields.
there's no reason to use bit-fields, and they just complexity to
the header.
2000-07-27 17:29:05 +00:00
jeffs 05587c68ae Correct typo in comment. 2000-07-25 00:11:36 +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
takemura ecdd72f783 Overwrite color map of rasops. 2000-07-22 03:46:53 +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
jeffs 1dfa0ec96d Use cpu_intr() definition from mips/cpu.h instead of local one. 2000-07-14 18:35:38 +00:00
takemura 45b6ec5476 Experimental APM compatible power management. 2000-07-02 10:01:30 +00:00
itojun d738f90fd7 raise MSIZE from 128 to 256.
- for sizeof(void *) == 8 arch, this is mandatory.  MHLEN is too small
  already (less than 80) and there are chances for unwanted packet loss due
  to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
  (even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
  extension header)

portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00