Commit Graph

682 Commits

Author SHA1 Message Date
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
itojun
d76ae83df8 add PULLDOWN_TEST for all the platforms.
XXX should be moved to somewhere else when stabilized
2000-06-30 17:10:15 +00:00
shin
853a455109 enable SOFTDEP. 2000-06-29 11:42:30 +00:00
mrg
28d898391b remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-29 08:10:45 +00:00
kleink
e695f72a2e Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
2000-06-26 15:42:16 +00:00
mrg
2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb
889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
fvdl
1ee7d22c0b Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC. 2000-06-22 20:27:49 +00:00
shin
0e04419b62 for size reduction.
out:
	SCSIVERBOSE
	QUOTA
	ccd

we support CD-ROM drives, so CD9660 is necessary.
in:
	CD9660
2000-06-17 10:53:05 +00:00
veego
223d7455c7 Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +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
matt
e4a7ab9905 Add latent entry for ochi usb devices on NEC MobilePro 800. 2000-06-11 23:34:31 +00:00
soren
d8e5d1fa7d Add rnd(4) glue for the MIPS3 cycle counter. 2000-06-06 02:24:00 +00:00
cgd
cffb580806 Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
takemura
1a710b9899 Bugfix and a little improvement for trouble shooting.
- BUGFIX: pbsdboot1 ignores Yes for 'Are you sure ?' dialog box.
  - display status which indicate how much loading sequence progress.
  - add debugging log function.
2000-06-04 04:30:48 +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
matt
9169d99f2a Don't pass booted_* to findroot/getdevice, access them via the globals.
Also, make findroot static.  This eliminates unneeded clearing of them
and make their use consistent among the ports.
2000-06-01 15:38:20 +00:00
matt
c9aff328d9 Make booted_device global (and booted_parition for consitency).
Eliminate it from header files and other extern definitions.
2000-06-01 00:49:49 +00:00
cgd
47449a63d2 kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
2000-06-01 00:04:50 +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
uch
27a7fbff47 debug frame buffer draw routines moved to video_subr.c.
plumvideo also use it.
2000-05-22 17:17:44 +00:00
uch
c70d727504 regen. 2000-05-22 15:05:37 +00:00
uch
af2b106d9a Add SHARP Telios HC-VJ1C and Mobilon HC-4500 entries. 2000-05-22 15:03:46 +00:00
uch
817c8734c5 fix comment. 2000-05-22 07:40:41 +00:00
uch
7b768bd6e8 recognize 32MByte D-RAM. 2000-05-21 11:24:45 +00:00
uch
060197b367 Get LCD size from PLUM2 Display control register. 2000-05-21 11:22:25 +00:00
soren
b70819c71a Also share BE ldscripts. 2000-05-21 02:50:10 +00:00
takemura
5e48883c49 Add NEC Mobile Pro 780/880 and Vadem Clio 1050. 2000-05-20 07:11:25 +00:00
takemura
6bef866101 Add two items:
NEC MobilePro 780 (MC/R530A)
  NEC MobilePro 880 (MC/R730A)
