113034 Commits

Author SHA1 Message Date
abs
81ab107137 maybe -> may be 2003-05-16 08:37:09 +00:00
bsh
a710e1b34a SMDK2800 has a 6MHz X'tal.
comment out memory disk options.
2003-05-16 08:11:36 +00:00
itojun
0c48aa3eda need dstlen to make it safe 2003-05-16 05:14:40 +00:00
itojun
a812112ebc use strlcpy 2003-05-16 05:12:32 +00:00
itojun
25b677f86d use strlcpy. check size if we are to use namei buffer. 2003-05-16 05:09:11 +00:00
itojun
4008ec1218 use strlcpy 2003-05-16 03:56:49 +00:00
itojun
4d9a92e2a2 remove duplicate. masanori kanaoka 2003-05-16 02:53:28 +00:00
dyoung
045ad0db5e IEEE80211_LOCK and WI_LOCK conceal enormous differences in locking
semantics on FreeBSD and NetBSD, so I am backing them out until
the macro set is enriched.
2003-05-16 01:26:17 +00:00
manu
1ab318ff2d We had ugly magic values in io_connect_method_scalari_scalaro and friends.
Peeking at Darwin's header files gives some ideas of what we are doing here.

We know understand most of the stuff called by XDarwin and WindowServer before
mapping the framebuffer.
2003-05-15 23:35:37 +00:00
lha
c95b098f3a Check that child process doesn't get threads, also make sure sleep
works in child (fork test, commited some time ago)
2003-05-15 23:00:55 +00:00
lha
3ca42f1c25 regenerate files for heimdal 0.6 2003-05-15 22:58:02 +00:00
lha
b224fef26e Fix up rcsid lossage 2003-05-15 21:36:30 +00:00
fvdl
3ce3540177 Don't start the process of scanning CPUs and I/O APICs (with interrupt
routing to follow later) if the ACPI implementation is marked as
having a quirky PCI bus/interrupt configuration. If MPBIOS is also
defined, it'll do the job instead.
2003-05-15 21:31:59 +00:00
fvdl
c0b6986667 Add quirk handling to ACPI. First quirk entry is "PTLTD " rev 0x06040000,
which gives problems with PCI bus finding; the object hierarchy doesn't
match the real world for some systems, most notably SuperMicro boards.
Linux has this one blacklisted as well.
2003-05-15 21:29:49 +00:00
lha
f66ab28ab4 bump minors appropriately 2003-05-15 20:58:43 +00:00
lha
f80f84e684 no longer used 2003-05-15 20:56:45 +00:00
lha
98326d86aa add files for heimdal 0.6 2003-05-15 20:51:01 +00:00
lha
28d69ea823 merge in heimdal 0.6 2003-05-15 20:44:06 +00:00
lha
245a590853 import of heimdal 0.6 2003-05-15 20:28:38 +00:00
kristerw
07936511f0 The C language does not permit statements of the form
(X ? Y : Z) = 0;
even though gcc handles this by a stupid extension.

Transform these to correct C.

