Commit Graph

167928 Commits

Author SHA1 Message Date
matt 103168eb06 foo() -> foo(void) 2008-03-11 05:31:00 +00:00
mjacob 70944bcde1 Make some changes to isp(4) options: add a disable for 2322 suppport;
remove the option for firmware crash dumps; add a ISP_VPORTS option
for virtual ports (24XX, coming soon).
2008-03-11 05:24:38 +00:00
matt 1746cafd1c Add device_lookup_private() which is just device_private(device_lookup(&cd, i))
Most callers don't want the device_t, they want their softc and that's what
device_lookup_private returns.
2008-03-11 02:42:41 +00:00
ad 6b4e6438d8 Add casts to avoid potential compiler warnings. 2008-03-11 02:26:47 +00:00
ad a108a15f5d Make context switch + syscall counters optionally per-CPU and accumulate
in schedclock() at "about 16 hz".
2008-03-11 02:24:43 +00:00
christos 45be95b786 add month names, from FreeBSD via anon ymous 2008-03-11 01:10:12 +00:00
christos 775ae7cec2 - add months + years in the language
- fix daylight savings bogus code
From FreeBSD via Anon Ymous
2008-03-11 01:04:18 +00:00
ad 3f5fa954a6 tsc_get_timecount: remove unneeded instructions. Pointed out by dsl@. 2008-03-11 00:40:38 +00:00
yamt b714b9dd42 in6_cksum: use IN6_IS_SCOPE_EMBEDDABLE. 2008-03-10 22:34:40 +00:00
yamt 15b5bc3e70 in6_cksum: avoid using -> operator and use (char *) arithmetics instead.
reviewed by Joerg Sonnenberger.  he pointed out that the original code
was written that way so that the compiler will explicitly not assume that
the alignment of the data is correct.  although i don't know if it really
matters or not, being safer is not a problem.
2008-03-10 22:29:13 +00:00
martin d8788e7fd7 Use cpu index instead of the machine dependend, not very expressive
cpuid when naming user-visible kernel entities.
2008-03-10 22:20:14 +00:00
ad 1d7e476b69 Update copyright for previous. 2008-03-10 22:04:06 +00:00
ad 907fdb3f79 Implement an optimized, preemption-safe asm version of tsc_get_timecount().
The C version needs work to be preemption safe. Cuts the clock cycles
for microtime() from 950 down to 300 on a Pentium D.
2008-03-10 22:03:40 +00:00
sketch 5c1ec14909 Fix console output. 2008-03-10 21:18:08 +00:00
dyoung 73e95caf73 Use device_t and accessors. Use aprint_*_dev().
Add a method for detaching children.  XXX acpi(4) may leak some
resources for each child detached.  Needs attention from someone
who understands acpi(4).
2008-03-10 20:58:38 +00:00
skrll 4bcfb62209 Don't use MKMAN=no define NOMAN instead.
Prompted by David Holland on tech-misc.
2008-03-10 20:19:28 +00:00
rmind f67f2ea584 Add pset(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 19:00:21 +00:00
he 71ca0c37fa As mrg@ informs me, delay slots are indented 1 and not 2 spaces. 2008-03-10 18:31:08 +00:00
he bbed82985f Fix the problem that CURBRK can't be referenced directly via R_SPARC_GOT13
here anymore (apparently libc grew too big).  Use sethi and %hi/%lo instead.
2008-03-10 18:28:43 +00:00
rafal b061c2d0d0 Fix syntax for the BUILD_STARTUP_PAGETABLE case. 2008-03-10 16:48:13 +00:00
rmind 2ac12931eb Add sched(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 14:47:06 +00:00
njoly fcf1e44d76 Do not hardcode sys_stub to the string "sys_nosys" for the not ignored
case. Just use the corresponding variable instead, to allow emulation
to use their own defined value.
2008-03-10 14:06:46 +00:00
ad ed4dfedcd6 Finish moving alpha over to the MI atomic ops. 2008-03-10 14:01:35 +00:00
ad d247e228e6 Use MI atomic operations. 2008-03-10 13:43:33 +00:00
ad 1e2ed6d02c Convert remaining use of alpha atomic op to an MI one. 2008-03-10 13:37:38 +00:00
ad 8228d024b7 Use atomics to maintain the number of special page references. Should fix
locking problems including in revision 1.232.
2008-03-10 13:36:22 +00:00
yamt ee76f56f70 remove an unnecessary cast. 2008-03-10 12:34:41 +00:00
wiz 388f16d85b Move previously added sentence to STANDARDS section, as suggested by yamt. 2008-03-10 12:25:55 +00:00
wiz 4111fbb94d Mention that extending files with truncate is a POSIX extension.
Requested by joerg.

Bump date.
2008-03-10 11:47:28 +00:00
dholland 0a890e1609 ps -t? needs to imply -x. Otherwise the non-x logic filters all the results
out. Thanks to der Mouse for prompting me to fix it...
2008-03-10 03:44:11 +00:00
dholland 88ff5802a1 Adjust a debug message. Fixes the last bit of PR 29668. (The rest seems
to have already been dealt with.)
2008-03-10 03:28:34 +00:00
dholland b13483cd3e MKMAN does not belong in source makefiles; use NOMAN. 2008-03-10 02:02:56 +00:00
dholland ce33f8bb1e MKMAN does not belong in source makefiles; use NOMAN. 2008-03-10 01:46:31 +00:00
dholland 7d11c7f1f8 MKMAN does not belong in source makefiles. Use NOMAN.
(which in this case is set by Makefile.inc)
2008-03-10 01:22:05 +00:00
lukem da757a063f Style tweaks:
* test defined(HAVE_foo) not just HAVE_foo
* replace u_foo with unsigned foo
* the whitespace change whose name we dare not mention
2008-03-10 01:18:44 +00:00
dholland 2d8b0e31c6 Adjust the loop that handles NOMAN and friends so grepping for NOMAN
actually finds it. Also note that it only works if set before
bsd.own.mk is included.

Otherwise, grep NOMAN /usr/share/mk/*.mk comes up empty, and since
naively setting it may not work, one can easily draw wrong
conclusions.
2008-03-10 01:18:29 +00:00
dholland 46020b9298 MKMAN does not belong in source makefiles; use NOMAN. 2008-03-10 01:08:05 +00:00
dholland b20bda484e MKMAN should not be set in source makefiles. Use NOMAN. 2008-03-09 22:47:11 +00:00
dholland 4ac721efa3 MKMAN should not be in source makefiles. Use NOMAN. 2008-03-09 22:44:41 +00:00
dholland 3bcd570495 No, it's not wrong after all. Sorry about the churn. I am going to adjust
bsd.own.mk so you can find NOMAN (and friends) with grep. Fixes PR 37750,
again.
2008-03-09 22:35:17 +00:00
yamt 6ff0e4eec3 in6_cksum: constify 2008-03-09 22:05:50 +00:00
dholland a3ab568637 Revert previous; it is wrong. Unfixes PR 37750. 2008-03-09 21:38:13 +00:00
phx aec8e8230f missing newline in message 2008-03-09 21:33:17 +00:00
dholland 1e8742be01 Use NOMAN=, not MKMAN=no. PR misc/37750 from Johan A. van Zanten. 2008-03-09 21:22:29 +00:00
dholland 2ccf7320c1 Grammar fix and clarification from PR 37727 by Randolf Richardson.
While here, do some of my own grammar and formatting fixes too.
Bump date.
2008-03-09 20:59:13 +00:00
dholland d02e700e66 Use NE2000_TYPE_UNKNOWN instead of just 0 in a couple places. 2008-03-09 20:32:45 +00:00
phx 7bca1efe39 Do not attach genfb when the frame buffer is not flagged as being console
(e.g. when a serial console is used).
Approved by macallan.
2008-03-09 20:32:30 +00:00
lukem e9810351a7 Switch from lockf() to (more portable) fcntl() locking 2008-03-09 20:11:43 +00:00
mjacob 9f901b85c3 Remove files that have no apparent immediate use. 2008-03-09 20:08:32 +00:00
jmcneill 0bedbeef3a Convert from shutdownhook/powerhook to PMF. 2008-03-09 19:25:56 +00:00