Commit Graph

788 Commits

Author SHA1 Message Date
enami
c7db455f32 Fix fomula to calcurate TClock; TClock = VTClock / tdiv, not PClock / tdiv.
The manual is inconsistient about this.
2001-05-17 13:10:46 +00:00
enami
c74dc48133 Use VRIP_SIU_ADDR instead of 0x0c000000 for base address of serial console
or kgdb connection.
2001-05-17 06:00:22 +00:00
enami
f2649e3000 Include opt_vr41xx.h and vrcpudef.h 2001-05-17 05:25:32 +00:00
sato
e82d2d52c6 vr4122 releted definition. 2001-05-17 05:04:30 +00:00
enami
fb619e9a70 Calc. cpu speed for VR4122. 2001-05-16 10:49:18 +00:00
takemura
b8cf6af7cb Fix description about frame buffer type. 2001-05-12 10:08:59 +00:00
shin
6fbde674dd don't define TAILQ_EMPTY here. TAILQ_EMPTY is defined in <sys/queue.h>. 2001-05-09 11:57:05 +00:00
uch
5dd9fe4aa5 set allocatable PCMCIA I/O space size. 2001-05-08 18:08:02 +00:00
takemura
54d9a46bbc Vrc4172 GPIO support. This device is currently configured on PenCentra 130. 2001-05-06 14:25:15 +00:00
hubertf
b866d429c1 vlan does not belong to group of IPv6 pseudo-devices 2001-05-06 01:54:19 +00:00
takemura
4cfc3259b6 Add entry for 'PenCentra 130'.
The version number is '1.17.5 2001.05.05'.
2001-05-05 14:42:41 +00:00
takemura
a44e218942 Fix Makefile to generate dummy pbsdboot/opt_spec_platform.h, which will
be created by config(8) when you compile kernel. And update binary files.
The version number is '1.17.4 2001.05.05'.
2001-05-05 08:26:11 +00:00
takemura
83a1287ab0 Add wrapper header files. 2001-05-05 08:14:21 +00:00
shin
66ff05bcae change maxusers 8 -> 10.
without this change, 'make build' will fail.
2001-05-05 05:04:27 +00:00
scw
2963ff5c58 Add l_poll' to struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
takemura
a8304325bf Fix 'busname' to attach nodes correctly. 2001-05-01 00:25:16 +00:00
takemura
26b0905dd0 Machine independent GPIO interface. 2001-04-30 11:42:17 +00:00
uch
f0df5e196f delete noisy debug message. 2001-04-24 17:09:54 +00:00
thorpej
e553a6caf0 Do the first allocsys() pass (the pass that computes sizes) before
calling pmap_bootstrap(); pmap_bootstrap() needs some of the size
information computed by allocsys().
2001-04-24 15:41:38 +00:00
thorpej
1c3a62e066 Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.
2001-04-24 04:30:50 +00:00
thorpej
079c2e0ac9 Call pmap_bootstrap() before calling uvm_pageboot_alloc(), so that
the kernel virtual address space bounds will be set up.
2001-04-23 23:50:22 +00:00
sato
25bed1d297 fix memcpy argument in SPEC_PLATFORM&BOOT_STANDALONE case. 2001-04-23 11:31:15 +00:00
sato
40e5d08ed9 set specified platid when BOOT_STANDALONE & SPEC_PLATFORM=xx specified. 2001-04-23 10:13:02 +00:00
thorpej
5871b80f00 Use uvm_pageboot_alloc() for early memory allocation, rather than
calling pmap_steal_memory() directly.  On these platforms, since
uvm_pageboot_alloc() is a wrapper around pmap_steal_memory(), there
is no functional change.  This is merely for API consistency.
2001-04-22 18:21:48 +00:00
shin
2d7f52d2c7 add Serial Line IP (sl). 2001-04-22 02:06:34 +00:00
shin
22b4360d24 add config files for installation. 2001-04-22 02:01:43 +00:00
sato
5c43977ed6 - fix comment for MCR/530.
- add MCR/530A(MobilePro780) PWCTL_COM0 device.
- add MC-R520A(MobilePro770) BTN_COVER device,
   but commented because of no checking.
- add MC/R530A(MobilePro780) BTN_COVER device,
   but commented because of no checking.
