takemura
6929f9f471
Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
...
port before auto configuration.
Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
2002-02-02 10:50:08 +00:00
uch
6edf1a4018
bootinfo.h, config_hook.h, platid.h are moved to hpc/include
2002-02-01 18:16:03 +00:00
tv
805ab35e68
Make it possible for uudecode to be a host tool.
2002-01-31 19:15:23 +00:00
uch
9455834f75
update MINYEAR
2002-01-31 17:57:43 +00:00
uch
ace35e63ce
clean up header file.
2002-01-31 17:56:33 +00:00
uch
280ef43573
remove unneeded code and data.
2002-01-31 16:27:35 +00:00
uch
ff91f975fc
if RB_HALT is setted, don't load kernel.
2002-01-31 16:25:54 +00:00
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
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