Commit Graph

120695 Commits

Author SHA1 Message Date
matt
12836072a9 <sys/cdefs.h> is a NetBSD'ism. Protect it with #ifdef __NetBSD__ 2003-11-12 02:08:11 +00:00
matt
b91abd5ac8 Don't use _PATH_UNIX on non-NetBSD hosts. 2003-11-12 01:24:15 +00:00
manu
40a3558468 mach_msg_ool_ports_descriptor_t describe a memory region containing
an array of mach_port_name_t, not mach_msg_port_descriptor_t.
2003-11-12 00:00:28 +00:00
fvdl
9d4e217e09 From FreeBSD:
* erratum: disable the nocrc RX bit, as it may cause problems on the 570{1-4}.
  adjust the length of the incoming packet accordingly to trim it.
* the 5704 has a smaller MBUF_POOL, so set a smaller value

Local change:
* Pass the autoneg force flag to mii_attach. Some PHYs need to be kicked
  out of their falsely autoneged 10baseT state with this.
2003-11-11 22:28:58 +00:00
drochner
ca3116d2f1 in_ifaddr -> in_ifaddrhead
use TAILQ_FOREACH macro
2003-11-11 21:41:11 +00:00
enami
67b61c37a8 Prevent mkdep from parsing compiler flags like -pipe. 2003-11-11 21:26:53 +00:00
drochner
14332cf998 fix interface address list traversal in if_detach():
The code was assuming that interface addresses are removed one-by-one.
With IPv6 and multicasts, removal of one address can remove other
addresses as side effect, which caused accesses of free()d memory.
2003-11-11 20:33:46 +00:00
jonathan
79bf8521a5 Change global head-of-local-IP-address list from in_ifaddr to
in_ifaddrhead. Recent changes in struct names caused a namespace
collision in fast-ipsec, which are most cleanly fixed by using
"in_ifaddrhead" as the listhead name.
2003-11-11 20:25:26 +00:00
simonb
dc7f22dd3e Need weak aliases here. 2003-11-11 19:18:14 +00:00
simonb
7239f40663 Add #ifdef __weak_alias around use of __weak_alias. 2003-11-11 19:10:02 +00:00
simonb
faf6ed6d51 Fix tyop. 2003-11-11 18:29:58 +00:00
manu
b6b7d129a1 Added mach_thread_set_state 2003-11-11 18:12:40 +00:00
manu
a2bed85761 Implement mach_thread_get_state.
While we are here, try to tag machine dependent functions in header files.
also transformed darwin_ppc_*_state into mach_ppc_*_state, as this is
what they really are (COMPAT_DARWIN is on the top of COMPAT_MACH, not the
other way around)
2003-11-11 17:31:59 +00:00
dsl
5815f1a577 Line up 'Command' and 'Status' strings,
ensure command text doesn't overflow line.
2003-11-11 17:27:13 +00:00
manu
95cc30edca Correctly implement task_suspend and task_resume: the struct proc is
taked from mp->mp_data.
2003-11-11 17:26:32 +00:00
dsl
6a3a05223d Use [*] to match an explicit '*' in shell pattern matches. 2003-11-11 17:25:45 +00:00
martin
4b0b317837 Remove unused variables. 2003-11-11 16:28:59 +00:00
martin
6354cf63d2 Fix register offset calculations. From Christian Limpach. 2003-11-11 16:24:23 +00:00
martin
3e8ef3d56a Fix ucontext conversion macros. From Christian Limpach. 2003-11-11 16:21:05 +00:00
pk
bb69a241e8 Remove ancient DDB-dependent `hide/integrate'.
Simplify lewrcsr/lerdcsr; read-back after write doesn't hurt on sun4 so
skip the cpu type test in generic kernels.
2003-11-11 15:01:05 +00:00
manu
6961fe8c08 Fix an unitialized variable bug that caused a crash in mach_task_suspend().
While we are there, resolved another mystery: the unallocated port described
in the comment removed by this commit was in fact allocated by mach_task_pid().
2003-11-11 15:00:09 +00:00
wiz
234b8c45e9 Sort sections and other fixes. 2003-11-11 13:48:50 +00:00
wiz
6b3137c450 Bump date for last changes; remove duplicate "the"; mark up NULL. 2003-11-11 13:41:37 +00:00
wiz
ebe7222a9a Fix two typos, and split file system. 2003-11-11 13:36:33 +00:00
wiz
38df162bff Bump date for previous. 2003-11-11 13:34:36 +00:00
scw
9bf3f153c5 Apply a patch from Richard Earnshaw which fixes a half-word load/store
codegen bug on armeb.
2003-11-11 12:04:13 +00:00
dsl
433a97cc58 Set MKDEP_SUFFIXES to get additional targets in .depend instead of using
sed in .afterdepend.  I don't think .afterdepend is used anywhere any more.
2003-11-11 11:43:45 +00:00
dsl
cd01ecc4cd Use -- to separate mkdep options from cc ones.
Avoids problems when the cc options start with -fpic.
2003-11-11 11:36:40 +00:00
dsl
8acea4b2c0 Make {g|s|l}crt0.o depend on crt.o and remove the non-standand .afterdepend
translation.
2003-11-11 11:35:03 +00:00
dsl
016359fc65 Make gcrt0.o depend on crt0.o so that it picks up the dependencies from .depend. 2003-11-11 11:32:39 +00:00
augustss
b87f6623d3 Regen. 2003-11-11 10:55:32 +00:00
dsl
60dd40c33a Don't rely on mmap giving a NUL terminated buffer.
Let '--' be used to separate options to mkdep from those to cc.
2003-11-11 10:55:24 +00:00
augustss
7e013f13c6 Add a Cypress USB2 hub. 2003-11-11 10:54:56 +00:00
dsl
7037826394 Let -- be used to separate mkdep options from cc options 2003-11-11 10:50:02 +00:00
scw
f99d0398fb The previous commit had a #endif in the wrong place. 2003-11-11 08:27:16 +00:00
sekiya
b3023f06a5 Rework the boot loader:
* remove dead code,
	* streamline kernel selection logic,
	* various small bugfixes.
2003-11-11 06:47:00 +00:00
sekiya
fdf5374e91 Remove unused variables. 2003-11-11 06:42:15 +00:00
sekiya
f87a5a5324 Add getopt.c 2003-11-11 06:28:15 +00:00
christos
6dc8df292b KASSERT was not the right thing here. Instead only set the type if f_type
has been inititialized. Reported by pooka
2003-11-11 00:44:16 +00:00
matt
8c60671ca9 Add thread support. 2003-11-10 21:59:58 +00:00
matt
0ef98a7702 Make version 5.3nb1 2003-11-10 21:49:14 +00:00
matt
e2bf0dc236 Enable nbsd-thread.
Make version 5.3nb1.
2003-11-10 21:48:48 +00:00
ross
3d7196f4d4 Simplify set(). No functional change. 2003-11-10 21:40:22 +00:00
ross
714ccc9c51 Refix last delta's string copying edits 2003-11-10 21:37:36 +00:00
jonathan
b86d07f435 Allocate sysctl oid for ipv4 sysctl node "ifq", define symbolic name, and
bump IPCTL_MAXID. (Should have been committed with other ifq sysctl changes).
2003-11-10 20:50:29 +00:00
jonathan
88ba77e705 Make per-protocol network input queue stats visible to userland via
sysctl. Add a protocol-independent sysctl handler to show the per-protocol
"struct ifq' statistics. Add IP(v4) specific call to the handler.
Other protocols can show their per-protocol input statistics by
allocating a sysclt node and calling sysctl_ifq() with their own struct ifq *.

As posted to tech-kern plus improvements/cleanup suggested by Andrew Brown.
2003-11-10 20:03:29 +00:00
augustss
aca1d6163a Add boot(8) for pmppc. 2003-11-10 18:49:14 +00:00
augustss
d030d913db Add boot(8) man page for pmppc. 2003-11-10 18:45:58 +00:00
dsl
c934ce564a Fix continuation line handling. 2003-11-10 18:43:15 +00:00
augustss
764e974d4e Mention the com ports. 2003-11-10 18:28:45 +00:00