Commit Graph

20216 Commits

Author SHA1 Message Date
Bruce Evans
08febfa741 Removed nested #include of <sys/conf.h> from <scsi/scsi_driver.h>
and fixed everything that depended on getting it from the wrong
place.  Most of the broken things actually only depended on getting
the declaration of their interrupt handler from "ioconf.h".
1997-03-23 04:40:00 +00:00
Bruce Evans
fe10481de8 Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong
place.  Most things don't depend on file.h stuff at all.
1997-03-23 03:49:00 +00:00
Bruce Evans
3ac4d1ef0c Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.
Fixed everything that depended on getting fcntl.h stuff from the wrong
place.  Most things don't depend on file.h stuff at all.
1997-03-23 03:37:54 +00:00
John Dyson
c5d593ae63 Fix a significant error in the accounting for pre-zeroed pages. This
is a candidate for RELENG_2_2...
1997-03-23 02:44:54 +00:00
John-Mark Gurney
538efd5320 slight fix to gcc's man page... 1997-03-23 00:51:16 +00:00
Bruce Evans
84232bd337 Merged the rest of lfs from Lite2. It compiles (uncleanly) but is as
unlikely to work as before.
1997-03-23 00:45:27 +00:00
Mike Pritchard
641973124a Fix the location of the files in the FILES section.
Closes PR# 3063.

Submitted by:	Kent Vander Velden <graphix@iastate.edu>
1997-03-22 23:59:56 +00:00
Mike Pritchard
88cf6634a5 Add malloc(9) to document the kernel malloc() and free() routines.
Obtained from: NetBSD w/changes to reflect current FreeBSD headers
and diagnostic messages.
1997-03-22 23:50:21 +00:00
Mike Pritchard
1c2eb98219 Remove an extra comma. 1997-03-22 23:48:12 +00:00
Joerg Wunsch
3f5323eb71 Make the argument handling for select() less bogus. Also, move the
amq service from UDP to TCP for better reliability.
1997-03-22 23:12:08 +00:00
Mike Pritchard
5ea8e149f2 Minor mdoc fixes. 1997-03-22 22:47:34 +00:00
Mike Pritchard
c8ff0947c0 Add vslock(9) to document the vslock() and vsunlock() kernel functions.
Obtained from: NetBSD
1997-03-22 22:21:37 +00:00
Mike Pritchard
1e133bd480 One minor mdoc fix. 1997-03-22 22:19:26 +00:00
Mike Pritchard
dad0f56607 Add kernacc(9) that documents the kernacc() and useracc() kernel
functions.

Obtained from: NetBSD (renamed from access.9)
1997-03-22 22:06:07 +00:00
Mike Pritchard
4b2502a3e8 Add physio(9).
Obtained from: NetBSD w/minor FreeBSD changes
1997-03-22 21:31:29 +00:00
Mike Pritchard
b6c4b1903b Add mi_switch.9. It documents the kernel mi_switch() and cpu_switch()
context switching functions.

