Mike Barcroft
696fbe6b05
o Adjust the SEM_VALUE_MAX macro so that <machine/limits.h> isn't
...
needed.
o Remove unneeded includes which only add namespace pollution.
o Sort function prototypes.
o Add restrict type-qualifier to sem_getvalue().
2002-10-04 21:31:33 +00:00
Sam Leffler
b18fda4edd
add support for /dev/crypto
2002-10-04 20:44:46 +00:00
Sam Leffler
3feb456215
install sys/opencrypto include files in /usr/include/crypto
2002-10-04 20:44:28 +00:00
Sam Leffler
f4bf433552
manual pages for the new kernel crypto support (need work)
...
Obtained from: openbsd
2002-10-04 20:43:30 +00:00
Sam Leffler
8b7ce2ff52
hookup new crypto support to the config/build process
2002-10-04 20:42:36 +00:00
Sam Leffler
14c17bd293
New bus_dma interfaces for use by crypto device drivers:
...
o bus_dmamap_load_mbuf
o bus_dmamap_load_uio
Test on i386. Known to compile on alpha and sparc64, but not tested.
Otherwise untried.
2002-10-04 20:40:39 +00:00
Sam Leffler
c4f9e3ae7f
add crypto interface to the MFILES list
2002-10-04 20:36:39 +00:00
Sam Leffler
ddba93fdbe
major 70 is for /dev/crypto (to be consistent with openbsd)
2002-10-04 20:36:13 +00:00
Sam Leffler
b9085a05a8
module for ubsec crypto driver
2002-10-04 20:35:33 +00:00
Sam Leffler
2fab417438
module for hifn driver
2002-10-04 20:35:23 +00:00
Sam Leffler
aed23bc4ce
module for /dev/crypto support
2002-10-04 20:35:02 +00:00
Sam Leffler
b35c7eef04
add DTYPE_CRYPTO for use by /dev/crypto support
2002-10-04 20:34:30 +00:00
Sam Leffler
9b53341f29
add RANDOM_PURE for use by crypto drivers that harvest data from h/w RNG's
2002-10-04 20:34:08 +00:00
Sam Leffler
107c3eaaac
Crypto device driver for Broadcom-based cards. Known to work with 582x-based
...
cards. Supposed to work with several others.
Obtained from: openbsd
2002-10-04 20:33:20 +00:00
Sam Leffler
6d161891fe
Crypto device driver for hifn-based cards. Tested with 7951-, and 7811-based
...
cards. Claimed to support many others.
Obtained from: openbsd
2002-10-04 20:32:37 +00:00
Sam Leffler
091d81d134
In-kernel crypto framework derived from openbsd. This facility provides
...
a consistent interface to h/w and s/w crypto algorithms for use by the
kernel and (for h/w at least) by user-mode apps. Access for user-level
code is through a /dev/crypto device that'll eventually be used by openssl
to (potentially) accelerate many applications. Coming soon is an IPsec
that makes use of this service to accelerate ESP, AH, and IPCOMP protocols.
Included here is the "core" crypto support, /dev/crypto driver, various
crypto algorithms that are not already present in the KAME crypto area,
and support routines used by crypto device drivers.
Obtained from: openbsd
2002-10-04 20:31:23 +00:00
Poul-Henning Kamp
5fd43411f3
Give make(1) the ability to use KQUEUE to wait for worker processes
...
instead of polling for them.
Unfortunately we cannot enable it yet because it panics the kernel
somewhere in kqueue.
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
2002-10-04 20:30:03 +00:00
John Baldwin
fa778f80c2
Fix a bogon in previous commit. bcopy() from the malloc'd memory that we
...
already copied into, rather than doing the bcopy() from the userland
pointer. "Oops."
2002-10-04 20:19:36 +00:00
Mitsuru IWASAKI
17341d1011
Resolve conflicts arising from the ACPI CA 20021002 import.
2002-10-04 20:09:19 +00:00
Mitsuru IWASAKI
2bff3f6b33
This commit was generated by cvs2svn to compensate for changes in r104470,
...
which included commits to RCS files with non-trunk default branches.
2002-10-04 20:07:58 +00:00
Mitsuru IWASAKI
07a5b5c0b6
Vendor import of the Intel ACPI CA 20021002 drop.
2002-10-04 20:07:58 +00:00
Poul-Henning Kamp
a5bdf7706c
White-space change only. Move closer to style(9).
2002-10-04 18:10:39 +00:00
Bruce A. Mah
2e2b41497b
Remove matcd(4) device.
2002-10-04 16:53:39 +00:00
Bruce A. Mah
5a2042977b
New release notes: matcd(4) removal, libbsdxml.
...
While here, fix a minor style nit.
2002-10-04 16:53:12 +00:00
Tim J. Robbins
26cabd19d5
Fix off-by-one error processing the line after an empty line when the
...
-a option is not specified.
Submitted by: schweikh
MFC after: 1 week
2002-10-04 16:45:25 +00:00
Ruslan Ermilov
b0eca2c865
Sort in ``phone directory'' order (except for LIBC_*).
2002-10-04 16:25:08 +00:00
Giorgos Keramidas
7528dee5eb
Add a couple of missing ':' in panic msgs.
...
Suggested by: gallatin
2002-10-04 15:58:03 +00:00
Giorgos Keramidas
48eaa43e79
Fix typo in panic msg.
...
Reviewed by: gallatin
2002-10-04 15:56:02 +00:00
Ruslan Ermilov
d4a2b97450
Minor tweaks to make this manpage readable.
2002-10-04 15:07:39 +00:00
Ruslan Ermilov
a1c8598e38
Style.
...
Approved by: phk
2002-10-04 15:06:44 +00:00
Daniel Eischen
80047e95cf
Add another temporary hack to allow running older i386 binaries.
...
This will be removed when new versions of syscalls sigreturn()
and sigaction() are added (mini is working on this but is in
the middle of a move).
This should fix the problem of cvsupd dying.
2002-10-04 14:50:55 +00:00
Yoshihiro Takahashi
bd8ab1f63e
Include <sys/diskpc98.h>
2002-10-04 14:05:00 +00:00
Poul-Henning Kamp
2cf7136979
Connect libbsdxml (nee libexpat) to the build.
2002-10-04 13:40:39 +00:00
Poul-Henning Kamp
2024748156
Reflect the fact that we install our libexpat as libbsdxml.
2002-10-04 13:36:12 +00:00
Poul-Henning Kamp
38e2693b94
Unhook the SCSI CD driver from the disk "mini-layer" and/or GEOM.
...
SCSI disks are too square pegs for the round holes in both of these.
And since atapi-cd has clearly shown that there are better acccess
models for CD media than trying to pretend to be a classical disk,
we stop the masquerade rather than patch up the costume.
But do implement the DIOCGMEDIASIZE and DIOCGSECTORSIZE so it will
be possible to manually attach to GEOM, should some the need arise.
Ideally, this driver should do media-detection and call make_dev()
when a CD is inserted and destroy_dev() when it is removed, this
would allow our future devd(8) to automount etc etc but coding that
takes SCSI-clue beyond anything I posses.
Tested on: sparc64
2002-10-04 13:33:30 +00:00
Bruce Evans
c6a1c7c5b9
Use the -mno-align-long-strings on i386's to debloat the kernel a little.
...
This reduces the size of GENERIC's text space by 73999 bytes (about 2%).
The bloat is from approximately 3437 strings longer than 31 characters
being padded to a 32-byte boundary.
2002-10-04 12:54:36 +00:00
Robert Drehmel
45408a8564
Correct the regressive part of my last commit to these files:
...
use the .Fn macro instead of the .Fo ... .Fc combination to
format function prototypes.
Reminded by: bde
2002-10-04 11:31:00 +00:00
Poul-Henning Kamp
8a349ed8fe
Ok, concensus was to install libexpat under a "private brandname", and after
...
some deliberation the name "libbsdxml" was chosen since it conveys the two
most important attributes: "Private to FreeBSD" and "XML".
Add a skeleton man-page to give the credit and point for further
documentation. (If somebody wants to write a true mdoc manpage for
this I am sure both the eXpat people and I will be grateful).
(Still not connected to the build)
2002-10-04 11:20:18 +00:00
Poul-Henning Kamp
2874f1cf36
Properly isolate the locking domains of sysctl from the topology lock
...
for the sysctls which report the configuration.
Sponsored by: DARPA & NAI Labs.
2002-10-04 10:38:36 +00:00
Poul-Henning Kamp
0cc3011d52
Implement the "kern.disks" sysctl in GEOM.
...
This makes "mdconfig -l" work again.
Sponsored by: DARPA & NAI Labs.
2002-10-04 10:15:26 +00:00
Poul-Henning Kamp
8be2bc5c6f
Properly conditionalize a debugging printf.
...
Sponsored by: DARPA & NAI Labs.
2002-10-04 10:06:19 +00:00
Poul-Henning Kamp
c5f9218b48
Add the new function "sbuf_done()" which returns non-zero if the sbuf is
...
finished.
This allows sbufs to be used for request/response scenarioes without
needing additional communication flags.
Sponsored by: DARPA & NAI Labs.
2002-10-04 09:58:17 +00:00
Matthew N. Dodd
bafe85a4ad
Remove duplicate make_dev() calls.
2002-10-04 08:33:10 +00:00
Matthew N. Dodd
e73b093aa9
Turn on the mcd(4) module.
2002-10-04 07:15:34 +00:00
Matthew N. Dodd
3ae5b53264
newbus & bus_space the mcd(4) driver.
2002-10-04 07:14:19 +00:00
Scott Long
0910374b7f
Alas, poor matcd, I knew ye well.
...
It doesn't work.
It cannot be made to work.
Goodbye.
X-MFC after: ASAP
2002-10-04 06:06:04 +00:00
Tim J. Robbins
fd4f1dd9fa
Add a placeholder implementation of wcscoll() and wcsxfrm() which gives
...
locale-sensitive collation only in single-byte locales, and just does
binary comparison for the others with extended character sets.
2002-10-04 03:18:26 +00:00
Garrett Wollman
92d0f59903
Yesterday, FreeBSD-current ate my disklabel.
...
Today, I wrote a program to tell me where the partitions used to be.
Now I have my /media filesystem back.
2002-10-04 03:06:16 +00:00
Matthew N. Dodd
efe66a4be9
Minor style(9) changes.
2002-10-04 02:21:26 +00:00
Matthew N. Dodd
4c7a1919f6
Remove duplicate calls to make_dev().
2002-10-04 01:58:55 +00:00