Commit Graph

99130 Commits

Author SHA1 Message Date
lukem
7b70a250c5 clean up whitespace, formatting 2002-06-29 22:37:39 +00:00
lukem
7a3ba9ecb7 revert previous; the user is supposed to be able to change /etc/wscons.conf
from the default shipped one, and the rest of the test in do_wscons()
is to detect obsolete wscons.conf(5) directives on systems with a
wscons.conf from an older release / source tree.
2002-06-29 22:25:23 +00:00
chris
6ea75ea7a1 Add simtec as the makers of Chaltech CATS boards. 2002-06-29 21:39:54 +00:00
scottr
2a946905e4 Back out last; inadvertantly committed. This will be resurrected
in the future, in all likelihood, but it wasn't ready yet.
2002-06-29 20:16:41 +00:00
scottr
7de06b16d5 If a valid file system type is found for a particular partition but no
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. Bob Nestor found this while working on sysinst
for mac68k, and as such there is no corresponding PR.
2002-06-29 20:12:57 +00:00
scottr
0aafec883d A malloc() return value wasn't checked properly in cleanup_dist() while
reading the file list. Bob Nestor found this by inspection while working on
sysinst for NetBSD/mac68k, and as such there is no corresponding PR.
2002-06-29 20:04:56 +00:00
itojun
cd584a155b make 'fix wscons" work. 2002-06-29 19:47:02 +00:00
scottr
9765c0afdf Before reading the (new) Apple Partition Map laid out by sysinst, be sure
to clear the disk label. From Bob Nestor; part 2 of 2 of a fix for
PR 15528.
2002-06-29 19:44:52 +00:00
matt
d81b00466f Add kttcp 2002-06-29 19:29:11 +00:00
matt
76c24da31d Add kttcp device. 2002-06-29 19:04:45 +00:00
chs
cfefc92864 rearrange a few lines to appease an assertion. 2002-06-29 18:27:30 +00:00
itojun
8e32c24c2e correct misuse of warnx, which leads to non-informative error
message when we specify nonexisting file as argument, like:

