Commit Graph

50345 Commits

Author SHA1 Message Date
mjl
a9ec452d57 Add Corega PCCB-11, as per PR/14298 2001-10-20 15:31:25 +00:00
mjl
8e7e3408b5 Regen. 2001-10-20 15:29:04 +00:00
mjl
259caf9257 Add Corega PCCB-11, as per PR/14298 2001-10-20 15:28:45 +00:00
simonb
e1f5fbd944 Fix a tyop in a comment. 2001-10-20 13:47:09 +00:00
billc
5c078bc6e7 Total Impact BRIQ kernel config 2001-10-20 08:32:24 +00:00
billc
b3a54fcf2e just set MACHINE and include powerpc/param.h - non-NEWPMAP ofppc kernels boot now. 2001-10-20 08:27:12 +00:00
billc
60a9daa74c Get check for CPU type right. 2001-10-20 08:23:49 +00:00
billc
c67bf6b4de Fix cpu check to actually work. 2001-10-20 08:22:58 +00:00
billc
c22d12260d update for NEWPMAP 2001-10-20 08:22:29 +00:00
billc
0b357f290a FCS check and padding for minimum size Ethernet packet 2001-10-20 08:19:47 +00:00
jmc
51e607ae23 Add nb_progname so this will compile on older NetBSD systems that will be
upgrading to -current via the new toolchain build process eventually.
2001-10-20 06:14:30 +00:00
simonb
d9e75e198e Fix typo in mmap hander. 2001-10-20 05:56:35 +00:00
matt
bd61b6ad50 Make tcp_outflags & tcpstates const. 2001-10-20 03:19:41 +00:00
matt
fa2b333dc7 Make the two MTU tables const and change their type to u_int (one was int
and one was u_long!).
2001-10-20 03:18:17 +00:00
fvdl
cbc00e701a Until early last year, the i386 port had 256M of kvm, and the max.
amount of kvm used for buffers was set at 70%, some 188M. Then
the total amount of kvm became 1G, and the amount for buffers
thus became some 716M. This is really too much, and some
device drivers want to map quite a bit of kvm these days.

So, cap it at 384M, which gives each buffer a little over 8k (the
default FFS blocksize) physical in an 1G physram configuration.
2001-10-20 00:17:47 +00:00
uch
ce86c1446b increase maxusers (8->16) 2001-10-19 17:17:19 +00:00
scw
f6e6d32172 Use the entry-point returned from the first call to loadfile()
instead of the one from the second call (which has a non-zero
offset included in it).

Fixes port-mvme68k/14292 from Ken Seefried.
2001-10-19 17:09:16 +00:00
nathanw
48bdb0d067 Match printers that report their interface as IEEE 1284 in addition to
bidirectional.
2001-10-19 15:30:25 +00:00
shin
003fcedca1 cosmetic change. 2001-10-19 05:47:40 +00:00
itojun
07b78861d0 sync with kame:
fixed the value of the prefixlen in the sadb_address structure.
when pfkey message relative to SA is sent, the prefixlen was incorrect.
2001-10-19 01:57:20 +00:00
bjh21
3506931511 Make sure that PT_STEP is defined for userland, even though we don't
support it in the kernel yet.  If we don't do this, GDB arbitrarily
assumes we wanted it to be 9, which is silly.

In the kernel, leave it undefined so that sys_process.c doesn't
generate code for it.
2001-10-19 00:18:20 +00:00
phil
ff3d710817 Sharks run coda just fine. Get it here so it is easy to recompile
a kernel with coda support.
2001-10-19 00:12:24 +00:00
eeh
3def251af0 Disable __PCI_DEV_FUNCORDER since it's now badly borken. 2001-10-18 23:47:16 +00:00
bjh21
4cc9dbf11c When dumping debugging information on a fault, don't disassemble at the PC
if that was where the fault happened.  This should make it possible to
continue after prefetch aborts.
2001-10-18 22:53:39 +00:00
eeh
6272e8b2ef Implement bus_space_mmap(). 2001-10-18 22:25:31 +00:00
matt
1ebf8505b2 Add ETHERTYPEs for MPLS (Unicast & Multicast). 2001-10-18 21:29:19 +00:00
bjh21
d3d2d8bdd7 Recognize GDB's default breakpoint instruction (as of GDB 5.0), in addition to
the instruction we used with GDB 4.x.  The new instruction has the advantage
of fitting the pattern that ARM recommend using for instructions that need to
stay undefined.
2001-10-18 21:26:21 +00:00
thorpej
e45efd967f Deprecate the "m_act" alias of "m_nextpkt" (m_act is a historical
name), and just use m_nextpkt everywhere.
2001-10-18 20:17:24 +00:00
jdolecek
d9e921bd84 Fix obviously wrong printf() format in pci_intr_establish() failure case.
Pointed out by Chuck Silvers.
XXX This has compiled without a warning for me - what's up?

