Commit graph

53263 commits

Author SHA1 Message Date
Mike Smith 6dc6d3bb7c Fix typo in the 4.x case. 2000-10-27 23:40:45 +00:00
Cameron Grant d16b567379 implement SNDCTL_DSP_POST 2000-10-27 22:20:45 +00:00
John Baldwin 7c0cb49a64 Fix a couple of whitespace nits. 2000-10-27 21:45:50 +00:00
Poul-Henning Kamp bb2e7ebb7c Remove 86 unneeded #includes 2000-10-27 21:32:10 +00:00
Poul-Henning Kamp c77dceb5d3 Remove more unused #includes. 2000-10-27 21:14:25 +00:00
Mike Pritchard 096ed6644a Typo fix. 2000-10-27 20:55:15 +00:00
Garrett Wollman 9d31ac12b7 Initialize rn_mklist in rn_newpair(). The undocumented assumption
seems to be that the nodes are bzero'd beforehand, but the submitter
found that this was not always the case, and in any event defensive
programming here costs epsilon squared.

PR:		22244
Submitted by:	Dave Gillam <daveg@chiaro.com>
2000-10-27 20:50:14 +00:00
Andrew Gallatin a415ada785 remove a stddef.h missed by phk 2000-10-27 18:57:31 +00:00
Jacques Vidrine 580ef74769 Explicitly initialize _pw_passwd. 2000-10-27 18:27:07 +00:00
Matt Jacob 55acaca9e1 Add usage of M_ZERO to malloc calls where the result was just bzeroed.
PR:		22186
Submitted (partially) by:	josh@zipperup.org
2000-10-27 16:40:57 +00:00
Matt Jacob 657e6b0d78 Add M_ZERO to malloc calls where the result is just bzeroed.
PR:		22188
Submitted (partially) by:	josh@zipperup.org
2000-10-27 16:36:26 +00:00
Matt Jacob f2998370b7 update man page to reflect new support 2000-10-27 16:12:53 +00:00
Jeroen Ruigrok van der Werven e87b9f2824 Use FreeBSD.org, not freebsd.org, as has been the precedent. 2000-10-27 16:05:39 +00:00
Jeroen Ruigrok van der Werven 90165ebba8 Please welcome the asr manpage [no, not alt.sysadmin.recovery], but
the Adaptec SCSI RAID cards.

Submitted by:	msmith, scottl, Mark Salyzyn
2000-10-27 15:54:34 +00:00
Noriaki Mitsunaga d206554f40 Comment out the entry for Workbit Ninja SCSI series in PIO mode.
This confilcted with the entry of non PIO mode.

If you want to use them in PIO mode comment out entry of the non PIO mode
and uncommnet the PIO mode entry.
2000-10-27 13:59:16 +00:00
David E. O'Brien d0eaa94443 Include sys/param.h for `__FreeBSD_version' rather than the non-existent
osreldate.h.

Submitted by:	dougb
2000-10-27 12:53:31 +00:00
Andrey A. Chernov 9d70d03341 Remove ipfilter and mark it as broken until it will be fixed by maintainer.
Not compiles under -current
2000-10-27 12:45:31 +00:00
Hajimu UMEMOTO 4a5af3d0cc Make RES_OPTIONS=inet6 work.
Basically PR22196, but slightly modified.

PR:	bin/22196
2000-10-27 12:34:52 +00:00
Poul-Henning Kamp 46aa3347cb Convert all users of fldoff() to offsetof(). fldoff() is bad
because it only takes a struct tag which makes it impossible to
use unions, typedefs etc.

Define __offsetof() in <machine/ansi.h>

Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h>

Remove myriad of local offsetof() definitions.

Remove includes of <stddef.h> in kernel code.

NB: Kernelcode should *never* include from /usr/include !

Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API.

Deprecate <struct.h> with a warning.  The warning turns into an error on
01-12-2000 and the file gets removed entirely on 01-01-2001.

Paritials reviews by:   various.
Significant brucifications by:  bde
2000-10-27 11:45:49 +00:00
Dag-Erling Smørgrav 303fd73aa7 MFS: don't expect result code until you close the data connection 2000-10-27 11:37:21 +00:00
Doug Barton c9e6ddc6af Expand on the reasons for and against defining NO_F00F_HACK. This is one of
those options that is frequently misunderstood, and ends up on -questions.

PR:		21852
2000-10-27 10:57:33 +00:00
Doug Rabson 445516e4e0 Backout revision 1.7 which was a bad idea since it would force people
to reinstall boot1 after a 'make world'.

Unfortunately this means that people who have already installed a new
boot1 from a 'make world' after 2000/09/18 *must* reinstall it after
their next build using something like:

        # disklabel -B /dev/da0c
2000-10-27 09:36:34 +00:00
Poul-Henning Kamp 9d087b798d Remove bogus undocumented macros used to control conditional assembly. 2000-10-27 08:39:41 +00:00
Poul-Henning Kamp a92ddba779 Remove #if DO_DEFLATE
Remove #if DO_BSD_COMPRESS

They are the wrong way to enable/disable features and undocumented to boot.
2000-10-27 08:38:26 +00:00
Bruce Evans 4a3bb59944 Declare or #define per-cpu globals in <machine/globals.h> in all cases.
The i386 UP case was messily different.
2000-10-27 08:30:59 +00:00
Ruslan Ermilov 3cebc3e4de Fetch the protocol header (TCP, UDP, ICMP) only from the first fragment
of IP datagram.  This fixes the problem when firewall denied fragmented
packets whose last fragment was less than minimum protocol header size.

