Commit Graph

35910 Commits

Author SHA1 Message Date
simonb
91dc378d5c Hardwire physmem to 32MB if not called from CFE.
This should be a kernel config option, but for now is enough to get
a sbmips GENERIC kernel running under a simulator.
2003-07-06 12:14:50 +00:00
tron
896fd5c944 Add hardware random number generator support for Intel 865 and
875P chipsets.
2003-07-06 07:24:31 +00:00
kochi
9ab543513d o cleanup usage of ACPI_ACTIVATE_DEV/ACPI_PCI_FIXUP
o delete usage of ENABLE_DEBUGGER

As ACPI_ACTIVATE_DEV/ACPI_PCI_FIXUP are defflag'ed in files.acpi,
these options don't have to have a value.
2003-07-06 04:03:21 +00:00
tsutsui
6615ddefa9 Rename some MI mb89352 functions for consistency:
spcintr() -> spc_intr()
 spcattach() -> spc_attach()
2003-07-05 19:00:16 +00:00
tsutsui
3b48b7c661 Rename functions to avoid namespace conflicts:
spc_match() -> spc_mainbus_match()
 spc_attach() -> spc_mainbus_attach()
2003-07-05 18:43:11 +00:00
tsutsui
ae2b6b31a0 Add some missing register prefixes. 2003-07-05 18:40:31 +00:00
tsutsui
acc15558d0 Some cosmetics on bus_space_tag_t initialization. 2003-07-05 16:57:04 +00:00
simonb
aa57e31a39 Make mptrap.o depend on assym.h; fixes GENERIC.MP -j N kernel build. 2003-07-05 16:56:10 +00:00
tsutsui
f60951ffdb Initialize bus_space_tag in rtc_softc properly in rtcattch(). 2003-07-05 16:48:12 +00:00
tsutsui
2dcba30bb6 cosmetics 2003-07-05 16:21:17 +00:00
dogcow
ccd442eae3 gcc 3.2 complained about the missing __volatile and extra tokens after #endif. 2003-07-05 06:53:08 +00:00
simonb
beadae28a9 Add some dependancies on assym.h; helps "make -j N" kernel builds. 2003-07-04 03:48:01 +00:00
thorpej
1656a492ee Set the mac-addr property of the on-chip emac device. 2003-07-04 02:35:38 +00:00
thorpej
d00b22d0e7 Consult the "mac-addr" property associated with the emac device in
the dev_propdb rather than referencing board_data.
2003-07-04 02:34:47 +00:00
thorpej
d796e65ef5 Use device_register() to set the "frequency" property on the UART. 2003-07-04 02:21:50 +00:00
thorpej
5b7c5eadea Consult the "frequency" property associated with the device in the
dev_propdb, rather than using "board_info".
2003-07-04 02:21:02 +00:00
thorpej
1a4648d9ad Add device_register(). 2003-07-04 01:59:19 +00:00
thorpej
d876aa082a Nuke the "alchemy_info" stuff, and just use the dev_propdb to set
the mac-addr property for the Au1x00 on-chip MACs.
2003-07-04 01:19:58 +00:00
thorpej
69d5b64f8a Do an splhigh() before doing splserial(), in the event that
serial isn't actually higher than high.
2003-07-04 00:37:23 +00:00
thorpej
483fad3a3b Use splserial() instead of splhigh() to block interrupt during
autoconfiguration.  XXX We really need an splextreme() for when
we really mean "block everything".
2003-07-04 00:34:48 +00:00
thorpej
5432dacfcb Provide a hook for board-specific code to register a device_register()
function.
2003-07-04 00:33:20 +00:00
christos
76da28320e use the real linux_rt_sigreturn. 2003-07-03 21:25:45 +00:00
rjs
9c1d55b97c Fix uninitialized variable. 2003-07-03 13:19:30 +00:00
scw
b8b2b1d895 Fix resident page accounting for the kernel pmap. 2003-07-03 13:18:42 +00:00
dsl
48046920d6 Fix copyright - it got mangled earlier.
Added a mention of Wolfgang Solfrank - there are probably only comments left
from the much older mbr.S that he contributed.
(Wolfgang pointed out the mangled copyright, but doesn't object to the removal
of the Tools GmbH one.)
2003-07-02 14:35:51 +00:00
ichiro
c2cac1cbd8 add sdram configration register 2003-07-02 14:03:52 +00:00
kanaoka
63ffb11606 - Cleanup usage of ACPI_ALLOCATE_BUFFER/AcpiOsFree combination.
Patch from kochi.
2003-07-02 13:18:17 +00:00
ichiro
38e0b1c5c5 use struct pmap_devmap 2003-07-02 11:02:28 +00:00
ichiro
25096a1afe backout to recent changes w/o lwp changes 2003-07-02 10:40:46 +00:00
kanaoka
88acff6621 - Remove unneed include file. 2003-07-01 20:24:46 +00:00
simonb
ad51219ae3 Make this work without a populated destdir:
machine and x86 symlinks.
 Include from right places.
 Don't depend on LIBCRT0,etc.

