Commit Graph

730 Commits

Author SHA1 Message Date
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
takemura 48205b1acc Delete unused lines. 2000-01-28 15:02:11 +00:00
shin e35089652c platid regen. 2000-01-28 06:22:53 +00:00
shin 8f9ba8c314 add MC/R730 2000-01-28 06:22:10 +00:00
shin 69cb6f62a5 add MC/R730 platid. 2000-01-28 06:21:49 +00:00
sato 76d3003c00 - add MC-R510 & MC-R530 cover button.
- add MC-R530 application dial button.
- add comment for no RTC_OFFSET.
2000-01-27 06:55:26 +00:00
sato 6591d38772 - modify debug stuff.
default all disable.
2000-01-27 06:28:41 +00:00
sato 9dbdea95dd - show bus clock freq setting and memory clock freq setting in boot time. 2000-01-27 06:25:54 +00:00
sato 674bb73d1e - fix using uninitialized argument of bitdisp64(). 2000-01-27 06:23:05 +00:00
sato b59afe2607 - fb_mmap(): treate about unaligned framebuffer memory (MC-R510). 2000-01-27 06:18:03 +00:00
drochner 8eb798e603 define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
tron 04eb110431 Add "dependall" target for comfort. 2000-01-24 20:36:06 +00:00
hubertf 7e5ff67457 Add commented out "ident"-command 2000-01-23 23:46:04 +00:00
takemura 56c6e7faaf Add a menu item for MC-R430.
Change frame buffer type of MC-R530, which had been inversed B/W.
2000-01-22 11:03:16 +00:00
takemura 251cab4f98 Add platform ID of MC-R430. 2000-01-22 10:51:29 +00:00
takemura 5b9cd9b86f Fix a problem which is reported in PR port-hpcmips/9207.
Vrkiu_cngetc() had returned WSCONS_EVENT_ALL_KEYS_UP if there are no event to
report. Modification keys like shift-key had been canceled by that event.
2000-01-22 09:12:35 +00:00
shin 7d6a332830 change miniroot size. 2000-01-21 11:29:53 +00:00
wrstuden 87e1b0f9b7 Add overlay to kernel configs. 2000-01-20 19:12:28 +00:00
thorpej a0397a2573 Move callout initialization to a single location; no need to duplicate
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui e61f177ab1 STRIP -> STRIPPROG 2000-01-19 16:29:54 +00:00
msaitoh 0b9af6bdce check whether tv_usec >= 1000000 2000-01-19 02:52:16 +00:00
thorpej c241e27b63 Use b_cylinder as defined in sys/buf.h 2000-01-18 19:37:58 +00:00
shin af0112be28 move keymap initialization into vrkiu_init(). 2000-01-17 12:22:37 +00:00
sato 114d690d03 delete unused codes. 2000-01-17 04:06:06 +00:00
sato f3689bd429 - no need
-- rtc inherit offset from WinCE.
 -- keymap set by plat id.
