Commit Graph

176860 Commits

Author SHA1 Message Date
joerg
99bea28aa2 Fix typo in comment. 2009-01-15 19:03:31 +00:00
christos
ba8b020023 - switch the lifetime struct to time_t and provide compatibility for the
old ioctl.
2009-01-15 18:20:48 +00:00
christos
ff90a0090a compat glue. 2009-01-15 18:19:23 +00:00
yamt
b9b9c67db2 bufq_cancel: KNF. 2009-01-15 16:11:19 +00:00
christos
651aa5ccda - remove errmsg; we all have strerror() these days.
- sanitize error printing. Try to print the system error or a reason for
  the message.
2009-01-15 15:58:42 +00:00
christos
19540887f2 - Don't use TOOL_SED; we are not a regular Makefile
- PREFIX defaults to /usr/pkg
- use -g
- delete errmsg.c
2009-01-15 15:57:18 +00:00
christos
dfcfa95743 check for error in the COMPAT_50 case. 2009-01-15 15:29:10 +00:00
christos
a46d2217e9 reverse the polarity of the use of the error variable. Using a different
variable would be cleaner but it would require more ifdefs.
2009-01-15 15:25:37 +00:00
jym
1c44582377 Remove unneeded x86_lfence(). Xen RING macros use memory fences internally, and
hypercalls are also memory fences.

Ok by bouyer@.
2009-01-15 14:51:30 +00:00
rtr
ab7669ef5b use PRIu64 format to print major and minor dev_t
from Wojciech Galazka on current-users@
2009-01-15 12:35:13 +00:00
yamt
0915dface4 - reduce the number of #ifdefs.
- build compat glues if MODULAR.
2009-01-15 04:22:11 +00:00
lukem
c402ba6fb6 appease -Wsign-compare 2009-01-15 03:18:30 +00:00
christos
74070c3c8c fix the semctl glue build that worked before by chance by side effects of
building the the assembly stub as a normal stub. Just build it as a glue
stub.
2009-01-15 01:35:45 +00:00
pooka
ad2cb9c529 The last _KERNEL -> _HARDKERNEL in locking operations. 2009-01-15 01:20:31 +00:00
pooka
73547ee171 Use kernel spinlocks only with _HARDKERNEL 2009-01-15 01:11:32 +00:00
christos
6e8bc6579f correct previous, fix reversed test, remove memset. 2009-01-14 23:28:23 +00:00
pooka
574c2ab1b1 Do rump kernel symbol protection for vax. All archs support it now. 2009-01-14 23:22:09 +00:00
pooka
854c6deca2 Use kernel locking routines only with _HARDKERNEL 2009-01-14 23:20:34 +00:00
christos
5f47ffa430 Oops, forgot to merge this. 2009-01-14 23:18:57 +00:00
bjh21
805cc01a50 Finally purge __P() from sys/arch/acorn26. 2009-01-14 23:14:48 +00:00
he
434b1b61b6 Add a cast to make this build again (no sense in doing PRIu64 when we
& with 7 right after).
2009-01-14 22:57:48 +00:00
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