% uudecode hoge
uudecode: hoge
2002-06-29 17:58:50 +00:00
itojun
c589b132db dig /etc/systrace 2002-06-29 17:27:42 +00:00
scottr
e307d4c847 Rework sysinst so that it actually works for common cases. Notably, the
partition handling has been completely rewritten to address serious data
loss issues with Mac HFS partitions, and the a.out -> ELF upgrade has
been addressed. From Bob Nestor; part 1 of 2 of a fix for PR 15528.
2002-06-29 17:00:18 +00:00
grant
97a9e02381 disallow creation of partitions which start beyond (or extend beyond)
the end of the disk.
2002-06-29 15:24:03 +00:00
itojun
3973cdf049 typo in name 2002-06-29 12:33:33 +00:00
itojun
28735a6a17 correct port range check. from deraadt, sync w/kame, diff sent to bind-bugs 2002-06-29 12:23:10 +00:00
itojun
1fd7b003fa it is highly unlikely that protocol # for ip/icmp to change. from deraadt. 2002-06-29 12:12:57 +00:00
lukem
772ba32c77 clean up whitespace, formatting, copyrights 2002-06-29 10:54:14 +00:00
lukem
f35e7d6ba6 clean up whitespace & formatting 2002-06-29 10:49:51 +00:00
lukem
d68c395113 clean up whitespace, formatting, copyrights 2002-06-29 09:46:39 +00:00
lukem
3e3b24dd9c remove obsolete arm32. comment out incomplete arc 2002-06-29 09:39:44 +00:00
lukem
8b5a68d83b remove obsolete arm32 docco 2002-06-29 09:38:44 +00:00
lukem
cfaac1c351 clean up whitespace, formatting, copyrights 2002-06-29 09:33:10 +00:00
lukem
1d70ab3a63 add Makefile 2002-06-29 09:06:34 +00:00
lukem
4ba3e5d19f whitespace cleanup 2002-06-29 09:02:36 +00:00
lukem
8f49991ec6 formatting and whitespace cleanups 2002-06-29 08:57:21 +00:00
lukem
69a13b6392 use ../common/sysinst 2002-06-29 08:56:36 +00:00
lukem
08aa146fe0 s/disc/disk/ for consistency 2002-06-29 08:50:34 +00:00
lukem
72222fe23b start sentences on new lines 2002-06-29 08:49:51 +00:00
lukem
e270f3d997 - more "1.5*" -> "1.6" reference updates
- remove 1.5.x changes;  still need to update changes between 1.5 - 1.6
  (i'm working on it)
- copyright crank
- whitespace cleanup
- formatting cleanup (start sentences on new lines)
2002-06-29 08:36:06 +00:00
lukem
cb50ccb853 _ copyright crank
- whitespace cleanup
- formatting cleanup (start sentences on new lines)
2002-06-29 08:32:30 +00:00
lukem
c8ef0c6235 update copyright date 2002-06-29 08:29:46 +00:00
itojun
304d46f942 check port number range. sync w/kame, pointed out by deraadt 2002-06-29 07:49:25 +00:00
rafal
4a563f551c Allow this work work without a DRQ for PCNet parts mapped into ISA space
but which are connected to a local bus and do their own bus-mastering.
This has to be turned on via `flags 1' on the nele? device specification.
Gets one of my boxes working again with -current again.
2002-06-29 05:30:44 +00:00
rafal
fc0c4eac18 Pass bus_space_map() an address then a size, rather than size twice, so this
has a hope of working.
2002-06-29 05:20:15 +00:00
gmcgarry
0ff16469a7 Xref hardclock(9). 2002-06-29 04:36:17 +00:00
yamt
58077442ae split logging code in order to reduce maximum stack usage. 2002-06-29 04:13:21 +00:00
grant
490569127e add wsmoused. 2002-06-29 04:07:08 +00:00
eeh
c05c5884e6 Turn on parity checking for the PCI bus. 2002-06-29 02:35:22 +00:00
gmcgarry
0dadbe49d2 Document flags to VOP_UPDATE(). 2002-06-29 01:43:05 +00:00
thorpej
7f2925365c Add the kttcp device. 2002-06-28 23:29:26 +00:00
thorpej
473e69750b This is the "kttcp" network throughput testing pseudo-device. From
the block comment at the top of the file:

      This module provides kernel support for testing network
      throughput from the perspective of the kernel.  It is
      similar in spirit to the classic ttcp network benchmark
      program, the main difference being that with kttcp, the
      kernel is the source and sink of the data.

      Testing like this is useful for a few reasons:

      1. This allows us to know what kind of performance we can
         expect from network applications that run in the kernel
         space, such as the NFS server or the NFS client.  These
         applications don't have to move the data to/from userspace,
         and so benchmark programs which run in userspace don't
         give us an accurate model.

      2. Since data received is just thrown away, the receiver
         is very fast.  This can provide better exercise for the
         sender at the other end.

      3. Since the NetBSD kernel currently uses a run-to-completion
         scheduling model, kttcp provides a benchmark model where
         preemption of the benchmark program is not an issue.

There is a companion "kttcp" user program which uses the kttcp
pseudo-device.

Largely written by Frank van der Linden, with some modifications
from me.
2002-06-28 23:27:13 +00:00
wiz
32b1596627 As much as I like "Lunux", I'll still fix it. 2002-06-28 22:45:21 +00:00
drochner
ac1165c19c whitespace 2002-06-28 22:32:58 +00:00
drochner
9b3975fd12 clean up font handling:
-treat the builtin font like any other font at runtime
-for that, copy it to malloc()'d memory during attach()
-in early console initialization, if we have to consider a broken card
 (VGA_CONSOLE_ATI_BROKEN_FONTSEL), copy the builtin font to another
 location in font ram; the attach() code will do the rest
put the "quirk" code into effect again
2002-06-28 22:24:11 +00:00
jdolecek
958680bc70 Deal with .Fn macro problem with function returning pointer to function;
sidestep it using troff macro trick from FreeBSD version of this manpage.
xref psignal(3) and strsignal(3)

This fixes lib/12260 by Ada Lim and lib/17406 by Greg A. Woods.
2002-06-28 21:55:08 +00:00
thorpej
969b2f1817 Fix a comment. 2002-06-28 18:46:46 +00:00
thorpej
9066ce1621 When stopping the various functional blocks of the chip, clear the
bit and then read it back in a loop (with appropriate delays) waiting
for it to read back clear.

This fixes a problem where the bus would hang when bringing down
the interface or changing interface flags on a system with a
sufficiently fast CPU (e.g. 2GHz P4 Xeon).
2002-06-28 18:44:45 +00:00
fvdl
50ade28e9b Rearrange alignment code a bit. 2002-06-28 18:39:45 +00:00