Approved by fvdl.
2003-05-15 20:25:31 +00:00
wiz
70c40c00ed regen (-lms,-mms,+icp on i386). 2003-05-15 19:17:43 +00:00
wiz
76907a433e Fix typo in comment. 2003-05-15 19:16:37 +00:00
nathanw
a06836c083 Remove an unnecessary test in pthread_getspecific(). 2003-05-15 19:13:24 +00:00
wiz
2b0b925316 Add /dev/mouse-qms0 and /dev/qms0. 2003-05-15 19:11:28 +00:00
wiz
17abf3da10 Add /dev/lms0 and /dev/mms0. 2003-05-15 19:10:00 +00:00
wiz
5b143c1fff No point in a qms device if there is no qms driver. 2003-05-15 19:05:28 +00:00
wiz
b0b2ab2055 Not much point in creating a device node for a driver that doesn't exist
(qms in this case).
2003-05-15 19:01:38 +00:00
wiz
717b2b1474 Remove i386/busmouse(4); it's not supported on i386 any more. 2003-05-15 18:53:34 +00:00
wiz
8381108e2a Don't install machine/mouse.h on i386 and prep; there are no users for
the old busmouse interface any longer, we use wsmouse now.
2003-05-15 18:51:18 +00:00
fvdl
a47c14adcc Fix reversed arguments to bus_space_unmap. 2003-05-15 18:04:08 +00:00
dsl
adb2f69a2f Avoid building the xxx.mk file (etc) multiple times in a parralel build.
Change name of target build from xxx.mk from 'all' to xxx.crunched to avoid
picking up baggage from bsd.own.mk and bsd.prog.mk.
Fixes toolchain/21563 (with new crunchgen binary)
2003-05-15 17:52:32 +00:00
dsl
cd7432d0cb Add an extra target to the xxx.mk file that is equivalent to 'all', but which
doesn't pick up baggage from bsd.own.mk and bsd.prog.mk.
This stops parallel makes exploding because they try to build ${PROG} to soon.
Fixes toolchain/21563 (with change to src/distrib/common/Makefile.crunch).
Upped version of crunchgen to 0.3
2003-05-15 17:49:46 +00:00
jmc
84b2ae9f5b Typo police 2003-05-15 16:46:55 +00:00
fvdl
c9c95208a9 Postpone the ioapic_ih assignment a bit, since the pin number may have
been corrected in a workaround in the meantime.
2003-05-15 16:32:50 +00:00
itojun
da3884cbf4 latest copyright notice (more loose). noted by wiz 2003-05-15 15:02:52 +00:00
itojun
9cf18f13b5 rt->rt_ifp may not always be available. masanori kanaoka via kame 2003-05-15 14:57:58 +00:00
itojun
d25769c013 assume presense of getifaddrs(3). 2003-05-15 14:50:02 +00:00
itojun
5818b97495 assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
itojun
68452c0c92 assume presense of getifaddrs(3). 2003-05-15 14:44:57 +00:00
itojun
e24f1908e1 byebye savestr. with savestr() we can't free(). 2003-05-15 14:34:39 +00:00
yamt
19bdd5d1e5 acquire vmobjlock when touch pg->flags. 2003-05-15 14:34:06 +00:00
itojun
dec326ca84 64bit issue; reported by Havard Eidnes and Juergen Hannken-Illjes, sync w/
openssh master tree
2003-05-15 14:10:24 +00:00
fvdl
8ec5ed33f8 Adjust ramdisksize downwards to match kernels. 2003-05-15 14:02:37 +00:00
fvdl
db7d3c35bc Decrease the ramdisk size a bit to allow for more options to be added
to the kernel, and still have it fit in 2.88M.
2003-05-15 14:02:00 +00:00
itojun
99c5869d56 add strl{cpy,cat} to libkern. code from lib/libc/string (originally from openbsd). 2003-05-15 13:50:35 +00:00
itojun
a5d8a0a4f6 check version before computing checksum. checksum is more expensive operation. 2003-05-15 13:46:15 +00:00
fvdl
74793a8cdd Try a little harder to find PCI buses in the MPACPI code, in a (probably
futile) attempt to get quirky ACPI implementations going.

Work around a problem with quirky MP tables for ioapic interrupt routing.
2003-05-15 13:30:31 +00:00
wiz
6454d66c69 Fix typo. 2003-05-15 13:28:58 +00:00
dsl
a9fc176e82 Don't close any script files if vfork is set.
If a fork() is done later in order to feed a 'here' document into a pipe
then it is possible that one end of the pipe might get closed.
2003-05-15 13:26:45 +00:00
atatat
b5329c1d85 (1) Don't print the message buffer (via ddb's dmesg command) if the
message buffer has not yet been set up, mimicking code from the top of
the sysctl routine for retrieving the message buffer.

(2) Add a /l modifier to the trace command.  This makes it print the
backtrace using printf() instead of db_printf(), which has the nice
side-effect of also putting it into the message buffer.  A kernel with
ddb in it but disabled (ie, ddb.onpanic set to zero) will print a
backtrace (which ends up in the message buffer) before dumping (or
not, depending on the value of kern.dump_on_panic) and rebooting, but
if ddb is not disabled, the backtrace is not printed, and there's no
way to get it to display a backtrace such that you can retrieve it
after the dump.  The backtrace printed by gdb is sometimes a little
different.

(3) Documentation for the above.
2003-05-15 13:18:18 +00:00