Commit Graph

177039 Commits

Author SHA1 Message Date
dsl
ac3b504aef Contrary to my previous thoughts, .for loop variable values do contain
variable references - eg ${.TARGET} since that can't be expanded earlier.
Also the variable gets re-expanded before modifiers are applied.
All this means that we do need to let :U expand variables and must not
just escape $.
2009-01-14 22:54:10 +00:00
njoly
39f5db2b54 In rusage_to_rusage50() function, fix memcpy size to include last
struct member (ru_nivcsw) which was missing.

ok by christos.
2009-01-14 22:50:12 +00:00
bjh21
039be0e249 Nothing uses set_r13_irq(). Indeed, NetBSD/acorn26 doesn't use R13_irq
at all.  G/c the function.
2009-01-14 22:17:52 +00:00
haad
6fa32f841f Add lvm rc script for starting LV's during boot. starting lvm is turn off
by default, until MKLVM is enabled by default. This script can be used
without /usr/bin.
2009-01-14 22:07:55 +00:00
pooka
d21961207f Include sys/param.h in the kernel to make the vax properly pick up
memset.  Otherwise vax/macros.h doesn't get included and the usual
lossage ensues.
(I bet you saw that one coming)
2009-01-14 21:33:22 +00:00
bjh21
994c290845 atomic_set_bit() and atomic_clear_bit() are unused. Garbage-collect them.
If anyone wants such functionality, it's trivially synthesised with
atomic_cas_uint() anyway.
2009-01-14 20:43:28 +00:00
bjh21
22361356d3 Use a compatible format for printing suseconds_t. 2009-01-14 20:40:55 +00:00
he
41daabb7fc Ensure that all the files in SRCS are *.c files (there were some
files matching *.o (!) in the list).  Thanks to cube@ for spotting
what I could not see.  Should fix issue with UPDATE builds across
the recent time_t merge and associated shared lib major bumps.
2009-01-14 20:38:53 +00:00
cegger
16f884ca6d make this compile: fix gcc warning about uninitialized use of tv.sec and tv.usec. 2009-01-14 20:33:19 +00:00
pooka
885ad2724c As promised in the commit message, revert previous. __RENAME() is
not required by rumpkernel.
2009-01-14 19:41:55 +00:00
pooka
3ddaccb7cd regen: internal prototype for rump_syscalls.c 2009-01-14 19:41:08 +00:00
pooka
32713ca49c Generate local prototypes in rump_syscalls.c and disallow using
the rump_syscalls.h interface from inside the rump kernel.
2009-01-14 19:40:30 +00:00
cegger
93b03e00ee use KM_SLEEP per request from ad@ 2009-01-14 19:31:25 +00:00
pooka
d138dde9a0 --wrap=malloc, the issue was fixed. 2009-01-14 19:29:32 +00:00
cegger
99af9c90e3 pull in changes from FreeBSD:
- reset autonegotation timer if media option is not IFM_AUTO or we got a invalid link.
- Announce link loss right after it happens.
- Autonegotiation is retried every mii_anegticks seconds.
- Report link state changes right after setting autonegotiation.
- use rgephy_reset consistently
- change rgephy_reset to use mii_phy_reset and rgephy_load_dspcode.

These changes give me a speedup from 6.5MB/s to 9.1MB/s on a 100MBit link.
2009-01-14 19:24:32 +00:00
pooka
36c4acf6f5 Stub out some ppc routines to allow the evbppc build to pass through here. 2009-01-14 18:17:23 +00:00
christos
6d87d90fe9 version get/set send/recv timeout setsockopt. 2009-01-14 18:09:00 +00:00
christos
68648215f2 version the timeout get/set sockopt calls, because they take struct timeval. 2009-01-14 18:07:29 +00:00
christos
bae29cd69f Change back time_t in the lifetime struct to int32_t's for binary compatibily.
Since this is just the number of seconds for lifetime of the address, it is
not an issue.
2009-01-14 18:06:52 +00:00
hubertf
1e18dfb8f6 Make it clearer how link time failures in packages can be fixed
OK'd by christos
2009-01-14 15:53:29 +00:00
christos
a127d189ed style fixes and pass WARNS=4 and lint from Anon Ymous 2009-01-14 15:47:23 +00:00
christos
4c7a98373d Allocate the max size needed so that we don't need to realloc in setversion.
Problem pointed out by yamt.
2009-01-14 15:34:36 +00:00
christos
cd1b7c6641 fix non-portable bitfields. 2009-01-14 15:30:45 +00:00
pgoyette
c6125af1bb Include ADT7460 in chip table (it's identical to the ADT7463, except for
physical packaging).
2009-01-14 13:54:29 +00:00
tsutsui
ccd5483536 Before installboot(8), check running machine types (milan or others)
via sysctl(3) and copy appropriate tertiary boot.atari loader
from /usr/mdec/{std,milan} into targetroot.
Full fresh installations of 5.0_BETA and 4.0_STABLE with the same change
have been tested by David Ross on port-atari.