2000-01-17 03:11:12 +00:00
uch 0a5ac26680 enable TX3922 write-back cache.
flip Telios fg/bg color.
2000-01-16 23:30:13 +00:00
uch f96d767523 add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
2000-01-16 21:47:00 +00:00
uch e8460d1fcb disable noisy boot message. 2000-01-16 21:39:36 +00:00
uch dac63389a8 call config_hook_init before autoconfiguration.
initalize hr_mode.
2000-01-16 20:01:41 +00:00
uch 1e74db1306 RCS Id. 2000-01-16 11:14:49 +00:00
cgd 9a222ad604 remove .cvsignore files; if the tree doesn't clean completely, that's a bug 2000-01-16 08:27:40 +00:00
takemura 45dec0d12e Convert CR/LF -> LF. 2000-01-16 03:07:22 +00:00
uch 0a98216e35 fix mobilon hc-4100 keymap. 2000-01-14 18:37:58 +00:00
uch ee917c935b TX39 IR module (connected to TX39 UARTB module) 2000-01-13 17:53:35 +00:00
shin d4cd1dcd2f change '-G 32' to '-G 30' to avoid overflow(TX3912). 2000-01-13 05:32:41 +00:00
cgd e838d6a869 these are needed due to the change in rev 1.16 of mips/include/mips_param.h 2000-01-12 19:33:18 +00:00
cgd 67fd1bd089 add clean and distclean targets. Clean cleans out build-generated bits.
Distclean does that, plus removes other files windows is likely to
generate to make things unclean (.opt workspace options files, as well
as automatically updated versions of .dsp/.dsw files).  This means
that if you distclean: your workspace options may be reset to the defaults
(hey, you did tell it to clean everything out!), and any modifications
that you incorrectly made to the .dsp/.dsw files w/o using the templates
and UNIX-based auto-generation will be clobbered.
2000-01-12 19:19:16 +00:00
uch a0628e8583 set limit value and local saved configuration. return -1 if calibration failed. 2000-01-12 15:00:47 +00:00
uch dce2bc94e0 add UCB1200 sound module ucbsnd (core implementation only)
UCB1200 touch panel module moved to ucbtp and sync with vrpiu.
2000-01-12 14:56:17 +00:00
cgd 5078d19283 foist my automatically generated evil upon the world. 2000-01-12 02:46:33 +00:00
cgd ce9a9c483e taking evil to the next level: config files, templates, and scripts
to automatically generate project (.dsp) and workspace (.dsw) files
from configuration scripts for the bits that have to be built
on windows.  you build by saying 'make winfiles' here in stand,
then check in (on UNIX).  The versions that windows sees have to have
CR-NL line termination, so for proper use with samba the generated
files contain CRs and must be checked in on UNIX (NOT from Windows
CVS).
2000-01-12 02:33:54 +00:00
takemura 7817a37e38 WSMOUSE_SCALIBCOORDS/WSMOUSE_GCALIBCOORDS support. 2000-01-10 14:07:58 +00:00
uch 3e70433d39 fix TX39IO port debug routine bug. (TX3912) 2000-01-09 18:56:37 +00:00
shin b4d582b776 md_root.c: #include "opt_mdsize.h"
machdep.c:	add 'ifdef' to compile without 'options DDB'
2000-01-09 07:59:51 +00:00
shin 2c751cff39 add options for sysinst (memory disk size etc.) 2000-01-09 07:57:43 +00:00
shin 355d8b383f add Vadem Clio and Sharp Tripad 2000-01-09 07:55:57 +00:00
uch ce3b031d6d TX3912 touch panel support
TX3912 SIB module + ADC part of UCB1200 (companion chip of TX3912)
2000-01-08 21:07:02 +00:00
takemura 169eab5405 Update binary for MC-R530 and SHARP Mobilon HC-4100. 2000-01-08 05:25:44 +00:00
takemura ba04c55ed3 Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
   relative or absolute.
 - Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
   WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