Obtained from: NetBSD (renamed from ctxsw.9)
1997-03-22 20:59:18 +00:00
Mike Pritchard
9a8f4a4c93 Restore Bruce's original comment. It seems that "iff" = if and only if,
and is not a typo.  It is used other places in the kernel, too.
1997-03-22 20:34:21 +00:00
Mike Pritchard
ec505e0408 Add resettodr(9).
Obtained from: NetBSD
1997-03-22 20:07:04 +00:00
Mike Pritchard
4035c9100d Add inittodr(9) to document how the system clock is initialized.
Obtained from NetBSD and then modified to reflect how things work
in FreeBSD, along with some minor changes to make a few points
clearer.
1997-03-22 19:46:44 +00:00
Mike Pritchard
de1543a46d Add time(9) to document the kernel time variables. Obtained from
NetBSD and then modified by me to reflect some FreeBSD specific
things and to clarify some other pointed based on some old mail
from Bruce Evans about this man page.
1997-03-22 19:09:31 +00:00
KATO Takenori
a8e282d6c3 Oops, I forgot to `cvs add'. This file is a part of new CPU
identification and initialization routines.
1997-03-22 19:00:36 +00:00
KATO Takenori
4c024bbdf8 Improved CPU identification and initialization routines. This
supports All Cyrix CPUs, IBM Blue Lightning CPU and NexGen (now AMD)
Nx586 CPU, and initialize special registers of Cyrix CPU and msr of
IBM Blue Lightning CPU.

If revision of Cyrix 6x86 CPU < 2.7, CPU cache is enabled in
write-through mode.  This can be disabled by kernel configuration
options.

Reviewed by:	Bruce Evans <bde@freebsd.org> and
            	Jordan K. Hubbard <jkh@freebsd.org>
1997-03-22 18:54:54 +00:00
Mike Pritchard
0b6f152321 Remove the text that says nroff and pr automatically disable
writing to the tty while they are running because they don't.
1997-03-22 17:19:32 +00:00
Mike Pritchard
269ebc8621 Fix a typo in a comment of a recent commit. 1997-03-22 16:52:19 +00:00
Jordan K. Hubbard
4f09c5ae25 YAMF22 1997-03-22 15:20:51 +00:00
Doug Rabson
adce8de5c3 Don't indirect through a NULL pointer in rl_strpbrk. This makes filename
completion work in GDB.
1997-03-22 14:03:08 +00:00
Bruce Evans
20cb3c714b Merged enough of lfs from Lite2 for mkdep of LINT to work again. 1997-03-22 09:33:55 +00:00
Bruce Evans
774fce94c0 Removed volatile' from declaration of time', and removed the resulting
null casts.  `time' is nonvolatile for accesses within a region locked
by splclock()/splx().  Accesses outside such a region are invalid, and
splx() must have the side effect of potentially changing all global
variables (since there are hundreds of sort of volatile variables like
`time'), so declaring `time' as volatile didn't have any real benefits.
1997-03-22 08:03:51 +00:00
Bruce Evans
3c81694426 Fixed some invalid (non-atomic) accesses to `time', mostly ones of the
form `tv = time'.  Use a new function gettime().  The current version
just forces atomicicity without fixing precision or efficiency bugs.
Simplified some related valid accesses by using the central function.
1997-03-22 06:53:45 +00:00
Bruce Evans
f90e4276f2 Quick fix for section limits not being relocated. This has always been
broken for gdb -k, but the section limits weren't used much in previous
versions of gdb in FreeBSD.  Now they are used for backtracing when full
symbols aren't available, and in some other new cases.

This should be fixed properly by someone who knows bfd.

This should be fixed in 2.2.
1997-03-22 04:44:51 +00:00
John Dyson
8e56e56134 Decrease the latency/overhead in the prezero code when there is
an adequate number of prezeroed pages.
1997-03-22 04:28:16 +00:00
Bruce Evans
c16cb2c78b Backed out rev.1.27, which broke unmounting of mfs and caused panics
on shutdown.

Should not have been in 2.2 (the buggy last minute change, that is).
1997-03-22 03:59:46 +00:00
John Polstra
32d41c2b07 Add a new "-f" option to the linker, to print the resolved paths
of all the files and libraries in the command line.

Submitted by:	bde (Bruce Evans)
1997-03-22 02:59:40 +00:00
Bruce Evans
7677efc6a4 Don't generate invalid C++ code (for implicit conversion from `void *' in
assignment).
1997-03-22 01:48:17 +00:00
Wolfram Schneider
1d893449f7 Make makewhatis(1) happy. 1997-03-21 20:59:44 +00:00
Mike Pritchard
8a7f0369b3 Use the .Tn macro for generic FreeBSD references. Other minor cleanup. 1997-03-21 20:57:20 +00:00
Mike Pritchard
9de8ddb8bc Mdoc cleanup. 1997-03-21 20:46:30 +00:00
Mike Pritchard
95522ed527 Minor mdoc cleanup - don't use .Pa for non-pathname items. 1997-03-21 20:16:33 +00:00
Mike Pritchard
dd5527c607 Use the .Fx macro for FreeBSD references for releases prior to 2.0.
Use the .Tn macro for generic FreeBSD references.  Cleanup other
formatting problems noticed while making the above changes.
1997-03-21 20:14:15 +00:00
Mike Pritchard
fb5ce63a63 Fix a number of typos and use the .Tn macro where appropriate. 1997-03-21 20:04:21 +00:00
Mike Pritchard
29f7017cff Add all of the pre-FreeBSD 2.0 release to the .Fx macro. 1997-03-21 19:09:21 +00:00
Wolfram Schneider
aaa489a86d Change X Inside to Xi Graphics
See http://www.xig.com/ci/pr/970219.xigraphics.html
Leading Software Company Changes Name to Avoid Confusion with Internet
Porn Denver -- A leading developer of high-performance graphical
software has changed its name from X Inside to Xi Graphics. The
reason: Ongoing confusion between the software developer and the
increasing number of X-rated pornography companies on the Internet
1997-03-21 18:40:08 +00:00
Steve Passe
e75839864d Submitted by: Michael Petry <petry@netwolf.NetMasters.com>
Michael submitted code to activate the audio muxes.

