tsutsui
109624a869
Fix a bug in isabr_dti_intr_status(), as per "re-look this" comment.
...
Now Tyne boots into single user (though it's still unstable). Woohoo!
2003-06-14 21:10:20 +00:00
thorpej
0ab88570d0
Use CPUFLAGS rather than COPTS to pass -mcpu=xscale.
2003-06-14 19:32:54 +00:00
uwe
d5e8f76b23
Use CPUFLAGS instead of COPTS.
2003-06-14 19:15:38 +00:00
tsutsui
ddeb889ae9
Add a file definition for isapnp.
2003-06-14 19:14:52 +00:00
tsutsui
5c69b73566
Set intrtype[] properly.
...
XXX ISA interrupts on Tyne does not work yet.
2003-06-14 19:13:42 +00:00
tsutsui
afa910a4ed
Add isa_intr_alloc() for isapnp support.
2003-06-14 19:11:40 +00:00
uwe
1b5c2a3f18
The igsfb(4) can now be used as console so delete the XXX comment that
...
says it cannot.
Add commented out options that give an example of how to force serial
console.
2003-06-14 18:59:25 +00:00
uwe
c275928799
wscons as console support.
...
XXX: the way we pre-map memory for igsfb(4) is kludgy.
2003-06-14 18:57:38 +00:00
uwe
9feee6d724
Add PCKBC_CNATTACH_SELFTEST option.
2003-06-14 18:54:57 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
tsutsui
ffe3f2629c
Bump SYMTAB_SPACE to 194000.
2003-06-14 16:28:32 +00:00
tsutsui
17418f8476
Allow user pmap to pmap_enter device (bus-space) memory.
2003-06-14 16:27:36 +00:00
thorpej
5ae120da7b
Introduce a new "type" field in the softc which is used to indicate
...
the general UART type. Currently, we have "normal", "hayesp" and
"pxa2x0" types. Replace the corresponding hw flags with the new type
values.
2003-06-14 16:25:52 +00:00
tsutsui
fee6ce1d9f
Fix lack of parentheses bug which causes wrong pte settings.
2003-06-14 16:21:31 +00:00
tsutsui
0cd4c10ed3
Make this compile with no scsibus.
2003-06-14 16:18:30 +00:00
tsutsui
b201874a74
Add kloader (in-kernel kernel bootloader) support written by
...
UCHIYAMA Yasushi (uch@netbsd).
XXX Some of these code should be moved into MI place to share
XXX between other ports.
2003-06-14 16:15:16 +00:00
tsutsui
cead6ab903
mmap(2) function on sh3 should return page number, not physical address.
2003-06-14 16:08:09 +00:00
tsutsui
fdcf304c05
Set LINKFORMAT=-N.
...
ARCBIOS on Tyne can recognize only ECOFF with OMAGIC header.
XXX The real fix is implementing native bootloader.
2003-06-14 09:55:10 +00:00
tsutsui
d096df8f90
Fix CPU clock for Tyne. It has 133MHz R4600.
2003-06-14 08:11:56 +00:00
tsutsui
27ad3392b9
Change DESKstation -> DeskStation, as per spelling on the Tyne board.
2003-06-14 08:09:47 +00:00
tsutsui
3baa558986
Rewrite arc/isa/isapnp_machdep.c (based on i386).
...
It seems no one tried the previous code.
2003-06-14 07:58:16 +00:00
tsutsui
e1c1a8283d
Add missed "\n" in attach message.
2003-06-14 02:57:03 +00:00
tsutsui
f215f507a2
Don't enable both pc0 and vga0 at isa.
2003-06-14 02:40:42 +00:00
uwe
b736b5d450
Drop __P(). Drop redundant prototypes that we either don't need or
...
get from <arm/arm32/machdep.h> anyway. Consistently use ANSI style
function definitions (most functions already were in ANSI style).
Generated object file is not changed.
2003-06-13 12:30:04 +00:00
abs
a16551d502
Correctly escape newlines in a string - now can be compiled under gcc3
2003-06-13 10:56:41 +00:00
simonb
67417f64a8
Sprinkle some TABs to line up the columns in the cputab models array.
2003-06-13 04:29:39 +00:00
msaitoh
6f197c635e
Add support IBM 405GPr
2003-06-13 04:05:26 +00:00
petrov
49d4047a8f
Pick up from OpenBSD:
...
The sab driver sometimes gets out of sync with the hardware. This can
cause the serial console to hang.
2003-06-13 01:33:32 +00:00
scw
d984534d7f
The GT is always host on both PCI busses.
2003-06-12 19:21:09 +00:00
drochner
0256604827
nuke unnecessary #include <sys/dkstat.h>
2003-06-12 14:44:36 +00:00
simonb
e02e7ca6de
Consistency nit- always use "#if defined(foo)" for checking MIPSn.
2003-06-12 14:35:56 +00:00
scw
e05ce46e3e
Oops, delete an accidentally committed local change.
2003-06-12 08:47:21 +00:00
scw
0328210bcc
Allow <machine/bus.h> to override the definition of BUS_DMA_COHERENT.
...
For example, machine-dependent code can make it equivalent to
BUS_DMA_NOCACHE if the hardware cannot reliably snoop the bus.
2003-06-12 08:43:07 +00:00
scw
b4e18ad59c
Back out the last change after consultation with Matt Thomas. It hurts
...
platforms with fully functional bus snooping.
2003-06-12 08:30:41 +00:00
scw
afe2393675
In _bus_dmamem_map(), make BUS_DMA_COHERENT behave the same way as
...
BUS_DMA_NOCACHE.
2003-06-12 07:32:28 +00:00
uwe
69a7063772
In initarm() turn the LED yellow at the beginning, green at the end.
...
Rewrite netwinder_restart to be self-contained, when it runs the MMU
is disabled. Set cpu_reset_address to the physical address of
netwinder_restart, not virtual.
2003-06-12 02:41:32 +00:00
petrov
7c89964036
Use cdevsw_lookup_major.
2003-06-11 22:51:03 +00:00
petrov
175f7ab29d
Comment out debug output.
2003-06-11 22:50:12 +00:00
uwe
8580b490b0
Avoid using SIZEOF to compute output section LMAs, it doesn't mix well
...
with orphaned sections like link_set_*. Per discussion with Jason
Thorpe <thorpej@netbsd> on tech-toolchain.
Addresses kern/21844.
2003-06-11 21:49:40 +00:00
fvdl
4812bbf71f
Avoid bad free() calls for failed allocations. From enami.
2003-06-11 21:36:49 +00:00
scw
e9bb3437d0
- Correct a couple of comments.
...
- Set AC97_MODR to the right value.
- Add AC97_FEFIE.
2003-06-11 20:43:01 +00:00
manu
e4fbe87208
Add COMPAT_DARWIN, and comment out anything related to it. It is too
...
much experimental to be included into GENERIC kernels.
2003-06-11 16:24:13 +00:00
simonb
f1f77c261e
Don't use "return;" as last statement of a void function.
2003-06-11 15:27:57 +00:00
hamajima
0659c2f915
Support the PowerBook G4 12-inch (and maybe 17-inch).
...
Kauai ATA, new obio chip, and Japanese keymap for WSDISPLAY_COMPAT_RAWKBD
I tested only 12-inch Japanese model.
2003-06-11 07:35:39 +00:00
simonb
9e9abd6653
Change MIPS3_SR_FR_32 to MIPS3_SR_FR. Both the old R4000 manual and the
...
current MIPS64 manuals don't use the "32" in the bit name.
2003-06-10 06:42:06 +00:00
simonb
789329a94f
Remove definitions and usage of MIPS_COP_0_STATUS_REG and
...
MIPS_COP_0_CAUSE_REG - use MIPS_COP_0_STATUS and MIPS_COP_0_CAUSE
instead.
2003-06-09 12:20:37 +00:00
simonb
519e8df6a1
Don't use magic numbers in asm code (use MIPS_COP_0_STATUS instead
...
of "12").
2003-06-09 07:46:20 +00:00
reinoud
9af716fd9a
Make smbfs work on NetBSD/acorn32 ! it missed an entry in majors.acorn32
...
and an entry in the MAKEDEV
2003-06-08 20:12:33 +00:00
scw
12b4852056
Gah, fix previous. s/defopt/defflag/
2003-06-06 19:56:59 +00:00
scw
84f125b78d
Modify db_{read,write}_bytes() to do a single 16- or 32-bit read/write if
...
'size' is 2 or 4 respectively.
This makes reading/writing hardware registers work as expected in all cases.
2003-06-06 10:07:07 +00:00