2000-05-20 05:08:53 +00:00
shin
405f83e99a fix platid_test source files. 2000-05-20 03:41:28 +00:00
sato
8bc2515577 fix CONFIG_HOOK_BUTTONEVENT_CANCEL keycode. 2000-05-18 03:27:22 +00:00
shin
5eacd822a1 delete undefined 'NEC_MCR_4XX'. 2000-05-17 08:38:25 +00:00
thorpej
463931b3ba Nuke dk_establish() from orbit except from those ports which still use
it to determine the boot device: mvme68k, pc532, macppc, ofppc.  Those
platforms should be changed to use device_register().  In the mean time,
those ports defined __BROKEN_DK_ESTABLISH.
2000-05-16 05:45:44 +00:00
sato
ab17e681e7 NEC MC-CS LIGHT button.
NEC MC-R430 COM0 power.
CASIO E55 COM0 power.
CASIO E55 LIGHT button.
2000-05-15 01:40:44 +00:00
shin
f26b6caddd clear CPU count register interrupt properly (VR4100). 2000-05-14 03:16:11 +00:00
uch
f9b83f27e9 change Telios keyboard map: KS_KP_Enter -> KS_Return 2000-05-13 20:34:13 +00:00
uch
62923b307e fix #define RGB24(r, g, b) 2000-05-13 03:12:56 +00:00
uch
f02836787f fix CLUT index bug. 2000-05-12 18:09:55 +00:00
shin
e38d6212b9 make it compile again with '-Werror'. 2000-05-12 04:43:21 +00:00
uch
742429ff1e #undef'ed debug routine. 2000-05-10 23:57:13 +00:00
nisimura
bd91f6f2e0 Adapt mips_locoresw[]. 2000-05-10 01:36:56 +00:00
shin
8587b62f36 call uvm_pageidlezero() while CPU is idle. 2000-05-09 13:23:57 +00:00
shin
2d39542769 deal with INT_MASK_REAL_DEV removal. 2000-05-09 13:20:55 +00:00
shin
51994cb450 make it compile again (add #include's). 2000-05-09 13:19:54 +00:00
uch
86d1ce5fd8 fix WSDISPLAYIO_PUTCMAP return value. 2000-05-09 10:15:17 +00:00
hubertf
9f48bba3ae Add "install" target, so "make install" after building the kernel
does something useful.  The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
2000-05-09 00:56:21 +00:00
thorpej
6a33c86623 HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
2000-05-09 00:32:19 +00:00
uch
7ae9f5b5e9 -G 24 -> -G 20. TX3922 kernel became bigger. 2000-05-08 21:58:40 +00:00
uch
cc01cd2448 implement 8bpp CLUT of Plum2, TX3912 video module. 2000-05-08 21:57:56 +00:00
uch
e5ee37ffd9 add struct hpcfb_accessops to setclut method. TX3912 can't change
color map index (R:G:B = 3:3:2), so use this.
2000-05-08 21:56:32 +00:00
augustss
3a6e3a4670 Add (sometimes commented out) MIIVERBOSE option. 2000-05-08 13:49:44 +00:00
soren
95f3c9498d MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV are deprecated. 2000-05-05 03:18:25 +00:00
takemura
9601a833c3 Remove wmipsdbg and wmipsrel as well as WMIPSDbg and WMIPSRel for
case sensitive file system.
2000-05-04 11:58:22 +00:00
takemura
f056a711d7 Add some lines to support ATAPI and SCSI devices.
This makes the kernel 60KB bigger.
2000-05-04 10:32:47 +00:00
takemura
d865561de6 Raw keyboard mode support. I'd tested this on MC/R530.
I don't sure if skbd work or not.
2000-05-04 10:25:45 +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
89cb6ad8b8 forgot to commit TX3912. 2000-05-02 18:00:54 +00:00
uch
3c873423e1 add ioctl, mmap.
hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo)
XXX CLUT
2000-05-02 17:50:51 +00:00
uch
9dccb575be change hpfcb_cnattach interface to adopt current implementation. 2000-05-02 17:45:15 +00:00
takemura
6bd45ff6c3 We should not report button down event while we don't know where it occur. 2000-05-01 07:40:05 +00:00
uch
77e7c7ee2c skbd_ioctl (not implemented yet) returns -1 not 0. 2000-04-30 18:43:37 +00:00
thorpej
f51470a514 Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED.  These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case).  Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
shin
e3d2f0ae85 delete obsolete 'options MIPS_16K_PAGE'. 2000-04-28 07:19:33 +00:00
uch
e14885d915 fix comment. 2000-04-27 19:38:23 +00:00
uch
f49b235cc0 remove COMPAT_386BSD_MBRPART
remove COMAPT_13, COMPAT_14. hpcmips appears NetBSD 1.5.
2000-04-25 06:20:14 +00:00
uch
6d1291a469 code clean up. 2000-04-24 13:02:13 +00:00
uch
814e39b9e3 add COMPAT_386BSD_MBRPART 2000-04-24 12:59:43 +00:00
uch
3be17707f3 remove #ifdef alpha 2000-04-24 12:58:32 +00:00
takemura
6d972981ff Support 8bpp mode on MC/R530. 2000-04-23 10:20:50 +00:00
itojun
3be41bae18 add stf pseudo interface (commented out due to possible security risks) 2000-04-19 06:50:27 +00:00
takemura
95e706c931 Don't call IsDlgMessage() if we are on Windows CE 2.01. 2000-04-16 03:17:59 +00:00
soda
c56a43535d remove following symbols which became unnecessary in recent cpu_intr() change:
mips_hardware_intr
	MIPS3_INTERNAL_TIMER_INTERRUPT
	mips3_intr_cycle_count
	mips3_timer_delta
