Commit Graph

1057 Commits

Author SHA1 Message Date
takemura
8f5ef79d0f Added _hpcmips_bd_mem_alloc_range, which was written by Katsuomi Hamajima. 2002-01-06 12:39:55 +00:00
takemura
b62dd2ee45 Set interrupt mask on Vrc4173 ICU. 2002-01-06 07:01:20 +00:00
takemura
d0d31a9efc DoCoMo SigmationII support (Experimental)
You must turn on HPCMIPS_L1CACHE_DISABLE option.
2002-01-05 06:45:31 +00:00
takemura
a42a77efaf If two or more vrisab matches platform id, attach most specific one. 2002-01-05 05:09:15 +00:00
uch
cead686281 fix memory size calcuration bug. 2002-01-05 04:47:30 +00:00
takemura
92f7bd9399 Deleted verbose error message in probe routine to probe silently. 2002-01-05 00:40:38 +00:00
takemura
01b846e28e Renamed sg2com -> com_hpcio. Now it seems to be working on SigmarionII. 2002-01-04 14:11:50 +00:00
shin
a3df8955eb remove redundant option 2002-01-03 11:28:12 +00:00
shin
2eb7728600 ignore romboot and romboot.bin 2002-01-03 11:27:48 +00:00
shin
d270437597 change max kernel size from 3MB to 6MB. 2002-01-03 11:23:29 +00:00
shin
238556cca6 fix typo. 2002-01-03 11:22:17 +00:00
uch
91fd1d80b7 VR41XX/TX3922 common kernel. 2002-01-02 13:13:18 +00:00
uch
58e763000e fix typo in comment. 2002-01-02 13:11:02 +00:00
uch
78e38d9e62 fix bootstrap stack violation. 2002-01-02 13:08:35 +00:00
uch
f96ef6a094 fix memory probe sequence.
fix bootstrap stack violation. (code are moved to machdep.c)
2002-01-02 13:08:05 +00:00
takemura
bd59ae1f5c BUGFIX: sg2com isn't attached as a console device if it is a console. 2002-01-02 10:09:35 +00:00
takemura
936fd137e6 BUGFIX: It allocated only 44 bytes for hpcapm while the device needed
764 bytes.