uch d998f29223 p7416buf and tc5165buf are merged. 2000-01-07 15:19:12 +00:00
uch db8644e2c9 4bit greyscale mode currently disabled. (change to 2bit greyscale) 2000-01-07 15:10:50 +00:00
uch f60ef90127 implement IT8368 legacy attr mode. Mobilon requires it. 2000-01-06 18:14:25 +00:00
uch 75961aa95f change overrun interrupt treatment. 2000-01-06 18:11:23 +00:00
uch 6c7f28e845 add debug draw routines. 2000-01-06 18:10:42 +00:00
uch f0d09739ad regen. 2000-01-06 18:08:54 +00:00
uch 06a9750042 add SHARP Mobilon HC-4100 entry. 2000-01-06 18:07:53 +00:00
shin 9243684aaa fix MC/R530 parameter. 2000-01-06 06:24:29 +00:00
ad 44ae4c89f4 - Update for changes to 'struct wsdisplay_font'.
- Add RCS Id string. This should probably be in 'othersrc'.
2000-01-05 18:49:13 +00:00
takemura 42a0e30299 We can mmap frame buffer. Sorry, we had not been able to map it. 2000-01-05 15:12:42 +00:00
uch f56a7d0967 clean up boot message. 2000-01-03 18:29:03 +00:00
uch c6376f2e26 Change tx_poll_establish implementation and interface. 2000-01-03 18:24:03 +00:00
takemura 74ea35cd39 Now you can specify Windows raw device no to load the kernel in the style:
n:/netbsd (n=1..9)
2000-01-03 05:59:40 +00:00
shin 28087acb02 Change COPTS to "-Os -mmemcpy" for size reduction.
Suggested by Simon Burge.
2000-01-01 04:46:22 +00:00
shin 54fac7be8f add MSDOSFS
delete redundant kernel 'config' lines.
add new option '-b={wd0,sd0,nfs}' to change boot device.
2000-01-01 02:22:35 +00:00
shin 7626f63930 compile kernel with
-mips2 -G 32
for size reduction. Suggested by Castor Fu.
2000-01-01 02:15:38 +00:00
uch b4e898bafb Fix MCS3 address. 1999-12-31 16:07:29 +00:00
uch d136e27a9c Before attach card, check card is detected. 1999-12-30 16:50:43 +00:00
takemura 3e0dc7b316 VR41xx's PIU (Touch panel I/F unit) suport.
Currently it emulates relative pointing device like mouse, but it should
behave like an absolute pointing device. It needs more works in wsmouse side.
1999-12-28 03:15:16 +00:00
uch 02464c54d0 Implement PCMCIA controller power up/reset. 1999-12-27 18:49:20 +00:00
takemura 0818609296 Update version no and executable binary for Compaq Aero 1530. 1999-12-27 01:56:18 +00:00
jun 3c457707e6 add
Compaq Aero 1530
1999-12-26 17:27:53 +00:00
jun c81c09d71b regen. 1999-12-26 17:21:59 +00:00
jun 667e234adf add platid:
Compaq Aero MODEL 1530
1999-12-26 17:21:03 +00:00
uch d034b79aa3 clean up. 1999-12-26 17:06:02 +00:00
uch 124aa3ecd0 totaly rewritten. 1999-12-26 17:05:28 +00:00
shin fbae81d242 regen. 1999-12-26 05:51:25 +00:00
shin 5723de16d3 add platid for MC/R530, INTERTOP CX310(IT310). 1999-12-26 05:50:59 +00:00
uch 36380814c1 coding style clean up. 1999-12-23 17:24:30 +00:00
uch 26125dde8a Fix tx39clock_get bug. 1999-12-23 16:58:48 +00:00
uch 0028029538 Add TX39IO_MFIOOUTPORT_OFF option (debugging use) 1999-12-23 16:58:07 +00:00
uch 9481f398a2 Detect overrun interrupt. and add spl. 1999-12-23 16:57:14 +00:00
uch 115925987c Off LCD power when serial console. 1999-12-23 16:56:16 +00:00
kleink 11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
takemura 98a2a24647 New button handler and power controller with configurable hooking mechanism. 1999-12-23 06:26:08 +00:00
uch 508a4e8fd6 Implement TX3912/22 clock/timer module. 1999-12-22 15:35:33 +00:00
shin 79adf0a66b display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz). 1999-12-16 13:09:02 +00:00
shin 9751951da4 add CPU pipeline clock calculation function for VR41xx.
display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
1999-12-16 12:10:02 +00:00
sato 30c02c0abe - support WSDISPLAYIO_GTYPE. (but currently return WSDISPLAY_TYPE_UNKNOWN.)
- support WSDISPLAYOP_GINFO. (but cmsize maybe not correct.. )
- not display kernel message when group 't' ioctl.
- support mmap()
1999-12-16 09:46:56 +00:00
sato b92082a557 - dump some pmu registers at attach. 1999-12-16 09:37:33 +00:00
sato 0941c3a3c9 - cleanup a little.. 1999-12-16 09:36:19 +00:00
sato 63a8704a00 - initialize vrdsu_softc sc_iot member in vrdsuattach(). 1999-12-14 04:21:10 +00:00
sato 254fb071e7 - Vr4102 does not have PMUWAIT_REG_W register, so comment it.
- Vr4121 only have PMUDIV_REG_W register, so comment it.
1999-12-13 06:53:01 +00:00
sato 93482f6705 - change some comments.
- vr4102 have not BCUCNT3_REG_W register, so comment it.
1999-12-13 03:11:36 +00:00
uch 0ad989b87a remove unreferrenced header file. 1999-12-12 18:40:33 +00:00
uch 78a5012f77 add Telios keyboard (tc5165buf) information. 1999-12-12 17:11:20 +00:00
uch 97c3960184 SHARP Telios keyboard driver TOSHIBA TC5165 (tentative) 1999-12-12 17:10:01 +00:00
uch b2098820d6 Telios keyboard support. 1999-12-12 17:08:37 +00:00
uch f76253722c clean up 1999-12-12 17:07:13 +00:00
uch 573725bd34 set stop timer interval. 1999-12-12 17:06:22 +00:00
uch 7780f42e8c update comment. 1999-12-12 17:05:38 +00:00
uch c8296edee4 code clean up. 1999-12-12 17:04:55 +00:00
castor e91bafa460 Replace unused keys with IGN instead of UNK for NEC MobilePro 750c,
to match usage of other systems.
Also, modify ALT keys to return AltL keysym so debugger key sequence
will work.
1999-12-11 08:23:29 +00:00
takemura a9fc09cb1a I've took 1 for i. 1999-12-11 03:29:26 +00:00
takemura 9fb0ec1daf Recompile to support MobilePro 750 and Mobile Gear II for DoCoMo. 1999-12-11 02:58:22 +00:00
jun a29e89ddf6 regen. 1999-12-10 09:14:27 +00:00
jun 5b17c4459e change MG2 for Docomo,MCR-500A platid 1999-12-10 09:13:06 +00:00
jun d4524d28d7 MobilePro750c keyboard mapping table contributed by "Castor Fu" <castor@geocast.com> 1999-12-09 03:14:06 +00:00
jun 20e8996454 add mobilepro750c_keytrans 1999-12-09 03:03:55 +00:00
jun 30f0c17cb2 add entry for NEC MobilePro 750c 1999-12-09 02:51:30 +00:00
jun a565cabff0 Regen. 1999-12-09 02:48:43 +00:00
jun f169738a6b add NEC MobilePro 750c a.k.a. MCR_500A 1999-12-09 02:47:24 +00:00
sato 4765859db3 vrbcu related change. 1999-12-09 02:15:27 +00:00
sato 30dbdb3a28 - cleanup a little.
- vrbcu_vrip_getcpuid()
- exported prototype move to header.
1999-12-09 02:14:00 +00:00
sato 22f343c7ba - tail \n
- add needs-flag for vrbcu & vrpmu.
1999-12-09 01:56:23 +00:00
uch bf823f92da fix typo. 1999-12-08 16:22:10 +00:00
uch a46d11d667 don't define DEBUG in source code. 1999-12-08 15:57:12 +00:00
uch 395dc11439 sync with skbd. 1999-12-08 15:54:11 +00:00
uch 866a7053d6 MITUBISHI M38813 keyboard controller. 1999-12-08 15:51:07 +00:00
uch 7584977dc8 Remove old keyboard driver for Compaq C.
Add driver
 PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