Add sc->sc_dev.dv_xname in another failure printf()
2001-10-18 19:15:38 +00:00
jdolecek
a8fcba2901 Fix compilation on Alpha with ARP_DEBUG.
Fixes kern/6440 by R. C. Dowdeswell
2001-10-18 19:00:38 +00:00
rearnsha
81fc80144a Add a comment describing the logic implemented by pmap_vac_me_harder. 2001-10-18 18:15:56 +00:00
jdolecek
d520fe96ee add emuxki 2001-10-18 17:45:15 +00:00
uch
6d5ecdc1dd add playstation2 port 2001-10-18 17:38:36 +00:00
rearnsha
b5a8c6922a On processors that support both write-through and write-back cacheing
(eg ARM920), the mode in which the processor operates is governed by
the use of both the PT_C and PT_B bits:

	PT_C=1,PT_B=1 -> Write-back
	PT_C=1,PT_B=0 -> Write-through

To support this define pte_cache_mode (initialized to PT_C|PT_B) and
use that when enabling cacheing for a page.
2001-10-18 17:06:14 +00:00
rearnsha
7de86d9ccd With a diagnostic kernel, printing out a message each time we fail
to allocate a L1 pt is often enough to bring the system to its knees:
so make the messages PDEBUG(0,...).

However, even with this step having more than a small number of
processes searching for a L1 pt can still be enough to bring the system
down, since they all run at high priority and sleep for very little time,
thus blocking out user code from completing.  So implement an exponential
backoff when waiting for a page table, so that we don't hog the CPU when
memory is scarce.

Tested by running a make of the C compiler with "gnumake -j30" (and plenty
of swap space).
2001-10-18 16:50:30 +00:00
rearnsha
d447073383 Fix pmap_vac_me_harder to take into account pages that are mapped
into both kernel and user space.

Fixes port-arm32/13998.
2001-10-18 16:32:40 +00:00
uch
a6952fe242 add device name used by playstation2 (gsfb, sbus, smap, spd) 2001-10-18 16:18:45 +00:00
wiz
7c90b959da Fix check in device open.
Patch by KUROSAWA Takahiro in kern/14289.
2001-10-18 16:08:05 +00:00
uch
448082e1e0 remove conf.h from install header list. 2001-10-18 15:41:15 +00:00
rearnsha
bc8cd3375d Support for ARM9. 2001-10-18 15:19:58 +00:00
thorpej
5d51f988c6 Yet more cruft removal. 2001-10-18 15:19:21 +00:00
thorpej
62577b1c53 Remove more cruft left over from copying bits of other drivers. 2001-10-18 15:09:15 +00:00
rearnsha
c14090e8fa Add support calls for ARM9.
Where ARM9, StrongARM and XScale share the same function, rename it
as armv4_XXX.
2001-10-18 14:10:07 +00:00
rearnsha
0dbc5bbfab Add CPU_ARM9 to opt_cputypes.h 2001-10-18 14:03:43 +00:00
uwe
bfa2f82c18 Minor cleanup. Garbage-collect unused declaration of comsoft() now
that sparc has generic soft interrupts.  In softnet() - return
immediately if netisr is zero.
2001-10-18 12:32:25 +00:00
rearnsha
520fd8e5d8 Use 'p15' consistently in all mcr and mrc instructions.
Fix warnings in stm/ldm instructions of get_pc_str_offset.
2001-10-18 10:30:34 +00:00
rearnsha
2c48187673 Don't unmap page 0 when preparing to swap out a process. If the pmap
is shared with another process (as can happen if vfork is being used),
then that other process will end up not having a page 0, which is bad
news indeed, since then there is no way back into the kernel.

Found this using a multi-ice box, so they are useful after all!

This seems to fix pr port-arm32/11921 and (possibly) kern/9859.
2001-10-18 09:26:08 +00:00
itojun
68fbfa26e8 gather stats on raw ip6 socket. sync with kame 2001-10-18 09:12:13 +00:00
itojun
51a9c75998 simplify per-if stats. 2001-10-18 09:09:25 +00:00
itojun
ae5499819c reduce diffs with kame (mostly cosmetic).
move IPV6_CHECKSUM processing to sys/netinet6/raw_ip6.c.
constify a couple of places.
2001-10-18 07:44:33 +00:00