Commit Graph

62021 Commits

Author SHA1 Message Date
Peter Wemm
da81118c1b Use the real structure names explicitly. Note that this is mostly for
reading old a.out core files, which are totally 100% non-understandable
to the gdb floating-point reader if you have SSE turned on.

This should be the last of the world build breakers...
2001-07-12 13:01:17 +00:00
Peter Wemm
28f74b2003 The #define for pcb_savefpu seems to do more harm than good. 2001-07-12 12:48:08 +00:00
Ruslan Ermilov
ed5a93a7c2 Restore UUCP VCS IDs; eliminate troff(1) warnings. 2001-07-12 12:35:00 +00:00
Peter Wemm
ad1b7ffaee Fix another missed pcb_savefpu reference (inside NPX_DEBUG) 2001-07-12 12:21:53 +00:00
Peter Wemm
8771bd7eb0 Do not depend on pcb_savefpu backwards compat #define. 2001-07-12 12:19:11 +00:00
Ruslan Ermilov
97e5eec61a Eliminate troff(1) warnings. 2001-07-12 12:12:24 +00:00
Ruslan Ermilov
1bf1e1e36c Convert to mdoc(7). 2001-07-12 12:00:58 +00:00
Peter Wemm
6a25c625b2 Forgot this fix from another tree. make enable_sse() a real prototype. 2001-07-12 11:54:11 +00:00
Kazutaka YOKOTA
9a3a173bd3 - Define a convenience macro ISTTYOPEN().
- Slightly refine screen saver logic.

