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
Julian Elischer
45ddd9af7d
some more cleanups
...
still need to handle non-PNP devices properly.
2000-10-26 21:37:38 +00:00
Cameron Grant
9ec437a334
add reinit functions to mixers
...
unstaticize chn_start()
add reset/resetdone functions to channels
2000-10-26 20:46:58 +00:00
Cameron Grant
badd7dc127
do not attach to soundblaster 1.x - they are unsupported
2000-10-26 20:31:16 +00:00
Warner Losh
dc84c5ac4c
Change comment from sprintf to snprintf
2000-10-26 19:46:20 +00:00
Warner Losh
85cc5e3588
Change snprintf to strncpy.
...
Also add a comment about a bogus assumption in the current code found at
bsdcon by jhb.
2000-10-26 19:45:42 +00:00
David Malone
bc367918c8
Improve some slightly confused formatting.
...
Reviewed by: sheldonh
2000-10-26 19:24:29 +00:00
Bruce A. Mah
e5f42fe5ce
Note update of bktr(4) to 2.17 (+MFC) and fix up some problems with
...
a prior note about this driver. Note addition of uscanner(4).
2000-10-26 18:32:19 +00:00
Andrew Gallatin
6a66ff3cd5
fix unaligned access errors caused by bad scanf/printf format strings
...
PR: alpha/21247
tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
2000-10-26 17:40:14 +00:00
Andrew Gallatin
e49012e8ea
fix unaligned access errors by copying untyped data to properly aligned
...
locals
PR: alpha/13912
obtained from: NetBSD
tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
2000-10-26 17:35:46 +00:00
Roger Hardiman
870b024f5d
Add new ioctls for userland access to the MSP device
2000-10-26 16:41:48 +00:00
Andrew Gallatin
382e2ab4b1
add a version tag for the alpha linulator to depend on
2000-10-26 16:31:29 +00:00
Roger Hardiman
9dc7a78df5
Fix typo
2000-10-26 16:27:51 +00:00
Doug Rabson
b2950f19aa
Minor build fixes.
2000-10-26 16:23:18 +00:00
Andrey A. Chernov
aabf7d45a4
Treat c_fmt field as compatibility placeholder
2000-10-26 16:20:57 +00:00
Andrey A. Chernov
c877745700
Force "%c" to be ctime-compatible
...
Submitted by: ru
2000-10-26 16:07:04 +00:00
Tatsumi Hosokawa
21079021da
Added "minimum3": spare room for multilingual installer and driver floppy.
...
The size is 3 x 1.44MB.
2000-10-26 16:00:27 +00:00
Andrew Gallatin
af06b8d8a5
Update osf1_setuid() and osf1_setgid() to use the new change_euid() and
...
change_ruid() in kern_prot.c. This fixes an incorrect use
of chgproccnt().
Update both osf1_setuid() and osf1_setgid() to use setsugid() instead
of just frobbing the flag.
(mostly) submitted by: truckman
2000-10-26 15:53:00 +00:00
Andrew Gallatin
810bfc8ea1
unstaticize change_ruid() because it is needed by osf1_setuid()
2000-10-26 15:49:35 +00:00
Jeroen Ruigrok van der Werven
7e06ffaa30
Add and install the uscanner manpage.
...
Reviewed by: n_hibma
Prodded by: grog
2000-10-26 15:36:36 +00:00
Jeroen Ruigrok van der Werven
eddc45e797
Update @freebsd.org email addresses to @FreeBSD.org as is the
...
precedent.
2000-10-26 15:30:44 +00:00
John W. De Boskey
04063000a5
Always need to 'load /kernel', it's the 'read' that needs to
...
be isolated out for the 2 floppy install.
5.0-20001026-SNAP cdrom now boots correctly.
Reviewed by: Mike Smith <msmith@FreeBSD.org>
2000-10-26 15:22:47 +00:00
Andrey A. Chernov
f0b22c7b6a
Force %c to be "%a %Ef %T %Y" to eliminate problems with bad c_fmt
...
Submitted by: ru
2000-10-26 14:22:41 +00:00
Jordan K. Hubbard
d9be478b74
More explicitly set crypto bits.
...
Partially submitted by: Jeff Kletsky <jeff@spotlife.com>
2000-10-26 13:19:02 +00:00
Ruslan Ermilov
b6ea1aa58d
RFC 791 says that IP_RF bit should always be zero, but nothing
...
in the code enforces this. So, do not check for and attempt a
false reassembly if only IP_RF is set.
Also, removed the dead code, since we no longer use dtom() on
return from ip_reass().
2000-10-26 13:14:48 +00:00