it was really terrible.
2001-12-30 12:57:41 +00:00
takemura
4ff1a4256d Commented out the line which install interrupt handler because sg2com
interrupt port is unknown and it doesn't work at all.
2001-12-29 09:26:23 +00:00
takemura
37728140db Added debugging output indicating details of interrupt register setting. 2001-12-29 05:15:32 +00:00
takemura
dce583bd28 Added sg2com(SigmarionII sertial). 2001-12-29 04:27:33 +00:00
augustss
b53ea42bf0 Update for new uhidev device attachment. 2001-12-28 17:37:01 +00:00
martin
b506d6e135 Add PPPoE to all generic kernels that should be able to use it.
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
shin
3e560d975e make YBASE and EPOCHYEAR tunable. 2001-12-24 01:22:50 +00:00
shin
f22f06769c fix debug printf() format string. 2001-12-24 01:21:27 +00:00
takemura
2134fdcf5e Added SigmarionII serial port support.
(console onlty, interrupt is not supported)
2001-12-23 13:32:33 +00:00
shin
bd62d7da4a decend into romboot. 2001-12-23 13:28:23 +00:00
shin
896f0cde82 simple boot loader for ROM
supported platform: LASER5 L-Router(L-Board)
2001-12-23 13:27:56 +00:00
takemura
3c28255e30 BUGFIX: it gets bus error on Vr4122 and Vr4131 attempting to access
pull-up/pull-down registers if you turn on verbose output.
And moved softc structure definition from vrgiuvar.h to vrgiu.c, which was
needless in other parts of kernel.
2001-12-16 09:58:34 +00:00
soren
875bff0962 To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
gmcgarry
bdd225baa1 Add a blurb to the top of all GENERIC files. This serves three purposes:
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
shin
13c66a24fe compilation fix. 2001-12-11 05:43:11 +00:00
uch
bd9aab9cb5 make this compile again. 2001-12-02 10:37:53 +00:00
lukem
ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
uch
0dff65d9f9 add missing simple_lock_init. 2001-11-23 16:21:31 +00:00
atatat
2bf2c362fb The bridge(4) pseudo-device no longer requires the port to
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
takemura
5815e5f567 Fixed bus stuff to compile vrpciu.c (VR4131 CPU). 2001-11-22 14:22:30 +00:00
uch
df2b478d48 increase the value of maxusers to 16. 2001-11-21 11:28:09 +00:00
lukem
0fa231134c - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
03aef4723c cleanup:
options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
takemura
1d1d5c87af Rewrite bus stuff with method table in the bus tags. 2001-11-18 08:19:39 +00:00
thorpej
af66038f73 Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
2001-11-14 18:15:10 +00:00
augustss
c5477b70aa The wsmux pseudo device does not need a count anymore. 2001-11-13 17:54:46 +00:00
shin
82c810212c make this compile without DDB. 2001-11-10 06:56:35 +00:00
sato
c702430929 MCR-300/310/320/330/for Docomo have same PWCTL_LCDLIGHT, PWCTL_LCD port. 2001-11-10 04:53:47 +00:00
enami
5bd379b1b2 Fix size of iospace; it's not 2 but 4, since two 16bit wide registers at
offset 0 and 2.
2001-10-26 04:22:25 +00:00
shin
2239512d8c make this compile with -DDEBUG_FIND_PCIC. 2001-10-24 04:09:23 +00:00
thorpej
90a2bc2cf7 For MIPS kernel Makefiles, don't set ENDIAN in std.${MACHINE}. Instead,
explicitly set MACHINE_ARCH to the appropriate thing.  Makefile.mips will
then set all of the internal variables it needs to accordingly.
2001-10-23 20:40:00 +00:00
takemura
addd2cfb92 Remove junk line, which I inserted in last commit. 2001-10-22 13:44:05 +00:00
takemura
b9f6f9619d - Added auto detection for BCU device no.
- Added clock mask unit register definition.
 - Reset child devices and set clock mask.
