Commit Graph

81141 Commits

Author SHA1 Message Date
sam
f7237140db 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
b1d54923c1 add crypto interface to the MFILES list 2002-10-04 20:36:39 +00:00
sam
f3a0fba9c6 major 70 is for /dev/crypto (to be consistent with openbsd) 2002-10-04 20:36:13 +00:00
sam
d9e1d1315f module for ubsec crypto driver 2002-10-04 20:35:33 +00:00
sam
d6f6260512 module for hifn driver 2002-10-04 20:35:23 +00:00
sam
4af76b29bc module for /dev/crypto support 2002-10-04 20:35:02 +00:00
sam
60303d6be2 add DTYPE_CRYPTO for use by /dev/crypto support 2002-10-04 20:34:30 +00:00
sam
41a19fd5a1 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
eaab30678a 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
2bdbb70337 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
ab874cce28 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
phk
29388ae75c 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
jhb
4c4b0956f2 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
iwasaki
b88c409c10 Resolve conflicts arising from the ACPI CA 20021002 import. 2002-10-04 20:09:19 +00:00
iwasaki
3521446156 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
iwasaki
3b2a4f1cbe Vendor import of the Intel ACPI CA 20021002 drop. 2002-10-04 20:07:58 +00:00
phk
59e0ccc41d White-space change only. Move closer to style(9). 2002-10-04 18:10:39 +00:00
bmah
7392cdbc7d Remove matcd(4) device. 2002-10-04 16:53:39 +00:00
bmah
a5c731d847 New release notes: matcd(4) removal, libbsdxml.
While here, fix a minor style nit.
2002-10-04 16:53:12 +00:00
tjr
d395697e0c 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
ru
0bebe89d8e Sort in ``phone directory'' order (except for LIBC_*). 2002-10-04 16:25:08 +00:00
keramida
0623cf3912 Add a couple of missing ':' in panic msgs.
Suggested by:	gallatin
2002-10-04 15:58:03 +00:00
keramida
22f6e9615a Fix typo in panic msg.
Reviewed by:	gallatin
2002-10-04 15:56:02 +00:00
ru
7d1af3e891 Minor tweaks to make this manpage readable. 2002-10-04 15:07:39 +00:00
ru
df94513b6b Style.
Approved by:	phk
2002-10-04 15:06:44 +00:00
deischen
faf22b0a62 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
nyan
6671a15119 Include <sys/diskpc98.h> 2002-10-04 14:05:00 +00:00
phk
c680b4118d Connect libbsdxml (nee libexpat) to the build. 2002-10-04 13:40:39 +00:00
phk
99426f2b88 Reflect the fact that we install our libexpat as libbsdxml. 2002-10-04 13:36:12 +00:00
phk
dcac65e444 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
bde
01c58852ba 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
f626e4a31a 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
phk
8caa53ff8d 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
phk
a84bbedb1c 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
phk
6703cedd97 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
phk
4c115ccdbf Properly conditionalize a debugging printf.
Sponsored by:	DARPA & NAI Labs.
2002-10-04 10:06:19 +00:00
phk
4bf9673a25 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
mdodd
fcfee50e74 Remove duplicate make_dev() calls. 2002-10-04 08:33:10 +00:00
mdodd
2949e82296 Turn on the mcd(4) module. 2002-10-04 07:15:34 +00:00
mdodd
129630f9e6 newbus & bus_space the mcd(4) driver. 2002-10-04 07:14:19 +00:00
scottl
608989de00 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
tjr
3db1855e0f 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
wollman
72fce02ffb 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
mdodd
c1a88fa07e Minor style(9) changes. 2002-10-04 02:21:26 +00:00
mdodd
46cd05ea79 Remove duplicate calls to make_dev(). 2002-10-04 01:58:55 +00:00
peter
af6780eec7 Gah, spell extern correctly. Do not trust cut/paste via old mozilla
builds.
2002-10-04 01:57:46 +00:00
peter
ae2d6cec8d List the IO SAPIC delivery mode definitions. 2002-10-04 01:33:30 +00:00
peter
61c53e808b Add some unspeakable hackery to the tree under #ifdef __ia64__ to work
around limitations in the ia64 kernel stack handling code.  Basically
preallocate a bunch of threads (and hence kstacks) while contigmalloc()
still works, and never free them back to the general memory pool.  After
the system has been running for a while, contigmalloc() eventually fails
at a critical momemt and panics the system.
2002-10-04 01:31:39 +00:00
peter
97b59f8ea5 Declare itc_frequency and itm_reload. 2002-10-04 01:23:58 +00:00
grehan
1639302106 Clean up ddb warnings/errors and enable in GENERIC
Approved by: benno
Motivated by: gallatin
2002-10-04 01:19:18 +00:00