Fixes the final portion of PR port-atari/40315, and
pullup requests to both netbsd-4 and netbsd-5 will be sent shortly.
2009-01-14 10:49:37 +00:00
dogcow
f91a017c5f i386 compat libs' major version bump, due to time_t changes. 2009-01-14 08:04:18 +00:00
jnemeth
e99cf5f41a oops: X11R2 -> X11R6 2009-01-14 07:07:12 +00:00
ahoka
ced1cef27b The following patch makes dbcool(4) recognize the ADT7460 hardware in
the aluminium PowerBook G4 12".  The hardware is very similar to
several other models, to the point that it cannot be distinguished by
its advertised device id and revision id, which are the same as the
ADT7463.

Patch from Taylor R Campbell.
2009-01-14 03:16:57 +00:00
mrg
3dfebf9679 catch up with dev_t becoming 64 bit:
- move struct oswapent into uvm_swap.c proper, calling it swapent13
- introduce a new struct swapent50, also only in uvm_swap.c
- stop using struct oswapent inside struct swapent, or struct swapdev
- rename SWAP_OSTATS SWAP_STATS13
- rename SWAP_STATS SWAP_STATS50
- add new SWAP_STATS
- rewrite the handling for SWAP_STATS13, SWAP_STATS50 and SWAP_STATS
2009-01-14 02:20:45 +00:00
reed
26542189a9 Improve -G documentation. It may be repeated.
And value may be comman-delimited list of groups.
16 maximum groups.
2009-01-14 02:18:28 +00:00
reed
4ee2689ef3 Also add cdrom (which is created by sysinst).
And add trailing slash to pts directory (just added a moment ago).
2009-01-14 01:51:29 +00:00
isaki
379974ccef Use PRIu64 format to print 64bit dev_t. 2009-01-14 01:48:42 +00:00
reed
91e4be2a1c Add pts, kern, proc mount points.
These are created by sysinst.
(I don't see in mtree spec files either.)
2009-01-14 01:46:51 +00:00
haad
2df042407e Add dm module as dependency and remove module_hold/module_rele calls. 2009-01-14 00:56:15 +00:00
haad
4768b70dfe Add comment about adding module dependiences to MODULE macro. 2009-01-14 00:53:44 +00:00
mjf
2cebf05ce3 - Separate the COMPAT_13 and COMPAT_16 code into their own files and
compile them only when the relevant config options are set.

- Provide a sendsig_sigcontext() implementation using the existing vax
  signal code; it already does the correct thing.
2009-01-13 23:56:13 +00:00
bjh21
2403360562 Make the restartable atomic sequence for _lock_cas() actually atomic and
restartable on acorn26.
2009-01-13 22:43:48 +00:00
haad
bc57e405be Link cvs staticaly and and -ledit and -ltermcap to linking libraries. 2009-01-13 22:38:00 +00:00
pooka
026ac4657f rump_sys___socket30 -> rump_sys_socket 2009-01-13 22:35:57 +00:00
pooka
f3df1f9c77 Allow __RENAME if _RUMPKERNEL
(although I'll probably revert this soon, but add it now to allow build)
2009-01-13 22:35:13 +00:00
pooka
09ba2d6689 Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:11 +00:00
pooka
2758ac8cf1 Update per rump_sys call __RENAME(). 2009-01-13 22:33:10 +00:00
pooka
5d19acad62 Regen to prove I didn't screw up the conversion: purely RCSID changes. 2009-01-13 22:33:08 +00:00
ahoka
6930e04bce Disable stack protector warning when USE_SSP=yes. 2009-01-13 22:33:05 +00:00
pooka
e158aeee4c Regen. We now have compat __RENAME(). E.g. what was previously
rump_sys___stat50() is now rump_sys_stat() from the code.
2009-01-13 22:31:42 +00:00
pooka
a9a2ce837b Convert the syscalls.master to a format from which it is easier
to parse and generate the compat name and basename (e.g. __stat50
and stat).  Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().
2009-01-13 22:27:43 +00:00
pooka
21eb48bd8e regen 2009-01-13 22:16:11 +00:00
pooka
b9e6895bec UNIMPL police (two mount syscalls with the same signature?!?) 2009-01-13 22:15:42 +00:00
pooka
5514331a78 regen after unimpl police to get comments right 2009-01-13 22:11:32 +00:00
pooka
7e02aa9486 UNIMPL 2009-01-13 22:10:58 +00:00