2001-10-21 09:38:10 +00:00
sato
e848d501fd swap value of VR4181_SIU_ADDR and VR4181_SIU1_ADDR.
fix typo.
2001-09-30 11:33:00 +00:00
sato
b9049cf914 add VR4181, VR4131 support. 2001-09-30 11:24:07 +00:00
chs
984d30ac45 don't depend on other headers to include sys/proc.h for us. 2001-09-28 12:36:48 +00:00
sato
181ca7dcd0 add VR4181 clock control. 2001-09-28 10:25:15 +00:00
sato
91e1127840 VRGROUP_4122 -> VRGROUP_4122_4131 2001-09-28 10:18:33 +00:00
sato
9a679b0eb1 - add VR4181 ICU register map.
- add VR4181 intr levels.
- add VR4131 ICU register map.
- add VR4131 intr levels.
XXX: not yet tested these platform.
2001-09-27 13:59:37 +00:00
shin
541214b72d clock_machdep.h was removed. 2001-09-27 01:08:22 +00:00
takemura
ca59965026 Renamed platid_search() to platid_search_data() and added new platid_search().
Platid_name() was re-implemented using platid_search().
2001-09-24 14:29:30 +00:00
takemura
ce2f39b63a Hacking code piece, dumping PCI configration register. 2001-09-24 10:42:02 +00:00
uch
6c1c0aff9c improve interrupt response. 2001-09-23 14:32:52 +00:00
uch
13a0719090 make this compile again. 2001-09-19 14:51:13 +00:00
uch
5c4a9c8761 remove dev/dec/clockvar.h from hpcmips source tree. 2001-09-18 17:37:26 +00:00
uch
87a75cec20 clean up "mainbus" related code. 2001-09-17 17:03:44 +00:00
uch
6a9bbffc4d rearrange struct platform@sysconf.h suitable for hpcmips.
overhaul hpcmips/hpcmips/. no actual changes.
2001-09-16 15:45:42 +00:00
uch
961880b501 ANSIfy, KNF. 2001-09-16 05:32:18 +00:00
uch
80d8d09cd7 switch from splvec to ipl_sr_bits. 2001-09-15 19:51:38 +00:00
uch
ba1ef3e899 ANSIfy. 2001-09-15 15:04:45 +00:00
uch
c04a1143f0 remove unneeded #include 2001-09-15 14:08:15 +00:00
uch
58f851eeb5 ANSIfy, KNF, change my copyright. 2001-09-15 12:47:04 +00:00
uch
7148cab49a ANSIfy, KNF. 2001-09-15 11:13:20 +00:00
chris
0e7661f023 Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.
2001-09-10 21:19:08 +00:00
sato
9545f31823 initial support of vr4131 bcu. 2001-09-07 16:06:03 +00:00
sato
a18f21f23e VR4131 have same restriction as VR4122. 2001-09-07 16:04:03 +00:00
sato
5e44e9de0e add VR4131 releated definisions and change. 2001-09-07 16:02:56 +00:00
sato
3198fedb64 add VR4131 infomation. 2001-09-05 16:08:46 +00:00
sato
4891a8aac2 add more battery event. 2001-09-05 15:46:52 +00:00
sato
e085d9eae5 add option VR4131 2001-09-05 15:46:10 +00:00
simonb
099f117735 Standardise the format of MIPS' <machine/db_machdep.h>. 2001-09-04 07:43:29 +00:00
simonb
62fb390c64 May as well include <mips/cpuregs.h> in <mips/cpu.h> once rather than
in every MIPS port's <machine/cpu.h>.
2001-09-04 06:23:15 +00:00
simonb
214f5366ea Centralise struct cpu_info declaration and related info to <mips/cpu.h>. 2001-09-04 06:19:21 +00:00
atatat
5f25c01eff Comment out bridge pseudo devices from ports that don't
__HAVE_GENERIC_SOFT_INTERRUPTS.  bridge(4) doesn't compile there.
2001-09-01 23:08:40 +00:00
atatat
97c67a9bae Add bridge pseudo devices to GENERIC configs 2001-09-01 21:52:23 +00:00
simonb
e5b3cbb4cd Use comments around the token after a #endif. 2001-08-31 04:18:52 +00:00
simonb
a6b8c86af0 Remove an unneeded comment; ``sync'' with other "just include <mips/foo.h>"
files.
2001-08-31 03:53:22 +00:00
sato
3f9cc29da9 fix vr4181 register offset. 2001-08-21 10:31:26 +00:00
jdolecek
74954dadf9 use unsigned variable types as appropriate 2001-08-05 18:07:51 +00:00
sato
0e356bc8ef fix VR4122 some unit address. 2001-08-04 14:08:46 +00:00
shin
ad4858224a make this file compilable without TX39IRDEBUG. 2001-08-02 04:30:01 +00:00
sato
c84f4a5476 adhoc battery event creation for some vr machines.
XXX: temporary
this file is needed with vrpiu.c rev1.14
2001-07-22 10:40:09 +00:00
takemura
64b6b76a21 You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
2001-07-22 09:56:39 +00:00
thorpej
babefc5331 Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
2001-07-19 15:32:10 +00:00
sato
9ae3738ab5 adhoc battery event creation for some vr machines.
XXX: temporary
2001-07-19 13:11:27 +00:00
toshii
e267c67b60 "infomation" -> "information" 2001-07-17 01:37:43 +00:00
enami
8b9f679d56 Adapt with recent md_root.c change; now you can put a root filesystem image
into separate file if boot loader allows.
2001-07-03 02:37:06 +00:00
uch
6c492e4e70 fix hpcio configuration. 2001-06-14 16:55:34 +00:00
uch
ea54d618ea ANSI KNF. and change my copyright to TNF copyright. 2001-06-14 11:09:55 +00:00
sato
4cc6a0ac93 fix 'mask clock to PIU' 2001-06-14 08:43:41 +00:00
uch
0774d04303 (TX39) switch from TX local I/O manager to hpcio 2001-06-13 19:09:07 +00:00
sato
01b21ab7a1 register VRIP_INTR_BAT handler to vrip_intr_establish(). 2001-06-13 16:05:59 +00:00
enami
4553af4ee5 Add minimal support for vr4122/vrc4173 pci. 2001-06-13 07:32:47 +00:00
enami
3df61fa9d9 Generic softintr for hpcmips. 2001-06-13 06:03:10 +00:00
enami
43b992855b Comment about start address of LED unit in vr4122. 2001-06-11 10:04:27 +00:00
sato
a2c4938b03 not set HPCFB_SWAP_BYTE 2001-06-11 09:36:44 +00:00
sato
c1922a2158 not set HPCFB_SWAP_BYTE. 2001-06-11 09:21:15 +00:00
enami
1c426d533e make GENERIC compile again. 2001-06-11 06:11:01 +00:00
enami
48a9b87617 Move some struct definition into header file. 2001-06-11 06:04:55 +00:00
enami
79524e25e0 - add comment about start address of PMU in vr4122.
- wrap long line.
- add regsiter offset found in PMU of vr4122.
2001-06-11 06:02:21 +00:00
enami
d011344fca Cosmetic changes; lineup some struct members. 2001-06-11 05:56:21 +00:00
enami
1898d1dcc6 - make this file compile even if either hpcfb or vrkiu isn't included.
- introduce new cpp symbol VR_FIND_DRAMLIM not to probe dram beyound this.
  for example, MP-C303 hangs hard if memoy beyond 0x03800000 is probed.
