matt
c894ddaec1
Print more useful messages on kernel ALI or PGM traps.
2003-03-14 05:32:27 +00:00
matt
0c29e154e3
Use __asm & __volatile to make lint(1) happy.
2003-03-13 17:30:38 +00:00
matt
8344279675
Synchronize macppc and evbppc majors when possible. Add a lot of missing
...
devices to evbppc.
2003-03-13 17:02:52 +00:00
drochner
6b8fef6400
cleanup, delete declarations now in libsa/iodesc.h
2003-03-13 16:02:39 +00:00
drochner
66a5580c6e
Remove remaining uses of libsa/netif -- the "netif" structure was only
...
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 15:36:06 +00:00
hannken
42cc9f8839
Add wscons to MAKEDEV. Add wsfont major number.
2003-03-13 14:56:56 +00:00
drochner
6e14bfebea
Remove remaining uses of libsa/netif -- the "netif" structure was only
...
used to lookup a "struct romdev", everything else was ballast.
Do it straightforward now and assign the romdev directly to io_netif.
2003-03-13 14:49:12 +00:00
scw
bfca0494bd
Try to configure all children of cprc0, not just clock.
2003-03-13 14:37:36 +00:00
drochner
7d2a35f773
kill the last use of NENTS
...
(We shouldn't use libsa/netif here at all.)
2003-03-13 14:15:58 +00:00
drochner
a15dcfdce7
Avoid conflict with sockets[] definition in net.h
...
and add some typecasts.
Thanks to Juergen Hannken-Illjes for compile-checking.
2003-03-13 14:05:53 +00:00
drochner
20b8952600
cope with removal of this sick NENTS macro from libsa/netif.h
2003-03-13 13:59:11 +00:00
drochner
e537123c66
cope with changes to libsa/netif.h
...
(This shouldn't use libsa/netif at all.)
2003-03-13 13:55:24 +00:00
tsutsui
9053a4f127
NEC RISCstation 2200 (NEC-R94) doesn't have the secondary SCSI,
...
so prepare struct pica_dev for R94 in p_nec_r94.c to handle its quirk.
The problem was reported by David Hopper on port-arc.
XXX We should use ARC BIOS to get info of these devices.
2003-03-13 13:52:09 +00:00
scw
d4f824014d
A bunch of things:
...
- Clean up the way cpu-specific tlb/cache functions are configured
and used.
- Add a workaround for a problem whereby cpu* at superhyway? fails
to probe.
- Print more info about the cpu/cache.
- Move the RESVEC handlers back into generic sh5 code and ditch
the panic stack hack.
- Make the on-chip SCIF device the default console on Cayman.
- Add experimental support for booting via a standalone bootstrap
program (not yet committed) and using the boot parameters passed
in by it.
- Add a few more SH elf constants.
- Tick a couple of items off the TODO list.
2003-03-13 13:44:16 +00:00
drochner
caa65123a8
cope with removal of this sick NENTS macro from libsa/netif.h
2003-03-13 13:35:55 +00:00
scw
31b3a7c37f
In scif_getc(), check SCIF_SCFSR2_RDF in addition to SCIF_SCFSR2_DR to
...
detect waiting Rx data. This fixes an occasional console lockup when
when pasting text at the ddb prompt.
2003-03-13 13:19:01 +00:00
drochner
e7bde1e9c7
adapt for void *io_netif
2003-03-13 12:44:48 +00:00
drochner
47fe380b4c
make netif_close() return value void
...
fix prototype
2003-03-13 12:15:31 +00:00
hannken
f2746edc5b
Explicit cast for netif.
...
Approved by: Matthias Drochner <drochner@netbsd.org>
2003-03-13 12:02:54 +00:00
drochner
e5cc00b939
Remove remaining uses of libsa/netif -- the "netif" structure was only
...
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 11:35:54 +00:00
simonb
3c7ff59b5b
Sprinkle some "volatile"; fixes problems with the {read,write}_{1,2}
...
functions big-endian Au1xxx CPUs.
2003-03-13 03:04:13 +00:00
drochner
9b72b507ef
-use our own netif layer
...
-call the pxe unload function only on close(), not on open() errors,
so we have a chance to retry
-remove some remaining references to NFS
2003-03-12 17:35:57 +00:00
drochner
168322ea77
kick out mi libsa/netif.c references
2003-03-12 17:33:55 +00:00
drochner
542ccfb0d5
Kick out the netif layer from mi libsa and implement an own, smaller, one
...
(we really don't need to support multiple interfaces)
Also arrange things so that we are able to unload the PXE stacks only
when we are sure that we don't need them anymore. (To make this more
useful, a hook in exec() is needed.
2003-03-12 17:33:10 +00:00
drochner
1ebc8c2dbd
cleanup:
...
-update comments
-remove remaining references to "bootparam"
-don't try to interpret extra arguments to net_open() - we
get only passed a NULL anyway (see devopen.c)
2003-03-12 13:15:08 +00:00
drochner
c693137139
sync with mi libsa/nfs.c (with the intent to replace it eventually):
...
-kill "register" attributes
-obey "LIBSA_NO_TWIDDLE"
-ignore leading "/" also in the NFS_NOSYMLINK case
2003-03-12 12:23:06 +00:00
jdc
cc782e8a7e
Make this compile with only SUN4 defined.
2003-03-12 07:51:00 +00:00
matt
cd26de2684
Same code exists in both halves in #ifdef/#else/#endif. move it outside.
2003-03-12 06:00:36 +00:00
thorpej
7d8f167f16
Split bus_space and bus_dma into separate files.
2003-03-12 00:09:51 +00:00
martin
717651ac94
Band aid - the infamous dcache_flush_page change independently suggested
...
by Andrey Petrov and Jason Thorpje (AFAIK).
This is a hack that covers some symptoms while we have no idea where
the real problem is. Anyway, since this avoids random data corruption
we better be safe and have this in-tree until the problem is solved the
right way.
2003-03-11 21:28:23 +00:00
drochner
a82c138b1c
If we get passed a filename (from the command line or default "netbsd"),
...
pass it to the BOOTP server in the "filename" field.
(as the "netboot" bootROMs already did)
So the user can easily switch between different kernels/configurations.
2003-03-11 18:32:59 +00:00
drochner
dd15fa8102
Fix bug in readudp(): we have to return the correct length
...
of the received packet to the caller.
TFTP works now.
2003-03-11 18:29:00 +00:00
drochner
df62259ae1
kick out RARP/bootparam - PXE uses BOOTP anyway
2003-03-11 16:30:02 +00:00
drochner
ff28ac27ec
use our own NFS fs implementation, which is smaller, does a better job
...
in error reporting and coexists with the TFTP fs
2003-03-11 15:01:51 +00:00
drochner
8e04272b51
add prototypes for local functions
2003-03-11 14:38:45 +00:00
dsl
f8f0dcfd17
Need .code32 after real_to_prot (not .code16)
2003-03-11 12:37:35 +00:00
drochner
a6fda7bcfb
create a symlink so that eg <x86/trap.h> is found
2003-03-11 11:03:23 +00:00
hannken
249e0067fe
Add a port to the NCD Explora451 ThinClient.
...
- Supported devices: le, com, lpt, pckbd, frame buffer.
- Support missing: phy, audio, pcmcia.
- Boots from network or md.
Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:57:54 +00:00
hannken
44b1e07ec9
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
...
- different set of device control registers.
- non-standard access to the time base.
- 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:40:15 +00:00
tsutsui
f86b0e1741
In tlb_exception(), don't panic immediately on access at va == 0
...
from kernel mode if fault hander is set.
2003-03-09 16:14:29 +00:00
he
1565f9401d
Remove remnants of support for console on ite, since the ite device
...
driver is no more.
2003-03-09 13:59:56 +00:00
mrg
60b9080da3
don't depend on "../../../../../gnu/dist/toolchain/include/coff/rs6000.h".
2003-03-09 00:39:10 +00:00
dsl
8a6f95626f
Avoid pulling strncpy() into minimal boot code
2003-03-08 21:30:59 +00:00
dsl
ef18027d4d
Don't trust %bp to point to same place in real and protected modes.
...
prot_to_real preserves %ebp but changes %ss and %sp.
(ok if real %ss is offset n*64k from protected %ss - which it has been)
2003-03-08 21:09:37 +00:00
he
b648593b37
Initialize the two new members of "struct consdev" to NULL, so that
...
this file compiles again.
2003-03-08 10:59:02 +00:00
he
34c6df3404
Initialize the two new members of "struct consdev" to NULL so that
...
this file compiles again.
2003-03-08 09:47:13 +00:00
he
0f55132c91
Initialize the two new members of "struct console" to NULL so that
...
this file compiles again.
2003-03-08 09:42:56 +00:00
rafal
67cca2386c
Protect uses of MIPS_R5000 with #ifndef ENABLE_MIPS_R3NKK in new code just
...
as the old code does.
2003-03-08 05:18:25 +00:00
rafal
33fcc94c6f
Add support for R5k secondary caches, from code Chris Sekiya sent me a long
...
time ago, with small tweaks by me. Since the R5k doesn't do VCE, the pmap
still needs to be whacked for R5kSC CPUs to work correctly, but this is a
start.
2003-03-08 04:43:24 +00:00
tsutsui
12a8e27857
Remove .pdr section which is created by binutils-2.13.2.1
...
on objcopy call to make ECOFF kernels.
2003-03-08 02:58:55 +00:00