Commit Graph

924 Commits

Author SHA1 Message Date
uch 340c3f66fe call intr_init() after mips_vector_init(). intr_init use CPUISMIPS3 macro. 2002-01-31 05:11:16 +00:00
uch 6f463cfc19 remove obsolete file 2002-01-29 19:04:59 +00:00
uch 7d17099353 clean up debug print and configuration. 2002-01-29 18:53:01 +00:00
uch f39553cc10 hpcmips support of kloader. 2002-01-29 18:47:25 +00:00
uch 1523771250 simpify. 2002-01-29 18:38:32 +00:00
uch 0cc2d5d9dd make this compile without DIAGNOSTIC. 2002-01-28 05:40:58 +00:00
uch 1391d49aaa decrease sbss,sdata section size. 2002-01-28 05:40:30 +00:00
takemura a0584b29ab Added vripif. 2002-01-27 14:18:11 +00:00
jdolecek 6d265bd894 add options PIPE_SOCKETPAIR to individual kernel configs
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
takemura 7f66bbfe65 Don't call tx39power_suspend_cpu unless the CPU is TX. 2002-01-27 11:11:11 +00:00
takemura e8088a8f99 Straightened vripvar.h 2002-01-26 10:50:43 +00:00
takemura 672880d927 Adjusted GP size. 2002-01-26 10:24:58 +00:00
shin 073b07d45d bugfix: OHCI is bus 0, device 12 or 19, function 2 (not 0). 2002-01-20 03:34:27 +00:00
oster 39b858e3bf Add new RF_* options for RAIDframe bits that are no longer built by default.
While we're here, enable RAIDframe (and RAID_AUTOCONFIG) by default for
architectures that I'm comfortable can deal with it being on by default.

Also: bump the number of 'raid' devices from 4 to 8, since 4 seems to
be insufficient in practise.
2002-01-19 18:45:06 +00:00
shin b886a869ed add support for LASER5 L-Router. 2002-01-18 13:51:01 +00:00
takemura 27d818bfdb Fixed vrpciu with config_hook PCI interrupt handling. 2002-01-13 14:18:31 +00:00
manu af62e00622 Added clockctl 2002-01-12 13:11:08 +00:00
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