2001-06-11 05:52:21 +00:00
enami
f81775f030 Cosmetic changes. 2001-06-11 05:24:06 +00:00
enami
2bcc128c2b Print space after colon. 2001-06-11 05:22:10 +00:00
enami
3dabdff631 Cosmetic changes:
- Use tab instead of many spaces
- options<SPC><TAB>
2001-06-11 05:17:45 +00:00
sato
9d87ee4b59 add MC-R700, 730 touch panel parameter 2001-06-10 12:37:43 +00:00
chs
821ec03ed9 replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
enami
f998b62e15 Fix commnet; hpcmips isn't x86 architecture. 2001-05-31 02:30:04 +00:00
lukem
d84d2c6c85 add missing #include "opt_kgdb.h" 2001-05-30 15:24:23 +00:00
mrg
67afbd6270 use _KERNEL_OPT 2001-05-30 11:57:16 +00:00
chs
e44e9dec8a replace vm_page_t with struct vm_page *. 2001-05-26 21:27:02 +00:00
uch
7fd9577e9e fix WSDISPLAYIO_PUTCMAP bug. 2001-05-21 18:37:30 +00:00
enami
6ae30e0e6e Don't touch GIU{USE,TERM}UPDN_REG_W if ONLY_VR4122 is defined.
XXX ... for now.  better way is needed.
2001-05-18 01:41:39 +00:00
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
sato
8211e0e08b * support more than 16 ids.
* check the event ids are in the table.
2001-01-26 03:44:33 +00:00
sato
18ae54300c * renumber config_hook event type.
* change event id of old event type(POWERCONTROL,BUTTONEVRNT)
  to same as event id of new event type(EVENT,SET,GET).
2001-01-26 03:42:30 +00:00
sato
3689556739 * fix typo.
* change PWR_* handling to PWR_SOFT* handling, if these routines need to sleep.
2001-01-24 09:34:26 +00:00
sato
2e9c446398 * dopowerhooks(PWR_SOFTSUSPEND) in apm_suspend().
* dopowerhooks(PWR_SOFTSTANDBY) in apm_standby().
* dopowerhooks(PWR_SOFTRESUME) in apm_resume().
* dopowerhooks(PWR_RESUME), dopowerhooks(PWR_STANDBY),
  dopowerhooks(PWR_SUSPEND) run in splhigh() state.