Also for the bootxx programs, keep the ELF object during the build
process.
2003-07-01 13:36:59 +00:00
uwe
66a03d56d3 Correct the macro name for SCP0DT bit.
Addresses port-sh3/22025 by FURUKAWA Masashi.
2003-07-01 11:49:37 +00:00
thorpej
221d313d7c Allow SOURCES to be overridden. 2003-06-30 17:54:06 +00:00
thorpej
22c08fe417 PCI-X requires that that devices updated their PCIXSR on every
config write with the device number specified in AD[15:11].  If
we don't set this field when issuing a Type 0 cycle, each device
could end of thinking it is at device 0, which can cause a number
of problems.  Doing this unconditionally should be OK when only
PCI devices are present.
2003-06-30 15:27:12 +00:00
thorpej
b4031f0a49 Go to splhigh() before doing autoconfiguration. 2003-06-30 15:17:11 +00:00
simonb
1534c8822e ANSIfy, KNF. 2003-06-30 13:39:36 +00:00
fvdl
d5aece61d6 Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
aymeric
baf9a7e65c Do not use RELOC() after the MMU is enabled.
Move the two assignments that were made after the MMU is on, before.

From Gunther Nikl on port-amiga@. Thanks!
2003-06-29 18:41:47 +00:00
martin
f73e5a517d #ifdef _KERNEL_OPT police 2003-06-29 18:11:14 +00:00
thorpej
f4fff81d3a Adapt to ktrace/lwp changes. 2003-06-29 15:49:49 +00:00
thorpej
e3165e7ebd Adapt to ktrace/lwp changes. 2003-06-29 15:27:59 +00:00
simonb
b8aadd3696 Only one function is this file wasn't ANSIfied, convert it. 2003-06-29 15:17:40 +00:00
simonb
2bda3187f5 Fix 'struct lwp *' lossage. 2003-06-29 15:14:11 +00:00
chris
6721e83cfc Fixes to get cats build going following proc to lwp changes. 2003-06-29 14:51:04 +00:00
martin
69cd0c4a54 struct proc * -> struct lwp * 2003-06-29 13:33:51 +00:00
simonb
9e8290fbee Use the com softc enabled/disable hooks instead of directly frobbing
Au1x00 registers in com_attach_subr().  Suggested by Jason Thorpe and
tested on both console and extra serial ports.
2003-06-29 13:18:24 +00:00
simonb
261417ff31 Fix 'struct lwp *' lossage. 2003-06-29 12:34:55 +00:00
simonb
33187ba9d0 Show current PC in an panic message. 2003-06-29 12:21:32 +00:00
simonb
6939feda9f KNF nit (parentheses around return value). 2003-06-29 12:20:19 +00:00
simonb
a810cb3990 Don't use "extern" with functions. 2003-06-29 11:32:11 +00:00