No functional change.
MFC after:	2 weeks
2001-07-12 11:43:29 +00:00
Peter Wemm
51ae779a7e Bump param, for SSE support and include file impact (<machine/pcb.h>) 2001-07-12 11:42:47 +00:00
Ruslan Ermilov
f091f0029a Added missing DPADD and CLEANFILES. 2001-07-12 09:17:51 +00:00
Ruslan Ermilov
26e7668052 Fixed CLEANFILES. 2001-07-12 08:48:36 +00:00
Assar Westerlund
265f31c20e add dependency for lex.o on roken.h (from "Alexander N. Kabaev"
<ak03@gte.com>)
remove duplicate build-tools target
2001-07-12 08:36:01 +00:00
Ruslan Ermilov
b19ea0bb44 Always preprocess manpages with tbl(1). 2001-07-12 07:47:39 +00:00
Ruslan Ermilov
b50288009d Fixed warning:
bc.1:643: warning: numeric expression expected (got `e')
2001-07-12 07:35:06 +00:00
Peter Wemm
aa32e9a994 Move init_sse() out of the "GenuineIntel" section, my AthlonMP system
has it, for example, and it works fine.
2001-07-12 06:36:03 +00:00
Peter Wemm
adc3cb92c2 Apply the i386 SSE mods to pc98 as well. 2001-07-12 06:34:25 +00:00
Peter Wemm
9d146ac5d1 Activate SSE/SIMD. This is the extra context switching support that
we are required to do if we let user processes use the extra 128 bit
registers etc.

This is the base part of the diff I got from:
  http://www.issei.org/issei/FreeBSD/sse.html
I believe this is by:  Mr. SUZUKI Issei <issei@issei.org>
SMP support apparently by: Takekazu KATO <kato@chino.it.okayama-u.ac.jp>
Test code by: NAKAMURA Kazushi <kaz@kobe1995.net>, see
  http://kobe1995.net/~kaz/FreeBSD/SSE.en.html

I have fixed a couple of style(9) deviations.  I have some followup
commits to fix a couple of non-style things.
2001-07-12 06:32:51 +00:00
Dima Dorfman
5e06480c9f Introduce an "include" directive. It takes one argument, a filename
to be included into this one.  This works the same way as #include
does in C; as far as the user is concerned, the included file is
inlined into the current one.

Since config(8) is no longer limited to working on one user-supplied
file, printing just a line number in an error message is not
sufficient.  The new global variable yyfile represents the file
currently being parsed, and must be printed as well.

Reviewed by:	imp
Obtained from:	OpenBSD
2001-07-12 02:08:51 +00:00
Jesper Skriver
dc3c85941a Fix IP address checking, now we allow addresses like 172.17.0.0/23 as
a host address

PR:		misc/27799
Reviewed by:	jkh
Approved by:	jkh
MFC after:	1 month
2001-07-12 00:01:45 +00:00
Jun-ichiro itojun Hagino
08274cdf68 netbsd 1.5.1: official announcement on Wed, 11 Jul 2001 16:35:16 -0400 (EDT) 2001-07-11 23:57:16 +00:00
Brian Somers
5d2ed9f13b Remove an extraneous space 2001-07-11 23:02:07 +00:00
Bill Paul
660e0297c7 Another NatSemi gigE card; the Netgear GA622T 2001-07-11 22:29:05 +00:00
Bill Paul
01019292b0 Document additional cards supported by the nge driver: LinkSys EG1032
anf EG1064, and the Surecom EP-320G-TX.

Also fix typo in nge.4 man page: Addrton -> Addtron.
2001-07-11 22:09:31 +00:00
Bill Fenner
9624fc11f0 Don't try to compile v6-only files if NOINET6.
PR:		misc/28287 , misc/28288
2001-07-11 21:46:06 +00:00
Wilko Bulte
021d0cee20 Document SET CONSOLE SERIAL/GRAPHICS for NoName as well
Suggested by: bob@sfcei.com
2001-07-11 18:33:58 +00:00
Jim Pirzyk
03b84cf051 Commited patch for uni signaling fix.
PR:		kern/28748
Submitted by:	Richard Hodges <rh@matriplex.com>
MFC after:	2 weeks
2001-07-11 16:31:50 +00:00
Ruslan Ermilov
1ce90245fb Due to the documented bug in inet_aton(3), it wasn't possible
to use 0xffffffff (INADDR_NONE) as a netmask value.  The fix
is to use inet_addr(3) which doesn't suffer from this problem.

PR:		bin/28873

Also, while here, fixed the bug when netmask value was ignored
(RTF_HOST flag was set) if the "destination gateway netmask"
syntax is used, e.g. ``route add 1.2.3.4 127.1 255.255.255.255''.
2001-07-11 16:11:15 +00:00
Hajimu UMEMOTO
d734b7d006 Add ftp2.jp.freebsd.org as IPv6 ready mirror server.
Now, ftp2.jp.freebsd.org is serverd by IIJ.

MFC after:	1 week
2001-07-11 11:24:06 +00:00
Ruslan Ermilov
2378902495 mdoc(7) police: fixed markup and some content typos. 2001-07-11 10:31:49 +00:00
Ruslan Ermilov
4bc6a387c2 mdoc(7) police: fixed markup. 2001-07-11 09:13:12 +00:00
Ruslan Ermilov
80d569d3b0 mdoc(7) police: fixed markup. 2001-07-11 08:59:10 +00:00
Ruslan Ermilov
acc8166aa6 mdoc(7) police: fixed markup and program name. 2001-07-11 08:51:18 +00:00
Ruslan Ermilov
08ecaa10b2 mdoc(7) police: fixed markup, a little bit. 2001-07-11 08:36:26 +00:00
Ruslan Ermilov
63b81b76ca mdoc(7) police: fixed markup any numerous typos. 2001-07-11 08:35:34 +00:00
Dima Dorfman
e30b87b534 Call disk_destroy in cdcleanup() as appropriate.
PR:		24596
Reviewed by:	ken
2001-07-11 05:16:27 +00:00
Alfred Perlstein
0ef36920de I have gone through all of the functions and added
the correct includes and changed the functions as
    requested.

Submitted by: Chad David <davidc@acns.ab.ca>
2001-07-11 03:51:44 +00:00
Brian S. Dean
17bbfb5897 Add 'hwatch' and 'dhwatch' ddb commands analogous to 'watch' and
'dwatch'.  The new commands install hardware watchpoints if supported
by the architecture and if there are enough registers to cover the
desired memory area.

No objection by: audit@, hackers@

MFC after: 2 weeks
2001-07-11 03:15:25 +00:00
Matt Jacob
761d6b7150 Hmm. Let's try this on for size...
We originally had it such that if the connection topology was FL-loop
(public loop), we never looked at any local loop addresses. The reason
for not doing that was fear or concern that we'd see the same local
loop disks reflected from the name server and we'd attach them twice.

However, when I recently hooked up a JBOD and a system to an ANCOR SA-8
switch, the disks did *not* show up on the fabric. So at least the
ANCOR is screening those disks from appearing on the fabric. Now, it's
possible this is a 'feature' of the ANCOR. When I get a chance, I'll
check the Brocade (it's hard to do this on a low budget).

In any case, if they *do* also show up on the fabric, we should
simply elect to not log into them because we already have an
entry for the local loop. There is relatively unexercised code
just for this case.

MFC after:	2 weeks
2001-07-11 02:34:21 +00:00
Matt Jacob
cd7c95e0bd Sanity guard- return ENODEV if we don't have a good IRQ resource. 2001-07-11 02:24:28 +00:00
Matt Jacob
71cfb39eb9 Slight cleanliness- add an unlock of Giant in one dopanic case. Do
some very minor formatting changes.
2001-07-11 02:23:31 +00:00
Dima Dorfman
b2c3fa70e3 Correct spelling in a comment and remove trailing newline from a
panic() call (panic() adds it itself).
2001-07-11 02:04:43 +00:00
Bruce A. Mah
3cf5e6ff05 New release note: FreeBSD-SA-01:42. 2001-07-11 01:10:45 +00:00
Bill Paul
962315f66f Two optimizations:
1) Bite the bullet, and allow unaligned accesses without buffer copies
   on the i386 platform. According to some tests run by Andrew Gallatin,
   the buffer copy performance hit is greater than the unaligned access
   performance hit (especially with jumbo frames). We still need to copy
   everywhere else.

2) Enable interrupt moderation with a 100us timeout.

Submitted by: Andrew Gallatin <no longer at duke.edu>
MFC after: 1 week
2001-07-10 23:07:15 +00:00
Ian Dowse
9b5ad47fb7 Bring in dirhash, a simple hash-based lookup optimisation for large
directories. When enabled via "options UFS_DIRHASH", in-core hash
arrays are maintained for large directories. These allow all
directory operations to take place quickly instead of requiring
long linear searches. For now anyway, dirhash is not enabled by
default.

The in-core hash arrays have a memory requirement that is approximately
half the size of the size of the on-disk directory file. A number
of new sysctl variables allow control over which directories get
hashed and over the maximum amount of memory that dirhash will use:

  vfs.ufs.dirhash_minsize
    The minimum on-disk directory size for which hashing should be
    used. The default is 2560 (2.5k).

  vfs.ufs.dirhash_maxmem
    The system-wide maximum total memory to be used by dirhash data
    structures. The default is 2097152 (2MB).

The current amount of memory being used by dirhash is visible
through the read-only sysctl variable vfs.ufs.dirhash_maxmem.
Finally, some extra sanity checks that are enabled by default, but
which may have an impact on performance, can be disabled by setting
vfs.ufs.dirhash_docheck to 0.

Discussed on: -fs, -hackers
2001-07-10 21:21:29 +00:00
Ruslan Ermilov
63b2f7728a mdoc(7) police: eliminate warnings. 2001-07-10 18:43:07 +00:00
Ruslan Ermilov
eb89426722 mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
Ruslan Ermilov
0c93b033d5 mdoc(7) police: sort SEE ALSO xrefs. 2001-07-10 17:52:29 +00:00
David E. O'Brien
115fef5637 VCS ID fixup 2001-07-10 17:50:46 +00:00
David E. O'Brien
c34d5912ba style nits 2001-07-10 17:48:07 +00:00