agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
ichiro
208a93d254
fix dont reset register when every interrupt.
...
pointed by Shoichi Miyake port-arm/22392
2003-08-07 13:32:27 +00:00
soren
b22ef904f5
Enable ahd(4) by default. There are some problems with higher speeds /
...
packetized mode, but those can be disabled in the Adaptec BIOS setup.
2003-08-07 12:06:15 +00:00
scw
79f7012e02
Delete 'pf'.
...
NetBSD/evbsh5 will pick up the 'pf' entry from arch/sh5/conf/majors.sh5.
2003-08-07 11:57:48 +00:00
bouyer
7c840df334
Add esiop at pci to GENERIC which already have siop at pci.
...
esiop has been tested enouth now.
esiop not added to INSTALL kernels because of possible space constraint.
siop should be able to drive all adapters supported by esiop.
2003-08-06 12:32:03 +00:00
matt
c60f393ec5
Don't overwrite the value of DAR in r30. Use r31 instead.
2003-08-06 07:18:56 +00:00
bsh
fbf0aea004
add __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS to machine/types.h for
...
following ports:
acorn26, amiga, hpcarm, sparc, sparc64
This was proposed by Martin Husemann at teck-kern@ in May to properly
test whether softintr can be established for all IPL, or only for
IPL_SOFT*. OKed by acorn26, hpcarm and sparc port masters.
2003-08-06 00:43:53 +00:00
fredette
c7f2e26f8b
Bumped the version number to account for fixes in tapeboot.
2003-08-05 19:14:56 +00:00
fredette
100e6f3698
Added seek support for tape files. Before, seeking a tape file
...
would silently fail, causing loadfile to load file contents into
the wrong addresses.
On the sun3/sun3x, MARK_START was incorrectly set too. Also
added support for booting a sun2.
2003-08-05 19:10:26 +00:00
dsl
e33c0fa9eb
Dont need jmpl, ljmp or jmp is fine.
2003-08-05 15:14:49 +00:00
kanaoka
c5cef9cc94
- Use local variable instead of sc_Arg in softc.
...
- Use ACPI_ALLOCATE_BUFFER/AcpiOsFree combination instead of sc_Ret in softc.
Pointed out by kochi.
2003-08-05 14:24:45 +00:00
dsl
0be64684b7
Some bios manage to load the mbr code to 7c0:0 (instead of 0:7c00) especially
...
when loading from CDROM. Change so we don't care what %cs is.
Adjust code layout so that anyone who feels so inclinded can use this for
the mbr code. Note that mbr slot 0 overlays a data area that must be zero
when this is read from the pbr.
2003-08-05 13:41:52 +00:00
bsh
f2de581410
forgot to add copyright.
2003-08-05 11:44:28 +00:00
bsh
b5fd93af20
add and enable USB devices. I've so far tested floppy and CD-R drives,
...
mice, and smartmedia card readers.
2003-08-05 11:36:14 +00:00
bsh
4060e862f4
add s3c2xx0_bus_dma_init() which is called by s3c2410_attach().
...
add a variable wdcdebug_wd_mask for a temporary workaround to the link
error when umass is configured in SMDK2410 kernel. I'll re-visit this
later.
2003-08-05 11:32:35 +00:00
bsh
3245163bdf
support S3C2410's built-in USB host controller, which is OHCI
...
compliant.
2003-08-05 11:28:59 +00:00
bsh
0b5ec916cd
add busdma tag to s3c2xx0_softc and attach arg.
...
initialize busdma tag in s3c2410_attach()
2003-08-05 11:26:54 +00:00
bsh
3bf70b2edf
add s3c2xx0_busdma.c which is used to initialize bus dma tag.
2003-08-05 11:24:08 +00:00
simonb
20a37f9627
Note that the used interrupt bits are 405GP specific.
...
Fix a tyop.
2003-08-05 02:10:31 +00:00
matt
9254350d6a
Change bc x,y,z to their simplified mnemonics. During a kernel DSI fault,
...
if the exception address is < 1 page away from the KSP, switch to the that
CPU's spill stack to handle the trap. Otherwise you can get in a infinite
DSI fault loop.
2003-08-04 22:29:59 +00:00
matt
0e50e47bb9
Make that OEA based kernels can properly deal with kernel ISI faults. Now
...
that LKMs are supported, it is possible for a LKM page to be "outspilled"
resulting in a possible ISI fault. Try to spill the page back in.
2003-08-04 22:26:59 +00:00
drochner
a505528166
fix the last proc->lwp transition glitch
2003-08-04 18:43:38 +00:00
bsh
3410ad1777
various bug fixes. Now SMDK2410 evboard boots up to single user mode
...
using install ramdisk.
2003-08-04 12:41:44 +00:00
bsh
490a557f57
disable interrupts at the beginning.
2003-08-04 12:38:57 +00:00
bsh
3bcf928aaa
don't be too verbose unless VERBOSE_INIT_ARM is defined.
2003-08-04 12:37:43 +00:00
bsh
388f0338ac
option SSCOM_S3C2800 is needed for S3C2800 based platforms.
2003-08-04 12:35:51 +00:00
bsh
50c0756fc2
bit polarity of interrupt mask registers don't match between s3c2800
...
and s3c24[10]0. define macro s3c2xx0_update_hw_mask() for it.
2003-08-04 12:34:08 +00:00
bsh
950a49dffb
initialize global_intr_mask.
2003-08-04 12:31:12 +00:00
bsh
1df8bfd121
Samsung's S3C2800 and S3C24[10]0 CPUs have same built-in UART block,
...
but there are very small diffs in register definitions. For that, add
new options SSCOM_S3C{2800,2410,2400} and include appropriate
s3c*reg.h.
SSCOM_S3C2410 is also needed for interrupt controller differences.
2003-08-04 12:28:49 +00:00
bsh
b335250276
+ fix TCON register bit definitions. Thank you Samsung for stupid
...
register design.
+ add definitions for UART registers that are not compatible with
S3C2800's.
2003-08-04 12:19:38 +00:00
bsh
23ba082952
+ cleanup attach message.
...
+ use aprint_normal()
2003-08-04 12:09:19 +00:00
bsh
d10f592c16
fix comments.
2003-08-04 10:24:15 +00:00
dsl
0ca66aa416
mbr partition stuff isn't saved here (or anywhere else) anymore.
2003-08-04 10:09:10 +00:00
matt
9b7d071bab
Eliminate stmw/lmw substituting the individual load/store instructions.
...
Use more symbolic constants. These are now safe for use on PPC64.
2003-08-04 00:32:49 +00:00
matt
a4a468e215
Add SFRAME_USER_SR (even though the 4XX doesn't have one).
2003-08-04 00:30:51 +00:00
eeh
c07f47e182
The firmware actually passes the info block pointer in the link register.
2003-08-03 23:28:45 +00:00
eeh
f77f1feee5
Use %r<n> for register names.
2003-08-03 23:26:55 +00:00
matt
777589be9a
Add each register in trapframe, switchframe, and faultbuf.
2003-08-03 21:40:13 +00:00
matt
e3e80aa5d7
Add PPC_OEA64 and netbsd32_sigcode.S
2003-08-03 21:38:08 +00:00
matt
618c78b771
Don't use stmw. Do each store individually.
2003-08-03 21:27:49 +00:00
matt
42382e46c4
Add CPUSAVE_* and each register in the saveframe and faultbuf.
2003-08-03 21:26:27 +00:00
bsh
18fca6b097
an arg of s3c2800_clk_freq() has been changed to match with
...
s3c24x0_clk_freq().
2003-08-03 14:11:16 +00:00
lukem
64b5a0fe7b
Add INCSYMLINKS to <bsd.inc.mk> and <bsd.kinc.mk>, and use that instead of
...
SYMLINKS to install symlinked header files. INCSYMLINKS are installed with
'make includes'. This avoids using SYMLINKS and hacks with the 'linkinstall'
target in <bsd.links.mk>, as linksinstall occurs in 'make install' and hacks
to get it to occur in 'make includes' weren't robust, as seen in lib/libdes.
Yet more improvements to bsd.README.
2003-08-03 09:23:14 +00:00
uwe
85fb38b211
When passing &buffers to uvm_map, add a cast to (void *). Without it,
...
gcc3 with -O2 produces "dereferencing type-punned pointer will break
strict-aliasing rules" warning.
2003-08-03 00:01:44 +00:00
uwe
2b2ae88a13
Move the definition of enum hd64461video_display_mode out of the
...
definition of struct hd64461video_chip. Makes gcc3 happy.
2003-08-02 22:39:13 +00:00
uwe
f49836bca3
Add "break" to the empty "default" case.
...
Makes gcc3 happy.
2003-08-02 22:33:36 +00:00
matt
dd1c661661
Nuke stmreg/ldmreg. PPC64 doesn't have a lmd/stmd so make sure lmw/stmw
...
don't invoke valid instructions on PPC64.
2003-08-02 19:40:39 +00:00
matt
c9d56ac39d
Add symbolic offsets for what's in cpu save locations.
...
Add a PPC64 variant of mftb
2003-08-02 19:35:26 +00:00
matt
2f71595941
Make this compile with gcc3. Change kernel_pmap_store to array of struct
...
pmap instead of array u_long. A bit of space is wasted but it supresses
the -Wcast-align warning.
2003-08-02 19:10:04 +00:00
bjh21
6407c43a48
Descend into stand so boot32 gets built.
2003-08-02 17:57:35 +00:00