1999-12-08 15:49:18 +00:00
jun d93cbc13dd add MobileGearII for DoCoMo 1999-12-08 07:34:58 +00:00
jun 2952df34ed Regen. 1999-12-08 07:30:28 +00:00
jun 7c4f8a7f07 add MobileGearII for DoCoMo 1999-12-08 07:29:24 +00:00
jun 2335cc052c add Compaq PRESARIO 213 1999-12-08 05:35:30 +00:00
jun d7ec450645 regen 1999-12-08 05:27:07 +00:00
jun b06bff8f39 add Compaq PRESARIO 213 1999-12-08 05:25:11 +00:00
sato 1ff57633a7 - clear all intr status and show old status when attached. 1999-12-08 01:54:59 +00:00
sato 0df4960b03 - PMUINT_ALL, PMUINT2_ALL.
- some registers.
1999-12-08 01:51:56 +00:00
sato 2c24f58ba1 Vr41xx LED control register definitions. 1999-12-08 01:43:58 +00:00
uch dd4be4cdba Fix iocorrect defines. 1999-12-07 17:53:04 +00:00
uch 7dd8599060 supply power. 1999-12-07 17:37:21 +00:00
uch 90c7b962a6 frame buffer device support. 1999-12-07 17:25:00 +00:00
uch 1bf65c154a Supply power before attaching socket. 1999-12-07 17:23:54 +00:00
uch e96dc9806b changing power up sequence.
disable all power before probing plum2 devices.
1999-12-07 17:21:45 +00:00
uch af18379afb TX3922, tx39_poll_intr uses stop timer interrupt as sampling interrupt. 1999-12-07 17:11:05 +00:00
uch 704572cafe clean up boot message. 1999-12-07 17:08:10 +00:00
sato c6dcc983e5 - fix typo.
- MINYEAR is 1999.
1999-12-07 05:02:01 +00:00
sato 64ea52288d cleanup a little.. 1999-12-07 04:54:54 +00:00
drochner 0893832078 update for changed struct wsdisplay_accessops:show_screen signature.
no functional changes
1999-12-06 19:25:56 +00:00
ragge 0513268399 CL* discarding. 1999-12-04 21:13:19 +00:00
takemura 21574acbba You can push power key to reboot when halt in vr_reboot. 1999-12-04 14:23:35 +00:00
takemura b5c8739b96 Unify vr_reset and vr_powerdown. 1999-12-04 10:55:17 +00:00
takemura 19a5b325f3 Print input/output/interrupt settings. 1999-12-04 10:15:34 +00:00
takemura adf3bfa79d Fix file mode of pbsdboot.exe. 1999-12-04 02:43:48 +00:00
uch 1917e12c8a CS:CARD1/CARD2 8bit port support. 1999-12-03 18:15:41 +00:00
uch 8ccf786b08 remove nonrequired include file line (fb.h) 1999-12-02 18:50:54 +00:00
uch 9bd4956230 BUSSPACEDEBUG -> BUS_SPACE_DEBUG 1999-12-02 18:41:56 +00:00
uch 85afb0e66b bicons_getc: calls vrkiu_getc() when vrkiu is configurated only. 1999-11-30 18:42:02 +00:00
uch 8b86f850f6 make platid_test compile again. 1999-11-30 15:11:00 +00:00
uch e3285cc801 commet out non-working code. 1999-11-29 17:23:04 +00:00
uch 616ab352ae tx39.c (tx_cons_init): fb_cnattach moved to tx3912video.c (tx3912video_attach): 1999-11-29 17:21:21 +00:00
shin ce5757bb6b fix Fujitsu INTERTOP CX300 keymap. 1999-11-29 02:20:20 +00:00
shin 82cd5e5ce2 add Fujitsu INTERTOP CX300. 1999-11-29 02:20:11 +00:00
takemura f972baf686 Add definition for VR's special instructions. 1999-11-28 12:11:45 +00:00