fsmp:
 extended those changes for different boards.
 auto-detection of board types.
 auto-detection of tuner types.
 auto-detection of stereo option.
1997-03-21 17:33:03 +00:00
Steve Passe
d830eb7d9f Submitted by: Michael Petry <petry@netwolf.NetMasters.com>
Michael submitted code to activate the audio muxes.

fsmp:
 extended those changes for different boards.
 auto-detection of board types.
 auto-detection of tuner types.
 auto-detection of stereo option
1997-03-21 17:29:54 +00:00
Wolfram Schneider
3c57a6592b Change domain name xinside.com to xig.com
http://www.xig.com/ci/pr/970219.xigraphics.html

Leading Software Company Changes Name to Avoid Confusion with Internet
Porn Denver -- A leading developer of high-performance graphical
software has changed its name from X Inside to Xi Graphics. The
reason: Ongoing confusion between the software developer and the
increasing number of X-rated pornography companies on the Internet
1997-03-21 17:02:44 +00:00
Bill Paul
effbdb690f Document SCM_CREDS changes. 1997-03-21 16:52:05 +00:00
Bill Paul
0b788fa1da Add support to sendmsg()/recvmsg() for passing credentials between
processes using AF_LOCAL sockets. This hack is going to be used with
Secure RPC to duplicate a feature of STREAMS which has no real counterpart
in sockets (with STREAMS/TLI, you can apparently use t_getinfo() to learn
UID of a local process on the other side of a transport endpoint).

What happens is this: the client sets up a sendmsg() call with ancillary
data using the SCM_CREDS socket-level control message type. It does not
need to fill in the structure. When the kernel notices the data,
unp_internalize() fills in the cmesgcred structure with the sending
process' credentials (UID, EUID, GID, and ancillary groups). This data
is later delivered to the receiving process. The receiver can then
perform the follwing tests:

- Did the client send ancillary data?
	o Yes, proceed.
	o No, refuse to authenticate the client.

- The the client send data of type SCM_CREDS?
	o Yes, proceed.
	o No, refuse to authenticate the client.

- Is the cmsgcred structure the right size?
	o Yes, proceed.
	o No, signal a possible error.

The receiver can now inspect the credential information and use it to
authenticate the client.
1997-03-21 16:12:32 +00:00
Hiroyuki Hanai
68491b9663 Catch up with the original. 1997-03-21 09:46:34 +00:00
Hiroyuki Hanai
aa3f06734f Catch up with the original. 1997-03-21 09:22:24 +00:00
David Greenman
6ebc315326 Added support for newer cards that have the DP83840A PHY chip.
Fixed a bug in fxp_mdi_write - a hex number was missing a preceding 0x
and this was causing the routine to not wait for a PHY write to complete.
Added support for link0, link1, and link2 flags to toggle auto-
negotiation, 10/100, and half/full duplex:

link0	disable auto-negotiation

	When set, these flags then have meaning:

	-link1	10Mbps
	link1	100Mbps
	-link2	half duplex
	link2	full duplex

...needs a manual page.
1997-03-21 08:00:13 +00:00