Commit Graph

141426 Commits

Author SHA1 Message Date
thorpej 4537c59ffb Add swcrypto 2005-11-25 16:42:55 +00:00
thorpej cfc81086d9 swcr -> swcrypto 2005-11-25 16:41:31 +00:00
thorpej 7385cdd346 "pseudo-device crypto" really refers to the /dev/crypto API to the
opencrypto framework, not the framework itself.  Update the comment
accordingly.
2005-11-25 16:35:11 +00:00
thorpej 751f32db24 Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
commented out).
2005-11-25 16:30:23 +00:00
thorpej 7bc6d90c9d - De-couple the software crypto implementation from the rest of the
framework.  There is no need to waste the space if you are only using
  algoritms provided by hardware accelerators.  To get the software
  implementations, add "pseudo-device swcr" to your kernel config.
- Lazily initialize the opencrypto framework when crypto drivers
  (either hardware or swcr) register themselves with the framework.
2005-11-25 16:16:46 +00:00
tsutsui f7e281c38a Remove unnecessary byteswap code so that bge(4) should work
at least on macppc.
2005-11-25 15:30:34 +00:00
simonb 35c06e774b More KNF. 2005-11-25 14:10:35 +00:00
simonb f550ec6c5a Include <sys/systm.h> if we use printf(), instead of relying on some
other random header pulling <sys/systm.h> in for us.
2005-11-25 13:55:14 +00:00
tsutsui 648f74397a No need to include <machine/vmparam.h> here. 2005-11-25 13:37:58 +00:00
elad d51a16a060 Remove few no longer needed XXX comments about fsid/fileid being
not the same type as dev_t/ino_t.
2005-11-25 12:02:09 +00:00
simonb 29d9af43d0 KNF. 2005-11-25 11:50:55 +00:00
hannken 1ea5b5631c Make it compile on archs without __HAVE_RAS. 2005-11-25 11:29:48 +00:00
agc 40a712f2d4 Be pragmatic - move user(8) to a 3-clause BSD licence. 2005-11-25 08:00:18 +00:00
christos 8dc8acfeef from http://www.openssl.org/source 2005-11-25 03:02:45 +00:00
lukem 03353d54d6 NLST should return 450 instead of 550 upon error, per RFC 959. 2005-11-24 23:47:23 +00:00
wiz 80e8ea1ea5 Use Fa for a structure member. 2005-11-24 22:18:03 +00:00
rpaulo 190e47aa8d Proper indent the last entry. 2005-11-24 20:48:55 +00:00
wiz 11cf64bdd7 New sentence, new line. Remove trailing whitespace.
Mark up paths with .Pa.
2005-11-24 20:23:02 +00:00
dsl b184d489b2 We don't need 'le' here, I'm not sure amd64 GENERIC deserves it either. 2005-11-24 20:06:53 +00:00
wiz b0e357e4fe Article improvements. 2005-11-24 19:40:16 +00:00
wiz c460143353 Article improvements. Use more macros. Sort SEE ALSO. 2005-11-24 19:39:56 +00:00
wiz abb7e1e8ca Grammar fix, HTML quoting, sort SEE ALSO. 2005-11-24 19:36:43 +00:00
wiz 4b2675b81a Drop trailing whitespace. 2005-11-24 19:32:35 +00:00
thorpej da4c72ac64 Make a couple of functions static. 2005-11-24 18:36:50 +00:00
rpaulo 187566e289 Mention $ip6sitelocal removal. 2005-11-24 17:35:59 +00:00
rpaulo 7acb962baa RFC 3879 deprecated the IPv6 site-local prefix (fec0::/10):
* remove all references to $ip6sitelocal and output a warning
    message if the variable is defined.
    * introduce $ip6uniquelocal (defaults to 'NO') that will control the
    behaviour of the system when $ip6mode is ``router'' (i.e. fc00::/7
    will not be routed if the variable is ``NO'') as per RFC 4193.