2001-04-21 15:56:55 +00:00
sato
9804ab7c49 add VR4181 vrip register maps.
add VR4181 vrip intr levels.
2001-04-21 14:46:36 +00:00
sato
05c9ce0788 add VR4181 BCU register definitions.
add routines for VR4181.
2001-04-21 14:44:40 +00:00
sato
a797d869ed dump io setting: DPRINTF->VPRINTF 2001-04-21 10:32:38 +00:00
sato
355c78fa22 enlarge MSGBUFSIZE for -v option. 2001-04-20 12:08:45 +00:00
sato
f3f40df128 options<TAB><TAB> -> options<SPACE><TAB> 2001-04-20 12:07:49 +00:00
sato
12a0a0a537 - support VR4122 vrip register map.
- support VR4122 ICU register map.
- support VR4122 intr levels.
XXX: currently if 'options VR4122' is defined,
XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'.
XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
2001-04-18 11:07:26 +00:00
sato
553d85e2d4 missing includes in last commit (rev1.6->1.7). 2001-04-18 11:00:30 +00:00
sato
d4262d1ab3 use VRIP_CMU_ADDR in vr/vripreg.h 2001-04-18 10:48:58 +00:00
sato
9d92917cd6 check platid if 'options VR41XX' and 'options TX39XX' are both defined.
XXX: currently this case is missconfiguration and not compilable.
XXX: because all codes are not supported this case yet.
2001-04-18 10:42:39 +00:00
sato
cdc83120a7 fix SINGLE_VRIP_BASE condition. 2001-04-17 15:45:20 +00:00
takemura
a8106b2b59 Fix typo. kbdparam.h -> kdbparam.h.
RP12685
2001-04-17 15:19:41 +00:00
sato
97683d27ae - definition for vr cpu identify.
- definition for vr cpu group identify.
2001-04-17 11:13:16 +00:00
sato
00ec577a8e add VR4122 specified register definitions.
XXX: vrip.c is not yet supported VR4122.
2001-04-16 09:55:56 +00:00
sato
8a19f18c0b fix typo in comment. 2001-04-16 09:17:05 +00:00
kleink
f06533a1ee Add definitions of C99 integer format conversion macros.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837 Add definitions of C99 specified-width integer type limits.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
takemura
60f9754d4b Add __COMPILER_UINT64__="unsigned __int64" syncing with the change
of arch/mips/include/int_types.h, revision 1.4.

The version of the binaries are '1.17.3 2001.04.15'
2001-04-15 10:10:43 +00:00
kleink
cdcf9f46c5 Add definitions of C99 integer constant macros.
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788 Add definitions of C99 integer constant macros. 2001-04-14 22:38:33 +00:00
kleink
7affdab52e Add definitions of C99 minimum-width and greatest-width integer types.
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
thorpej
bf2dcec4f5 Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
itojun
fbc07662f5 $NetBSD$ tag cleanup 2001-04-13 08:11:44 +00:00
itojun
eb0cfc6af5 s/$Id$/$NetBSD$/ 2001-04-13 08:09:07 +00:00
thorpej
316dcc474b splvec.splimp -> splvec.splvm 2001-04-12 19:21:20 +00:00
sato
5dd91b669c add VR4101 specific BCU registers.
add VR4122 specific BCU registers.
add cpu specific comments.
2001-04-11 08:52:59 +00:00
sato
68d21310de opt_vr41x1.h -> opt_vr41xx.h.
add 'options VR41XX' and kill 'options VR41X1'.

add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.

GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
2001-04-11 08:23:26 +00:00
wiz
14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
sato
6601895830 add vrc4172pwm for MC-R510, MC-R520. 2001-04-03 09:02:24 +00:00
uch
c5496871db fix comment. 2001-03-30 15:59:17 +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
sato
887d70ab8f CONFIG_HOOK_GET support for get current port status. 2001-03-26 08:57:02 +00:00
uch
ed26af9e66 recognize hpcboot.exe's ELF symbol table. 2001-03-25 15:15:18 +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
c5956b89f8 change backlihght parameter value type to int8_t. 2001-03-24 16:08:36 +00:00
sato
8c78f7fad3 add vrc4172pwm for MC/R520A(MobilePro770) 2001-03-24 15:56:59 +00:00
sato
1907b28be1 add MobilePro770(MC/R520A) parameters. 2001-03-24 15:53:37 +00:00
sato
8f5f11180a o add sysctl machdep.booted_kernel support.
o add sysctl machdep.root_devoce support.
2001-03-23 11:09:49 +00:00
lukem
723cd818d8 move duplicate definitions for:
pc, lpt, joy, ocis, apm, satlink, i4bctl, i4brbch, i4btel, i4btrc, i4b
from the port-specific arch/*/*/conf.c files into sys/conf.h
2001-03-21 22:25:52 +00:00
soren
912c115675 s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message. 2001-03-21 18:40:28 +00:00
chs
ac3bc537bd eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>
2001-03-15 06:10:32 +00:00
sato
ae8397d1f8 comment out:options WSDISPLAY_DEFAULTSCREENS=4 2001-03-13 03:44:23 +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
sato
859d83dd22 * vrc4172pwm_get_light() return the value masked by VRC2_PWM_LCDEN_MASK.
* when resume from suepend, restore saved value instead of always on.
2001-03-12 08:46:27 +00:00
uch
cb1bebe07e remove unneeded include. 2001-03-11 16:45:13 +00:00
takemura
1ab9404c3c Fix definition of MQ200_GCR(n). This definition was quite bad! 2001-03-11 13:53:31 +00:00
takemura
5cb5569c63 Apply 'CF hack' to all model of Cassiopeia E series. 2001-03-11 05:18:51 +00:00
sato
80214041c7 support WSDISPLAYIO_SVIDEO/WSDISPLAYIO_GVIDEO.
lcd on/off
2001-03-09 08:54:18 +00:00
thorpej
2c4c690f14 Add the BUS_DMA_STREAMING flag. 2001-03-07 22:42:16 +00:00
sato
1a533a81d6 add sigmarion parameter. 2001-03-06 03:14:39 +00:00
takemura
c074920294 Add PocketPostPet entry.
The version number is 1.17.2 2001.03.04.
2001-03-04 05:38:19 +00:00
takemura
0cb5085286 BUGFIX: These string data, 'MEMORI- KA-DO...' didn't have any terminater. 2001-03-04 05:11:31 +00:00
takemura
e18e70f67e Add some diagnostic code. 2001-03-04 05:08:29 +00:00
sato
f199529e4b add MC/R430(copy of MC/R530) 2001-03-02 09:14:36 +00:00
sato
b8e5bc569c * add WSDISPLAYIO_PARAM_BACKLIGHT, WSDISPLAYIO_PARAM_CONTRAST,
WSDISPLAYIO_PARAM_BRIGHTNESS supports.
2001-02-27 08:54:17 +00:00
sato
269197a956 add vrc4172pwm for MC/R530A, MC-R700. 2001-02-27 08:51:06 +00:00
sato
66261e817a * update copyright year.
* some machines(MC-R700 etc) have pre-vrc4172 asic.
  they don's work as vrc4172 specification, so skip some probe sequence.
  - add platid related parameter.
  - add VRC4172PWM_BROKEN_PROBE code.
* add MC-R700,700A parameters (tested on MC-R700).
* add contrast parameters.(but no one use yet).
* turn some message in probing to VPRINTF().
* enlarge VRC2_PWM_N_BRIGHTNESS.
2001-02-27 08:48:38 +00:00
sato
42127a3ffd register vrc4172pwm driver for MC/R530 etc.. 2001-02-26 09:34:22 +00:00
sato
fb03c1ad33 DPRINTF/VPRINTF change. 2001-02-26 09:33:03 +00:00
takemura
074b36937c Make it compilable, syncing with the relocation of the platid stuff. 2001-02-25 12:58:36 +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
uch
8b060aaf64 hpc* common disksubr.c 2001-02-21 16:34:00 +00:00
sato
ed219529f5 * vrc4172pwm_light(): workaround when brightness is max.
if light turn off, brightness must be minimum.
* more DPRINTF().
2001-02-16 12:31:46 +00:00
sato
6602ad15b5 * show framebuffer address in boot time. 2001-02-15 09:17:18 +00:00
sato
bcece69eb6 * add MC/R430/530/530A parameters in vrc4172pwm_platid_param_table.
* fix typo in cf_loc access.
* add some DPRINTF()s.
* fix default value if no params in vrc4172pwm_platid_param_table.
2001-02-15 03:20:10 +00:00
uch
f19685fa10 I forgot to initialize bicons for hpcmips. 2001-02-09 20:42:27 +00:00
uch
68b5de4251 sync with bicons change. 2001-02-09 19:47:28 +00:00
uch
2cb604a22d sync with platid_gen change. 2001-02-05 17:39:45 +00:00
takemura
596e28b8c2 Marge hpcmips/conf/platid.def and hpcsh/conf/platid.def
into hpc/conf/platid.def.
2001-02-04 05:19:14 +00:00
sato
dcdef16dcd Copyright year. 2001-02-02 08:31:04 +00:00
uch
67c95e9ab7 remove old platid_gen 2001-01-29 04:23:01 +00:00
uch
584cfa7669 Switch to MI md_root.c. 2001-01-28 03:09:40 +00:00
uch
6be22c0c6f hpcmips hpcsh common files are moved to arch/hpc. 2001-01-28 02:52:15 +00:00