2000-04-15 22:05:51 +00:00
soda
94ee00e39d define `ssir' here, rather than misp/mips/trap.c (like other mips ports) 2000-04-15 22:02:26 +00:00
takemura
1572bc4bfd Make 'Boot' button to be default push button.
You can push return key to boot.
(But it does not work on Windows CE 1.0.)
2000-04-14 14:42:29 +00:00
takemura
a3c99d2662 Dialog Box style key function. You can push space key to boot. 2000-04-12 15:07:34 +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
uch
b16a6100aa comment out SOFTDEP
add upl, uvisor.
2000-04-10 17:44:06 +00:00
uch
b6627b36a0 add rnd, IPV6 etc. 2000-04-09 14:14:50 +00:00
takemura
f83087efc5 Add pseudo device 'rnd' for /dev/random. 2000-04-09 08:28:00 +00:00
takemura
2c13222ffc Delete needless #if. 2000-04-09 08:26:15 +00:00
soda
1c5551f260 splsoftnet() should block softclock() too. 2000-04-03 11:44:19 +00:00
sato
8bf945e9b3 push power button, send POWERCONTROL_LCD event. 2000-04-03 04:32:00 +00:00
sato
0f3ba7133a MCR-300, MC-CS LCD on/off port. 2000-04-03 04:31:05 +00:00
sato
126ead3471 add some events. 2000-04-03 03:48:42 +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
sato
7782859d5b mips_hardware_intr is defined in <mips/intr.h> 2000-04-03 03:37:25 +00:00
sato
1e2f627e0b - virtual TEXT vram implimentation.
- optimize scroll.
- hardware accelerator hooking mechanism (initianly, maybe change..)
- multiscreen (some bugs, so currently disabled)
- if you want disable above codes, #define HPCFB_DISABLE.
2000-04-03 03:35:37 +00:00
augustss
9a31a8c77f Add atapibus* at umass? 2000-04-03 00:03:28 +00:00
takemura
9afabc7add Recompile binaries for Mobile Pro 700. 2000-04-01 02:37:23 +00:00
jun
657c5b4130 add Mobile Pro 700 2000-03-31 13:01:17 +00:00
jun
ad4db7ca62 add NEC Mobile Pro 700 2000-03-31 12:53:06 +00:00
jun
2c3c66ea0c regen. 2000-03-31 12:46:23 +00:00
jun
c852fae661 add MobilePro700 2000-03-30 16:26:51 +00:00
sato
9f9ade2b2c add MC-CS backlight control. 2000-03-30 08:41:48 +00:00
sato
b2f06b320c fix mapping. 2000-03-30 03:29:47 +00:00
simonb
2f1fef39b3 Centralise the declarations of cpu_model, machine, machine_arch,
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).

Also delete redunctant decl of boottime in kern_info_43.c.
2000-03-28 23:57:24 +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
mycroft
b0a227745b Add IPsec. 2000-03-26 21:35:48 +00:00
uch
398dafb09a enable USB staff. 2000-03-25 19:05:45 +00:00
uch
807350797d cosmetic change. 2000-03-25 15:12:04 +00:00
uch
7832b88a4a -G 30 -> -G 24 2000-03-25 15:11:08 +00:00
uch
f9204d0a57 TOSHIBA TC6358TB(PLUM2) OHCI module support. 2000-03-25 15:08:26 +00:00
uch
58bae8effe bus_dma. taken from pmax. 2000-03-25 15:04:32 +00:00
nisimura
61609b54e2 Make sure proc0 PCB has spl0 condition in CP0 status register field.
cpu_fork() mistakenly created processes forked by proc0, including
kthreads, in splhigh condition, because [1] proc0's PCB was zero
cleared during initialization, and [2] value 0 in status register
field made processes to have splhigh condition when CPU tick was
assigned for them.  This mostly doesn't matter as forked processes
dive immediately into user mode through proc_trampoline code path,
however, kthreads never do that and remain in splhigh.

Reported by Ethan Solomita <ethan@geocast.com>.
2000-03-25 10:14:13 +00:00
soren
573160e03b Revert previous. 2000-03-24 23:06:03 +00:00
soren
c535ede30b Move sysctl definitions from arch/mips to arch/foo. 2000-03-24 21:30:58 +00:00
thorpej
b667a5a357 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
mycroft
58d6d5d60c Add awi. 2000-03-23 04:43:41 +00:00
takemura
6e8bcbe821 Built in video supports get/set color map. 2000-03-20 12:45:41 +00:00
takemura
9a04280130 Change color map and share color map data with kernel part. 2000-03-20 10:47:33 +00:00
mycroft
18d0b53078 Need CD9660 now... 2000-03-20 06:10:45 +00:00
mycroft
04b6cd3a5d Add esp at pcmcia. 2000-03-19 21:56:11 +00:00
takemura
dae2c19e55 - Pbsdboot.exe is compiled for WindowsCE 2.00.
Use Pbsdboot1.exe for Windows CE 1.01.
 - Doesn't display 'MEMORI KA-DO'(Japanese KANA) if SystemDefaultLangID
   isn't Japanese.
 - Set up Windows color palette for 8 bpp machine.
2000-03-19 11:10:57 +00:00
takemura
847d8fd135 Synch with adding arch/hpcmips/include/endian_machdep.h. 2000-03-19 10:46:17 +00:00
tron
e86957458a Install "machineendian_machdep.h". 2000-03-17 22:36:31 +00:00
sato
2b251ae99b change about debug print. 2000-03-17 09:54:15 +00:00
mycroft
9e21b6555a In the `MY THAT'S GROSS' department...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
mycroft
02905321b2 Foolish consistency. Mainly, always use underscores and sys/endian.h. 2000-03-16 15:09:34 +00:00
shin
6190c3253f add 'makeoptions CWARNFLAGS=""' to override CWARNFLAGS?= -Werror. 2000-03-16 01:45:51 +00:00
drochner
aa1de89bdf explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
prototype
2000-03-15 16:44:48 +00:00
sato
0a00ace3f7 some buttuns map to key codes which the button mean. 2000-03-14 08:37:31 +00:00
uch
6219354e8c sync with fb->hpcfb, btnmgr changes. 2000-03-14 08:31:07 +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
uch
9616fd8002 no longer required. 2000-03-13 18:56:40 +00:00
uch
00363a82c8 sync with hpcfb. 2000-03-13 18:49:15 +00:00
sato
54dab7a0d1 add BTN_COVER for MC-R520. 2000-03-13 01:57:06 +00:00
sato
fd697ef8aa add PWCTL_LCDLIGHT for MC-R300 2000-03-13 01:54:39 +00:00
sato
f9dc1cca42 add CONFIG_HOOK_POWERCONTROL_LCDLIGHT 2000-03-13 01:52:00 +00:00
sato
035f58c823 HPC/PsPC keyboard types. 2000-03-13 01:46:44 +00:00
uch
a57fa19957 change debug message. 2000-03-12 15:42:43 +00:00
uch
44b86d33d6 recognize UCB1100 id. 2000-03-12 15:36:11 +00:00
uch
ba8565be98 add WINCE_DEFAULT_SETTING and IT8368E_DESTRUCTIVE_CHECK for debug. 2000-03-12 15:35:29 +00:00
uch
6c57f806b1 sync with btnmgr change. 2000-03-12 15:28:12 +00:00
takemura
dc7c050b3b Add wsmux device which is real device in /dev. 2000-03-12 13:46:27 +00:00
takemura
b0650cbf17 Change btnmgr to wskbd device from pseudo device. 2000-03-12 12:08:16 +00:00
takemura
2996ac1c02 Bivideo utilize platid mechanisum for probing. 2000-03-12 11:46:44 +00:00
takemura
c12028016f Add makefile to install hpcfb.h. 2000-03-12 06:40:16 +00:00
takemura
e9619d5d21 New frame buffer driver 'hpcfb' and built in video controller 'bivideo' 2000-03-12 05:04:44 +00:00
shin
53cff1c1e5 fix typo. 2000-03-11 09:11:33 +00:00
shin
531586bc96 fix frame buffer type (normalized to 'black on white'). 2000-03-11 09:05:17 +00:00
shin
a56d95d08b fix PV-6000/C-1000 keycode mapping. 2000-03-11 08:53:33 +00:00
shin
b7a1ee6c84 configure controller 0 only (workaround for phantom PCIC). 2000-03-11 08:51:55 +00:00
sato
06f85d40f0 change about VRIPDEBUG. no action changes. 2000-03-10 09:18:00 +00:00
sato
67e7cb40b1 fix print message when #undef VRGIUDEBUG and change a little. 2000-03-10 09:05:01 +00:00
sato
79d83d72e1 printf -> DPRINTF
vrisa_debug = 0 by default.
2000-03-10 01:30:06 +00:00
takemura
fe02fcfe1e GENERIC configration includes Cassiopeia E-55 CF card support. 2000-03-08 14:53:33 +00:00
shin
5913106c36 add '%INCLUDES'. 2000-03-07 04:17:27 +00:00
thorpej
a183d34f04 - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
takemura
5c2ef51018 Add '\Storage Card1\netbsd'. 2000-03-06 13:24:12 +00:00
shin
84b24dcb3a cosmetic change. 2000-03-05 10:03:16 +00:00
takemura
775240e015 Delete #ifdef USE_RASTERCONS lines, which are not used. 2000-03-05 08:49:06 +00:00
takemura
45db29b1b3 Delete #ifdef USE_RASTERCONS lines, which are not used. 2000-03-05 06:24:33 +00:00
takemura
303401ce32 Change bus_addr_t and bus_size_t from u_int32_t to u_long.
Add -Werror option to kernel Makefile.
2000-03-05 05:22:12 +00:00
takemura
2aad5afc67 Add ISA DMA support entries. (It's dummy. I don't know if it work or not.) 2000-03-05 04:34:06 +00:00
uch
062700843c Make it easier to cross-compile with this. moreover. 2000-03-04 19:52:26 +00:00
uch
937f50798e adjust retry count for TX3922 2000-03-04 19:36:34 +00:00
uch
06f8a39446 timeout when DMA interrupt lost. 2000-03-04 19:35:36 +00:00
takemura
ac09284927 Change 'irq' locater encoding. You can use port# 0. You should use 0xff
for unspecified port#. Also, You can specify interrupt level/edge, high/low
and through/hold.
2000-03-04 13:43:19 +00:00
uch
bac061b47f sync with my latest. 2000-03-04 11:41:48 +00:00
uch
461e3d82a4 adjust SIBSCLK to 9.216MHz (TX3922) 2000-03-04 11:39:29 +00:00
uch
630279a800 add device file interface for UCB1200 2000-03-03 19:54:34 +00:00
uch
8e89a8db7e cosmetic change 2000-03-03 17:09:57 +00:00
augustss
8cc92d88cf Add USB tty device. 2000-02-29 19:08:54 +00:00
takemura
32817a3257 WSMOUSE_SCALIBCOORDS had not worked because ioctrl code was wrong. 2000-02-28 12:34:31 +00:00
uch
dc8f1b2cb9 UCB1200 GPIO support. 2000-02-27 16:37:50 +00:00
uch
c26429fac5 UCB1200 GPIO routines. 2000-02-27 16:34:13 +00:00
uch
fc0a27a970 cosmetic changes 2000-02-27 16:28:13 +00:00
takemura
b22af17c02 Add 'Sharp HC-1200' and divide MC-CS1x into MC-CS11, 12 and 13. 2000-02-27 05:47:34 +00:00
uch
e0f169f58e change power up sequence. 2000-02-26 15:16:19 +00:00
uch
d4c8fabc4a fix lost interrupt bug. 2000-02-26 15:14:19 +00:00
shin
2d3ab1ef0c stop memory probing at first memory image.
this is necessary for MC-CS12.
2000-02-25 11:20:20 +00:00
mycroft
54ffe9e871 Only pay attention to controller 1 on the pcic. It appears that on this
machine it mirrors (but is not usable as) controller 0.
XXX Need to find a way to detect this automatically.
2000-02-25 05:28:42 +00:00
mycroft
01ef320ff1 Add `\My Documents\' to the menu of kernel locations. 2000-02-25 03:38:59 +00:00
mycroft
108b65903a Fix an obscure bug:
If we enter DDB from the keyboard, kc_scandata[] wasn't updated before the
debugger was entered, and the first call to cngetc() would see the ESC and
stack another DDB entry on top.  This was... poor.
2000-02-25 00:42:47 +00:00
mycroft
71b18d9041 Make it easier to cross-compile with this. 2000-02-24 21:59:13 +00:00
soda
d7e9d324f9 reflect recent <mips/types.h>: mips is now vm_offset_t/vm_size_t clean 2000-02-22 12:29:56 +00:00
sato
7a91879a6d delete warning. 2000-02-22 04:11:24 +00:00
shin
26f41e8f13 support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
	VR4121	IBM WorkPad z50 (48MB, 16MB)
	VR4121	NEC Mobile Gear II MC/R730
	TX3912	Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
	TX3922	Sharp Telios HC-AJ2 (32MB)
2000-02-21 13:46:02 +00:00
jun
fa120e391e On [port-hpcmips-ja@jp.netbsd.org:1764]
suz@hpc.bs1.fc.nec.co.jp (Koji Suzuki) writes
Sample configration for cassipeia E-55 & E-500
// wdc1 line deleted from original.
2000-02-19 15:01:33 +00:00
mycroft
fb5d3e9da4 Enable DDB history. 2000-02-19 06:58:28 +00:00
mycroft
e7cfaf8f5b Actually, it looks like the mouse is there. 2000-02-18 23:11:20 +00:00
mycroft
640bdcd6cf Document some things that are missing. 2000-02-18 23:10:01 +00:00
mycroft
f1d350ea27 Somewhat scaled-down config for a WorkPad.
Uses WSEMUL_SUN so I can get multi-line scrolling.
2000-02-18 20:52:15 +00:00
mycroft
fec6c976f3 Make the z50 tab key work. 2000-02-18 06:54:47 +00:00
mycroft
c41cbbb8b7 Fix obvious typo. 2000-02-17 22:16:31 +00:00
mycroft
760d110b96 Regen. 2000-02-17 21:31:39 +00:00
mycroft
b95959c4c8 Give platid_name_table_size a type. 2000-02-17 21:31:13 +00:00
jun
14af97fa26 add Sharp HC-1200 2000-02-14 07:22:19 +00:00
jun
2d09174cce regen. 2000-02-14 07:19:25 +00:00
jun
f009580118 add Sharp HC-1200 2000-02-14 06:55:36 +00:00
shin
e9c7fb4c36 change ramdisk size. 2000-02-12 13:48:46 +00:00
shin
49ac0acd83 delete NKMEMCLUSTERS from configuration files. 2000-02-12 03:21:06 +00:00
takemura
160bf15b09 Add com0's power control ID. 2000-02-11 03:20:17 +00:00
sato
18452e3667 - add GPIO related comments.
- add IBM WorkPad z50 buttons.
2000-02-10 08:45:44 +00:00
sato
709f6f50a2 show edge/level infomation in attach message. 2000-02-10 08:37:07 +00:00
sato
e19b30ff0a delete \n in cpu_model. 2000-02-10 08:34:08 +00:00
sato
1dd1e143a9 add machine model name to cpu_model. 2000-02-10 02:15:01 +00:00
sato
549e292ae4 update MINYEAR. 2000-02-10 02:06:16 +00:00
takemura
968822bd48 The pwctl writes ZERO as on if active=0. 2000-02-09 14:39:06 +00:00
takemura
0694de05ed Fix Work Pad z50's entry. 2000-02-09 13:03:31 +00:00
sato
ad591b78f4 CLOCK_RATE: 256-> 128.
reduce timer interrupts because hpcmips machines are lower cpu power.
2000-02-09 10:41:18 +00:00
takemura
06aa6ffcb9 Delete dupicated 'z50'. 2000-02-06 14:02:42 +00:00
takemura
1a8f3a2b75 Add platid_name() which retrieves the platform name. 2000-02-06 08:47:03 +00:00
dbj
a4746f91c3 choose first keymap that matches.
Otherwise, the NEC MobilePro 770 chooses the wrong one.
This is consistent with keymap searching order from before revision 1.12,
although I haven't investigated why choosing the last match instead of the first
causes the MobilePro 770 to lose
2000-02-06 06:29:22 +00:00
cgd
be8a1b19f0 more CR/NL -> NL conversion (some crept in) 2000-02-05 03:25:26 +00:00
cgd
7d16ac338c add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
cgd
11ee920b54 rename printf.c to winprintf.c, nuke inclusion of libsa's printf.c
in winprintf.c, and directly include libsa's printf.c in the project.
2000-02-03 19:46:21 +00:00
cgd
dd74df567d no more need for one-liners to include libsa .c files. just name them
directly in the project file.
2000-02-03 19:32:37 +00:00
cgd
ed17755cec clean up lists: get rid of bogus extra spaces, backslash -> slash
(vc doesn't care, in paths of source files), sort, etc.
2000-02-03 19:27:56 +00:00
cgd
ff6ae74e98 tolerate newlines in the list variables, and clean up the config files
to match.  no more ridiculously long lines, now!
2000-02-03 19:16:47 +00:00
cgd
8d0ed726af nuke inclusion of compat.h 2000-02-03 03:21:52 +00:00
cgd
00e405865e nuke inclusion of compat.h, fix typo in comment about #ifdef 2000-02-03 03:21:23 +00:00
cgd
239dc2e799 add __STDC__ to CPP define list 2000-02-03 03:20:33 +00:00
cgd
c84d83a616 nuke inclusion of compat.h 2000-02-03 03:20:03 +00:00
cgd
19c2a289e7 add bzero.c to file list, add __STDC__ to CPP define list 2000-02-03 03:19:11 +00:00
cgd
ce844666c1 stub to pull in libsa bzero.c 2000-02-03 03:18:28 +00:00
cgd
3772a52ffc just use __int64 and unsigned __int64 rather than *INT64TYPE 2000-02-03 03:17:23 +00:00
shin
62bc319e2c add '#ifdef VR41X1' for TX3900. 2000-02-02 03:14:31 +00:00
tsutsui
11c8f56d48 Revert STRIPPROG -> STRIP 2000-02-01 05:25:24 +00:00
takemura
dbbc9025d2 Add 'Reverse Video' check box.
Now 'Black-on-White screen is default.
2000-01-31 12:45:29 +00:00
shin
fdd3f14b2a add BTN_COVER for MC-R700, MC/R730. 2000-01-31 11:44:01 +00:00
takemura
ae6160e233 CPU specific idle hook and VR idle routine. 2000-01-28 15:08:36 +00:00