Thanks to Jonathan A. Kollasch for pointing this out in PR 32152.
2005-11-24 17:28:45 +00:00
macallan 631f2d878c build the apm utility on sparc since we already build apmd 2005-11-24 15:47:09 +00:00
martin 328b263349 Use %zd for size_t. Noticed by Kurt Schreiner on current-users. 2005-11-24 13:47:46 +00:00
fredb c3ec7554f8 Initialize "mapped" before any of the "goto"'s, so we're not testing an
uninitialized variable at "bad:".
2005-11-24 13:34:55 +00:00
he 3c33ccf011 Remove declaration of a variable which is no longer used. 2005-11-24 13:33:33 +00:00
yamt bc21da4cfb bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!
2005-11-24 13:08:32 +00:00
yamt 6eaa98c111 use .d mechanism for kernel as well. 2005-11-24 13:01:42 +00:00
dbj 8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
he 9476e5349e Make sure the file ends with a newline, so the port builds again. 2005-11-24 12:11:32 +00:00
dyoung 7e173af81d Put the microsecond timestamp in the radiotap header for received
frames.
2005-11-24 09:58:39 +00:00
yamt 48b26c0311 .Xr kcont and workqueue each other. 2005-11-24 08:24:01 +00:00
yamt 224db8bcf4 document workqueue. 2005-11-24 08:20:51 +00:00
yamt b874a47774 add RUN_ONCE. 2005-11-24 08:16:21 +00:00
yamt 2c4cbc68d8 document RUN_ONCE. 2005-11-24 08:14:13 +00:00
jonathan 43255e3f4e Add TSO support to bge(4) for PCI-Express bge devices, which are
shipped from the factory with TSO-capable firmware.  The TSO support
here may also work on 5705 chips, but that is (so far) untested.

TSO support written after careful reading of the Linux tg3 driver,
and (after attempting to deconstruct the cut-and-paste mess therein)
very close reading of the Broadcom-supplied Linux driver, particularly
the building of Tx-DMA buffer descriptors (bds). The TSO code herein was
then rewritten from scratch, circa 4am local time, October 27 2005.
(In other words: this is 4am software; caveat emptor.)

Other magic register settings in this patch are required; without
them, attepmting to use TSO locks up the chip. The required register
settings were extracted from the cited Linux drivers.

Note that TSO-capable firmware for the 5703/5704 is distributed in
non-GPL form with the aforementioned Linux drivers. Once the 5705 case
is debugged, (particularly the pseudo-header checksum precalculation
flagged with an XXX) downloading that TSO-capable firmware to the
5703/5704 should, in principle, enable TSO support on all but the
original bcm5700 (I forget if the 5701 can support TSO, or not).

Note also that the ``hard case '' of IP/TCP headers spanning more than
one mbuf is not handled; I haven't been able to trigger it.  In any
case, since TSO applies only to packets generated by the local TCP,
and our TCP always leaves space for TCP headers and a normal IP
header, TSO on an IP/TCP header spanning multiple headers can only
arise due to insertion of IP options. I beleive that we are clearly
better off outlawing that case, and requiring ip_insertoptions()
to  pull-up TCP headers on any packets with M_CSUM_TSOv4 set.

As far as I know, bge hardwar does not support TSO for IPv6.
2005-11-24 03:27:59 +00:00
manu 2697809839 To awake all processes sleeping on a futex, set maximum value to 0x7fffffff
instead of -1 (0xffffffff): the value is signed...
2005-11-23 22:38:46 +00:00
manu c06b3dd8a8 Remove a debug printf 2005-11-23 22:23:30 +00:00
christos dcc61c764f Fix 64 bit truncation problem reported by http://www.securitylab.net 2005-11-23 22:00:32 +00:00
skrll 3b6e301485 Fix the handling of ENETRESET in iwi_ioctl.
This fixes PR 32143
2005-11-23 20:35:54 +00:00
skrll 0b25d36d6a Update for recent changes and after tweaking the command to generate
this:

	- use UTC
	- only list the changes to HEAD.
2005-11-23 20:29:08 +00:00
skrll d40d6be769 Correct a bpf tap. 2005-11-23 20:08:29 +00:00
riz 752c0a4023 Special-case the Linksys EG1032 cards using PCI subsystem ID; rev. 2 uses
the sk(4) driver, while rev. 3 needs re(4).

Mostly from brad@openbsd.
2005-11-23 18:56:22 +00:00
he b5d827cee2 Use of ``vflag'' should be protected by #ifndef SMALL. 2005-11-23 18:34:51 +00:00
manu 11edc2c441 I'm responsible for COMPAT_{IRIX|MACH|DARWIN|LINUX/amd64} 2005-11-23 18:11:16 +00:00
manu 23cf341ea0 - Add Linux tkill and tgkill (partial emulation).
- Fix getrlimit on amd64
2005-11-23 16:14:57 +00:00