Found by:	Harti Brandt <brandt@fokus.gmd.de>
PR:		kern/22309
2000-10-27 07:19:17 +00:00
Roger Hardiman 5d4152e3e8 Merge from i386: Add MSP ioctl 2000-10-27 07:07:24 +00:00
Seigo Tanimura c7b0985126 Add Melco LPC2-T/LPC3-TX PCMCIA Ethernet cards. 2000-10-27 06:22:40 +00:00
Mark Murray 5f3431b5ad As the blocking model has seems to be troublesome for many, disable
it for now with an option.

This option is already deprecated, and will be removed when the
entropy-harvesting code is fast enough to warrant it.
2000-10-27 06:06:04 +00:00
Mike Smith cb16d62f47 Add PCI device ID for an upcoming revision of the product. 2000-10-27 05:58:45 +00:00
Mike Smith d1702591ac Add a missing newline to a diagnostic. 2000-10-27 05:58:16 +00:00
David E. O'Brien a918f16a94 Defining usage() "__dead" is just ridiculous. It also won't compile with
a June 2000 GCC 2.96 snapshot.

Reviewed by:	bde
2000-10-27 05:51:59 +00:00
Brian Somers 7c0833500d Report the type of mbuf that couldn't be allocated before
aborting ppp.
2000-10-27 05:34:40 +00:00
John Baldwin 660d1e3a9d Add and document the WITNESS_SKIPSPIN and WITNESS_DDB kernel options. 2000-10-27 03:00:28 +00:00
John Baldwin a5a96a1978 - Use MUTEX_DECLARE() and MTX_COLD for the WITNESS code's internal mutex so
it can function before malloc(9) is up and running.
- Add two new options WITNESS_DDB and WITNESS_SKIPSPIN.  If WITNESS_SKIPSPIN
  is enabled, then spin mutexes are ignored by the WITNESS code.  If
  WITNESS_DDB is turned on and DDB is compiled into the kernel, then the
  kernel will drop into DDB when either a lock hierarchy violation occurs
  or mutexes are held when going to sleep.
- Add some new sysctls:
  debug.witness_ddb is a read-write sysctl that corresponds to WITNESS_DDB.
     The kernel option merely changes the default value to on at boot.
  debug.witness_skipspin is a read-only sysctl that one can use to determine
     if the kernel was compiled with WITNESS_SKIPSPIN.
- Wipe out the BSD/OS-specific lock order lists.  We get to build our own
  lists now as we add mutexes to the kernel.
2000-10-27 02:59:30 +00:00
Tatsumi Hosokawa bc34f29cf4 I don't know what "Toshiba Ethernet Cards" are.
I think this is very old entry and should be removed or
replaced with more accurate ones.
2000-10-27 01:24:36 +00:00
Brian Feldman aa86455875 Fix problems people were having with large -O levels with GCC and
getting libutil/libcrypt to work properly.  I've determined that GCC
thinks it can inline all functions, including weak-symboled ones, if
it feels like it.

Create a new stub.c and move any stubs there to prevent inlining.
Thanks to jdp and William S. Duncanson for helping me finally find the
problem.
2000-10-27 01:19:02 +00:00
Bill Paul 0a46b1dccc Yet another bug fix/optimization for the Davicom DM9100/9102: increase
the PCI latency timer value to 0x80. Davicom's Linux driver does this,
and it drastically reduces the number of TX underruns in my tests. (Note:
this is done only for the Davicom chips. I'm not sure it's a good idea to
do it for all of them.)

Again, still waiting on confirmation before merging to stable.
2000-10-27 00:15:04 +00:00
John Baldwin 7dbdc1bff4 Add in MLINKS for all of the various mutex functions to mutex.9 2000-10-26 23:54:10 +00:00
John Baldwin 2c3d0ee6f4 - Document MUTEX_DECLARE and MTX_COLD
- Clean up some minor nits
2000-10-26 23:53:12 +00:00
John Baldwin 26fdc7e05b Add a note that the spl() API is deprecated in favor of mutexes. 2000-10-26 23:30:01 +00:00
Nik Clayton de06f907d1 Add a prototype mbuf.9 man page. Probably needs work, but it's a good
start.

PR:             docs/22053
Submitted by:   Yar Tikhiy <yar@comp.chem.msu.su>
2000-10-26 23:15:47 +00:00
Nik Clayton b69358a992 Remove a doubled "in the".
PR:             docs/22140
Submitted by:   Cyrille Lefevre <clefevre@citeweb.net>
2000-10-26 23:13:10 +00:00
Nik Clayton c45b509bf4 Update to include a link to the referenced papers when PRINTERDEVICE=html
PR:             docs/22140
Submitted by:   Cyrille Lefevre <clefevre@citeweb.net>
2000-10-26 23:12:12 +00:00
Gregory Neil Shapiro d1ba25f456 Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
Andrey A. Chernov a91655018d For %c replace reference to asctime(3) with ctime(3) from which %c genetically
originates
2000-10-26 22:11:11 +00:00
Julian Elischer 96305e8f3e Add copyright to skeleton. 2000-10-26 21:53:37 +00:00
Bruce A. Mah 5a817b9ba6 Sigh. It'd be nice to completely commit a bugfix. Once again:
Fix a bug in which pkg_version(1) was ignoring $PORTREVISION
or $PORTEPOCH from ports' Makefile definitions.
2000-10-26 21:50:41 +00:00
David E. O'Brien bc6049dd46 Install the loader manpages. 2000-10-26 21:47:59 +00:00
Bruce A. Mah 8a755120e7 Fix a bug in which pkg_version(1) was ignoring $PORTREVISION
or $PORTEPOCH from ports' Makefile definitions.
2000-10-26 21:38:44 +00:00