These changes sync with arch/i386/i386/apm.c.
2001-01-24 09:29:25 +00:00
sato
fbf168d909 delete unneed debug message. 2001-01-24 03:52:16 +00:00
sato
a164b74b53 revert one of 1.34 change.
> * emul/mapping infomation turn to per screen.
(my misunderstanding)
currently per device.
2001-01-24 03:50:20 +00:00
sato
4af7f46d47 * support hpcfb_show_screens()'s cb and cbarg arguments. (HPCFB_MULTI)
* emul/mapping infomation turn to per screen.
* rename hpcfb_check_scroll() to hpcfb_check_update(). (HPCFB_JUMP)
* rename hpcfb_scroll_update() to hpcfb_update(). (HPCFB_JUMP)
* update experimental HPCFB_JUMP codes. (but not yet fix yet)
2001-01-24 01:38:53 +00:00
sato
0e59b8d2ec add 4bpp support (sync with mq200 rev1.6 -> 1.7) 2001-01-23 08:51:48 +00:00
jdolecek
8b24036797 Require the machine-dependant DDB commands to be in db_machine_command_table[]
and link it directly to db_command_table[] so that it's not necessary
to do this at runtime. Make db_machine_command_table[] const on all ports.
g/c now unneded stuff, like db_machine_commands_install(), db_machine_init()

Patch written by enami.
2001-01-22 13:56:55 +00:00
shin
9ef14b26c7 - sync with i386.
- this change fixes bogus ESRCH error bug in writedisklabel().
2001-01-22 12:37:14 +00:00
takemura
7a78296f1c Add items for 4bit/pixel frame buffer format.
Fix frame buffer information of Compaq Aero 1530.
The version of binaries get 1.17.0 2001.01.07.
2001-01-21 14:31:37 +00:00
takemura
9aa8ab9279 Use rasops with 4bit depth. 2001-01-21 14:00:32 +00:00
takemura
82340f7df1 Built-in console driver supports 4bpp frame buffer. 2001-01-21 09:11:28 +00:00
takemura
6a31350117 Fix bugs of VR touch panel driver,
- status stay in touching while pen don't realy touch.
  - cursor often jumps to center of screen.
But it seems that 'stay in touching' still occurs at rare intervals.
2001-01-21 05:00:28 +00:00
takemura
24706debd2 Fix indent, which were too deep. 2001-01-20 12:24:22 +00:00
sato
67ea0086c3 fix typos. 2001-01-19 11:42:21 +00:00
tv
e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
shin
6b177fb05c - reduce GP size (20 -> 18). 2001-01-17 10:35:08 +00:00
fvdl
c7f1462f3e Add machdep file for procfs. Currently only used for linux-style
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
augustss
46130fb7e5 Add uyap. 2001-01-16 03:38:22 +00:00
thorpej
d74e432ed3 Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
sato
c1821150bb change MINYEAR to 2001. 2001-01-15 15:36:38 +00:00
martin
a261276f16 The i4b raw b-channel devices actually do have an ioctl routine,
so better add this to the cdevsw entry.
Noted by Bruno Achauer.
2001-01-14 11:17:28 +00:00
thorpej
d85a75f583 Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
sato
86035aa9c0 dummy WSKBDIO_SETLEDS WSKBDIO_GETLEDS for wsconsctl(8) 2001-01-10 08:43:13 +00:00
martin
5d0c67c603 When adding isdn devices I forgot to check chrtoblktbl.
Fix this know for the affected archs.
2001-01-09 20:51:04 +00:00
martin
f53c899649 Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.
2001-01-08 21:46:33 +00:00
takemura
a0a2fc0688 Implement WSMOUSEIO_SRES to control A/D port scan interval. 2001-01-08 09:50:08 +00:00
takemura
e2173eff07 Add some definitions. 2001-01-07 07:29:33 +00:00
toshii
8ce2076cf5 Fix a typo in debug printf. 2001-01-06 06:01:59 +00:00
takemura
5d91708fb9 Generating workspace and project files for eMbedded Visual Tools 3.0. 2001-01-05 15:00:56 +00:00