]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoEliminate mdocNG warnings caused by misplaced or extraneous macro calls.
Ruslan Ermilov [Wed, 28 Feb 2001 17:38:53 +0000 (17:38 +0000)]
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.

23 years agoUse EV_SET() macro to initialize kevent structure.
Jonathan Lemon [Wed, 28 Feb 2001 16:16:31 +0000 (16:16 +0000)]
Use EV_SET() macro to initialize kevent structure.

23 years agoAdd missing prefix for nano, I presume this was missing 'cos of the
David Malone [Wed, 28 Feb 2001 16:00:32 +0000 (16:00 +0000)]
Add missing prefix for nano, I presume this was missing 'cos of the
prefix recusrion bug. Remove units which can be derived using prefixes
and other units.

Add new prefixes for 2^10, 2^20, etc...

23 years agoGive units a bit of a cleanup:
David Malone [Wed, 28 Feb 2001 15:57:38 +0000 (15:57 +0000)]
Give units a bit of a cleanup:

1) Fix a bug where the recursion on prefixes where if recusrion failed
then the next attempt started too far along the string.
2) Up some internal limits that we were about to hit off.
3) Change the constness and signedness of some things and complete missing
prototypes.
4) Remove the readerror function 'cos it could print out the wrong
wrong file name. Replace it with more useful error messages.
5) Use sizeof when passing buffers to fgets.
6) Warn about empty prefix definitions.

Reviewed by: iedowse

23 years agoUse the new EV_SET macro to insure that all fields in struct kevent
Jonathan Lemon [Wed, 28 Feb 2001 15:47:47 +0000 (15:47 +0000)]
Use the new EV_SET macro to insure that all fields in struct kevent
are correctly initialized before use.  This should fix the problem
with DNS.

Pointy hat to:  me

23 years agoPrepare for mdocNG.
Ruslan Ermilov [Wed, 28 Feb 2001 13:18:04 +0000 (13:18 +0000)]
Prepare for mdocNG.

23 years agomdoc(7) police: prepare for mdocNG.
Ruslan Ermilov [Wed, 28 Feb 2001 13:11:51 +0000 (13:11 +0000)]
mdoc(7) police: prepare for mdocNG.

23 years agomdoc(7) police: fix the .Nd line broken in previous revision.
Ruslan Ermilov [Wed, 28 Feb 2001 12:54:16 +0000 (12:54 +0000)]
mdoc(7) police: fix the .Nd line broken in previous revision.

Noticed by: bde

Use .Bx for ``BSD''.

23 years agoFix style bug I introduced with rev 1.13 (rcsid after includes).
David E. O'Brien [Wed, 28 Feb 2001 11:06:04 +0000 (11:06 +0000)]
Fix style bug I introduced with rev 1.13 (rcsid after includes).
Along with CSRG id lossage in rev 1.11.

Submitted by: bde

23 years agoAllow "NOSHARED" to be overridden.
David E. O'Brien [Wed, 28 Feb 2001 10:46:50 +0000 (10:46 +0000)]
Allow "NOSHARED" to be overridden.

Submitted by: bde

23 years agoFix jails.
Poul-Henning Kamp [Wed, 28 Feb 2001 09:38:48 +0000 (09:38 +0000)]
Fix jails.

23 years agoip6fw doesn't support -q if reading from a file so don't use ${fw6cmd} which
Gregory Neil Shapiro [Wed, 28 Feb 2001 06:51:17 +0000 (06:51 +0000)]
ip6fw doesn't support -q if reading from a file so don't use ${fw6cmd} which
may have a -q if ${ipv6_firewall_quiet} is set.

Reviewed by: kris

23 years agoIt is now safe to go back into the water.
Warner Losh [Wed, 28 Feb 2001 05:45:16 +0000 (05:45 +0000)]
It is now safe to go back into the water.

23 years agoLinux does not filesystem-sync file-backed writable mmap pages on
Matthew Dillon [Wed, 28 Feb 2001 04:30:27 +0000 (04:30 +0000)]
Linux does not filesystem-sync file-backed writable mmap pages on
a regular basis.  Adjust our linux emulation to conform.  This will
cause more dirty pages to be left for the pagedaemon to deal with,
but our new low-memory handling code can deal with it.   The linux
way appears to be a trend, and we may very well make MAP_NOSYNC the
default for FreeBSD as well (once we have reasonable sequential
write-behind heuristics for random faults).
(will be MFC'd prior to 4.3 freeze)

Suggested by: Andrew Gallatin

23 years agoIf we intend to make the page writable without requiring another fault,
Matthew Dillon [Wed, 28 Feb 2001 04:26:43 +0000 (04:26 +0000)]
If we intend to make the page writable without requiring another fault,
make sure that PG_NOSYNC is properly set.  Previously we only set it
for a write-fault, but this can occur on a read-fault too.
(will be MFCd prior to 4.3 freeze)

23 years agoFix lockup for loopback NFS mounts. The pipelined I/O limitations could be
Matthew Dillon [Wed, 28 Feb 2001 04:13:11 +0000 (04:13 +0000)]
Fix lockup for loopback NFS mounts.  The pipelined I/O limitations could be
hit on the client side and prevent the server side from retiring writes.
Pipeline operations turned off for all READs (no big loss since reads are
usually synchronous) and for NFS writes, and left on for the default bwrite().
(MFC expected prior to 4.3 freeze)

Testing by: mjacob, dillon

23 years agoFix dependencies and cleanup spacing in the file
Gregory Neil Shapiro [Wed, 28 Feb 2001 04:04:07 +0000 (04:04 +0000)]
Fix dependencies and cleanup spacing in the file

23 years agoFix dependencies and use a better variable name
Gregory Neil Shapiro [Wed, 28 Feb 2001 04:03:51 +0000 (04:03 +0000)]
Fix dependencies and use a better variable name

23 years agoUpdate HISTORY.
David E. O'Brien [Wed, 28 Feb 2001 03:33:44 +0000 (03:33 +0000)]
Update HISTORY.

23 years agonewbus_ioconf() is long gone
Peter Wemm [Wed, 28 Feb 2001 02:55:15 +0000 (02:55 +0000)]
newbus_ioconf() is long gone

23 years agoSigh. Try to get priorities sorted out. Don't bother trying to
Jake Burkholder [Wed, 28 Feb 2001 02:53:44 +0000 (02:53 +0000)]
Sigh.  Try to get priorities sorted out.  Don't bother trying to
update native priority, it is diffcult to get right and likely
to end up horribly wrong.  Use an honestly wrong fixed value
that seems to work; PUSER for user threads, and the interrupt
priority for ithreads.  Set it once when the process is created
and forget about it.

Suggested by: bde
Pointy hat: me

23 years agoSome more tidying up. we dont use config-dependent anyware. Eliminate
Peter Wemm [Wed, 28 Feb 2001 02:53:32 +0000 (02:53 +0000)]
Some more tidying up. we dont use config-dependent anyware.  Eliminate
some duplicate code (cut/paste bug?). tidy up some other minor stuff.

23 years agoAdd a pointer to the ORBS web site for more DNS black hole lists.
Gregory Neil Shapiro [Wed, 28 Feb 2001 02:47:52 +0000 (02:47 +0000)]
Add a pointer to the ORBS web site for more DNS black hole lists.

23 years agos/special/compilewith/ (so I stop confusing myself) and GC an unused
Peter Wemm [Wed, 28 Feb 2001 02:30:30 +0000 (02:30 +0000)]
s/special/compilewith/ (so I stop confusing myself) and GC an unused
function I missed before.

23 years agoUntangle some special magic that happened for conflicting defintions for
Peter Wemm [Wed, 28 Feb 2001 02:07:47 +0000 (02:07 +0000)]
Untangle some special magic that happened for conflicting defintions for
local files.* and options.* files on the third pass.

23 years agoFixup some of the commented out examples:
Gregory Neil Shapiro [Wed, 28 Feb 2001 02:06:46 +0000 (02:06 +0000)]
Fixup some of the commented out examples:

1) blackholes.mail-abuse.org is the same as FEATURE(dnsbl), so specifying
it in the "Other DNS based black hole lists" section leads to confusion of
specifying it twice.

2) Formatting issues. If error diagnostic not enclosed in double quotes,
varius visual artefacts appearse like 1) no space after ; and 2) redundant
space after ? (in CGI request), so I add quotes where needed.

3) FEATURE(dnsbl) directly use error code 550 by default, so I made other
dnsbl variants use the same error code too.

4) Comment relays.* list as "open relays" list, just "other" word is not
explain enough.

Submitted by: ache

23 years agoThe HEAD now has sendmail 8.11.3
Gregory Neil Shapiro [Wed, 28 Feb 2001 01:51:13 +0000 (01:51 +0000)]
The HEAD now has sendmail 8.11.3

23 years agoAdd release notes for the sendmail-related build infrastructure changes.
Gregory Neil Shapiro [Wed, 28 Feb 2001 01:49:57 +0000 (01:49 +0000)]
Add release notes for the sendmail-related build infrastructure changes.

23 years agoRemove some more dead code. :-/
Peter Wemm [Wed, 28 Feb 2001 01:38:01 +0000 (01:38 +0000)]
Remove some more dead code. :-/

23 years agoGC some leftover stuff (device-driver suffix)
Peter Wemm [Wed, 28 Feb 2001 01:17:04 +0000 (01:17 +0000)]
GC some leftover stuff (device-driver suffix)

23 years agoRepair 8.11.3 merge conflicts
Gregory Neil Shapiro [Wed, 28 Feb 2001 00:22:47 +0000 (00:22 +0000)]
Repair 8.11.3 merge conflicts

23 years agoThis commit was generated by cvs2svn to compensate for changes in r73188,
Gregory Neil Shapiro [Wed, 28 Feb 2001 00:19:57 +0000 (00:19 +0000)]
This commit was generated by cvs2svn to compensate for changes in r73188,
which included commits to RCS files with non-trunk default branches.

23 years agoImport sendmail 8.11.3
Gregory Neil Shapiro [Wed, 28 Feb 2001 00:19:57 +0000 (00:19 +0000)]
Import sendmail 8.11.3

23 years agoupdate man page wrt hints usage
Matt Jacob [Tue, 27 Feb 2001 23:33:17 +0000 (23:33 +0000)]
update man page wrt hints usage

23 years agoRemove the `r' devices.
David E. O'Brien [Tue, 27 Feb 2001 23:29:13 +0000 (23:29 +0000)]
Remove the `r' devices.

23 years agoSlightly reimplement some recently added helper functions as methods, so
Peter Wemm [Tue, 27 Feb 2001 23:13:20 +0000 (23:13 +0000)]
Slightly reimplement some recently added helper functions as methods, so
that drivers are not reaching into the internals of the pci bus.  There
are no driver changes, the public interface is the same.

23 years agoUpdate NOTES wrt hint for fxp.
Matt Jacob [Tue, 27 Feb 2001 23:02:00 +0000 (23:02 +0000)]
Update NOTES wrt hint for fxp.

23 years agoA better mousetrap: use device hints, as in:
Matt Jacob [Tue, 27 Feb 2001 22:57:32 +0000 (22:57 +0000)]
A better mousetrap: use device hints, as in:

hint.fxp.0.prefer_iomap="1"

to set IO vs. Memory space mapping.

23 years agoFix indent endless on garbage input (i.e., if it encountered EOF while
David E. O'Brien [Tue, 27 Feb 2001 20:50:34 +0000 (20:50 +0000)]
Fix indent endless on garbage input (i.e., if it encountered EOF while
waiting for a '}' nesting terminator)

Obtained from: OpenBSD rev 1.8

23 years agoWhen iterating over our list of interface addresses in order to determine
Jonathan Lemon [Tue, 27 Feb 2001 19:43:14 +0000 (19:43 +0000)]
When iterating over our list of interface addresses in order to determine
if an arriving packet belongs to us, also check that the packet arrived
through the correct interface.  Skip this check if the packet was locally
generated.

23 years agoFix typo: s/TAR_SSH/TAR_RSH/
Bruce A. Mah [Tue, 27 Feb 2001 19:25:23 +0000 (19:25 +0000)]
Fix typo:  s/TAR_SSH/TAR_RSH/

Update:  ICMP resetting TCP sysctl is now net.inet.tcp.icmp_may_rst.

Submitted by: knu, jesper

23 years agoDon't re-init the mixer on resume. This keeps the channel volumes from
Scott Long [Tue, 27 Feb 2001 18:40:07 +0000 (18:40 +0000)]
Don't re-init the mixer on resume.  This keeps the channel volumes from
being trashed when you suspend, though this may need to be revisited if we
ever get suspend-to-disk implememted.

23 years agoAdd an entry for the nmdm devices
Julian Elischer [Tue, 27 Feb 2001 18:36:56 +0000 (18:36 +0000)]
Add an entry for the nmdm devices

23 years agoRemove warnings.. seems to compile as a module now too.
Julian Elischer [Tue, 27 Feb 2001 17:52:49 +0000 (17:52 +0000)]
Remove warnings.. seems to compile as a module now too.

23 years agoCatch up with rwatsons ucred changes.
Julian Elischer [Tue, 27 Feb 2001 17:43:53 +0000 (17:43 +0000)]
Catch up with rwatsons ucred changes.

23 years ago- An array of 4 32-bit ints for avenrun doesn't work on the alpha because
Andrew Gallatin [Tue, 27 Feb 2001 17:11:19 +0000 (17:11 +0000)]
-  An array of 4 32-bit ints for avenrun doesn't work on the alpha because
fscale is a (64-bit) long.  So just use a struct loadavg.
This fixes the recent failure of top on alphas:
top: sysctl(vm.loadavg...) failed: Cannot allocate memory

- use size_t for sizeof() so as to fix a few int/long warnings on alpha

Reviewed by: Thomas Moestl <tmoestl@gmx.net>

23 years agoNot quite working makefile to make the nmdm device as a module.
Julian Elischer [Tue, 27 Feb 2001 16:53:59 +0000 (16:53 +0000)]
Not quite working makefile to make the nmdm device as a module.

23 years agoput the null modem driver (nmdm) in the right place with the right name.
Julian Elischer [Tue, 27 Feb 2001 16:41:28 +0000 (16:41 +0000)]
put the null modem driver (nmdm) in the right place with the right name.

23 years agoDo it right this time. Give it a better name and place
Julian Elischer [Tue, 27 Feb 2001 16:39:54 +0000 (16:39 +0000)]
Do it right this time. Give it a better name and place
CVSrepo deletion of the previous attempt will be requested:

--original message--
Add the 'virtual nulmodem driver'
Particularly useful for debuging kernels using vmware.

If your name is Bruce evans and you are a WIZ at tty interfaces,
then you should probably rip this to shreds and offer lots of suggestions and
patches. I've been using this since 4.0-CURRENT and it's never caused
problems but I'm sure I got something wrong. This is similar to the pty/cty
device driver except that both sides are ttys. Even minor numbers
are side A and odd minor numbers are side B.
Work needs to be done regarding what happens to the other side when you
close a node.

to use with vmware, configure vmware to redirect COM2 out to side A of one
of these and boot a kernel with teh gdb remote port set to sio1.
AFTER dropping into the gdb kernel debugger in your test kernel,
fire up gdb with it's remote port pointing at the appropriate side B.

To catch all console output, you can boot the vmware kernel with a serial
console, (COM1) similarly redirected to a nulmodem, and use 'tip' to observe it.

This is practically unaltered since pre 4.0 days except for
changes made along the way needed to make it compile, so any suggestions
or offers of total rewrites will be listenned to :-)

23 years agoTell the world about the nulmodem device.
Julian Elischer [Tue, 27 Feb 2001 16:20:57 +0000 (16:20 +0000)]
Tell the world about the nulmodem device.

23 years agoCorrectly declare variables as u_int rather than doing typecasts.
Jonathan Lemon [Tue, 27 Feb 2001 15:11:31 +0000 (15:11 +0000)]
Correctly declare variables as u_int rather than doing typecasts.
Kill some register declarations while I'm here.

Submitted by:  bde (1)

23 years agoNew release notes: TCP delayed ACK fixes, ICMP bugfix, find(1)
Bruce A. Mah [Tue, 27 Feb 2001 15:04:50 +0000 (15:04 +0000)]
New release notes:  TCP delayed ACK fixes, ICMP bugfix, find(1)
case-insensitive and regexp additions, pkg_delete(1) globbing,
tar(1) TAR_SSH, disklabel(8) fixes, rand(3) improvements.

New MFCs noted:  pkg_info(1) globbing, burncd(8) -m and related changes.

23 years agoUse formula with better random distribution for rand()
Andrey A. Chernov [Tue, 27 Feb 2001 14:42:19 +0000 (14:42 +0000)]
Use formula with better random distribution for rand()

Even better formula from random() could not be intetgrated because rand_r()
supposed to store its state in the single variable (but table needed for
random() algorithm integration).

23 years agoI accidently deleted an include when I added the $FreeBSD$ so I could
David E. O'Brien [Tue, 27 Feb 2001 14:30:42 +0000 (14:30 +0000)]
I accidently deleted an include when I added the $FreeBSD$ so I could
check in my changes.

23 years agoIn soshutdown(), use SHUT_{RD,WR,RDWR} instead of FREAD and FWRITE.
Ruslan Ermilov [Tue, 27 Feb 2001 13:48:07 +0000 (13:48 +0000)]
In soshutdown(), use SHUT_{RD,WR,RDWR} instead of FREAD and FWRITE.
Also, return EINVAL if `how' is invalid, as required by POSIX spec.

23 years agoImpliment the ISO-C99 strto[u]ll()
David E. O'Brien [Tue, 27 Feb 2001 13:33:07 +0000 (13:33 +0000)]
Impliment the ISO-C99 strto[u]ll()
and rewrite strto[u]q() in terms of it.

23 years agoAdd speaker volume adjusting support
Cameron Grant [Tue, 27 Feb 2001 12:44:31 +0000 (12:44 +0000)]
Add speaker volume adjusting support

Submitted by: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
PR: i386/21452

23 years agoAdded another wd33c93 based SCSI card driver which replaces the bs driver.
Yoshihiro Takahashi [Tue, 27 Feb 2001 12:34:01 +0000 (12:34 +0000)]
Added another wd33c93 based SCSI card driver which replaces the bs driver.
Now, default is still bs.

Submitted by: nyan and non.
Obtained from: NetBSD/pc98

23 years agoMake critical toolchain binaries staticly linked in this development
David E. O'Brien [Tue, 27 Feb 2001 11:25:43 +0000 (11:25 +0000)]
Make critical toolchain binaries staticly linked in this development
version of the OS.

23 years agoAdd definitions and support for the AMD k6-2, Pentium MMX (i586/MMX),
Kris Kennaway [Tue, 27 Feb 2001 11:21:47 +0000 (11:21 +0000)]
Add definitions and support for the AMD k6-2, Pentium MMX (i586/MMX),
and Pentium II, III and IV processors (p2, p3, p4), as well as 'mmx' and
'3dnow' MACHINE_CPU tags as appropriate.  In the near future this will
be used to control various ports which have MMX/3dNow optimizations,
instead of the ad-hoc methods currently used.

Reviewed by:    peter

23 years agoProperly detect and report malloc(3) failures.
Maxim Sobolev [Tue, 27 Feb 2001 11:15:04 +0000 (11:15 +0000)]
Properly detect and report malloc(3) failures.

23 years agoAdd rcsid.
David E. O'Brien [Tue, 27 Feb 2001 10:50:06 +0000 (10:50 +0000)]
Add rcsid.

23 years agoThe TCP header-specific section suffered a little bit of bitrot recently:
Bill Fumerola [Tue, 27 Feb 2001 10:20:44 +0000 (10:20 +0000)]
The TCP header-specific section suffered a little bit of bitrot recently:

When we recieve a fragmented TCP packet (other than the first) we can't
extract header information (we don't have state to reference). In a rather
unelegant fashion we just move on and assume a non-match.

Recent additions to the TCP header-specific section of the code neglected
to add the logic to the fragment code so in those cases the match was
assumed to be positive and those parts of the rule (which should have
resulted in a non-match/continue) were instead skipped (which means
the processing of the rule continued even though it had already not
matched).

Fault can be spread out over Rich Steenbergen (tcpoptions) and myself
(tcp{seq,ack,win}).

rwatson sent me a patch that got me thinking about this whole situation
(but what I'm committing / this description is mine so don't blame him).

23 years agoShort lived fame for -Wundef.
Jeroen Ruigrok van der Werven [Tue, 27 Feb 2001 10:16:56 +0000 (10:16 +0000)]
Short lived fame for -Wundef.

Second thoughts by: bde

23 years agoAdd -Wundef to BDECFLAGS:
Jeroen Ruigrok van der Werven [Tue, 27 Feb 2001 09:03:55 +0000 (09:03 +0000)]
Add -Wundef to BDECFLAGS:

Warn if an undefined identifier is evaluated in an `#if' directive.

Not objected to by: bde

23 years agoPrint a diagnostic message if no interface could be determined
Ruslan Ermilov [Tue, 27 Feb 2001 09:02:10 +0000 (09:02 +0000)]
Print a diagnostic message if no interface could be determined
when attempting to create a published ARP entry.  For example:

# arp -s 1.1.1.1 auto pub

PR: bin/7753
Submitted by: Jonathan Hanna <pangolin@home.com>

23 years ago- Merge recently added into pkg_info(1) regex/glob matching functionality into
Maxim Sobolev [Tue, 27 Feb 2001 09:00:18 +0000 (09:00 +0000)]
- Merge recently added into pkg_info(1) regex/glob matching functionality into
  pkg_delete(1) as well;
- add a new `-a' option for pkg_delete(1) to delete all installed packages;
- add a new `-i' option for pkg_delete(1) to request simple rm(1)-like
  interactive confirmation before attempting to delete each package.

Silently approved by: jkh, -ports

23 years agoAdd a 'clobber' target.. Like 'clean' but it takes out even the config
Peter Wemm [Tue, 27 Feb 2001 08:13:32 +0000 (08:13 +0000)]
Add a 'clobber' target.. Like 'clean' but it takes out even the config
generated stuff, leaving only 'version' in the build dir.

23 years agoAdd and document the LINPROCFS option, so that we can build linprocfs
Peter Wemm [Tue, 27 Feb 2001 08:11:28 +0000 (08:11 +0000)]
Add and document the LINPROCFS option, so that we can build linprocfs
(either as a module or in the kernel) after sys/modules/* dies.

23 years agoadd functions for sound drivers to use for locking and setting up interrupt
Cameron Grant [Tue, 27 Feb 2001 07:45:09 +0000 (07:45 +0000)]
add functions for sound drivers to use for locking and setting up interrupt
handlers.  these are not yet used, but will allow compatibility for driver
modules from 5.x to 4.x.

23 years agoRemove some cruft
Peter Wemm [Tue, 27 Feb 2001 07:40:09 +0000 (07:40 +0000)]
Remove some cruft

23 years ago"Document" the COMPAT_LINUX and IBCS2 ABI emulation support together
Peter Wemm [Tue, 27 Feb 2001 07:39:12 +0000 (07:39 +0000)]
"Document" the COMPAT_LINUX and IBCS2 ABI emulation support together
rather than in silly places like "VFS Cluster debugging".  People
should really be using COMPAT_LINUX instead of the linux module on
dynamic systems like -current.

23 years agoMFS: 4.x/5.x compatibility #ifdefs
Cameron Grant [Tue, 27 Feb 2001 07:01:49 +0000 (07:01 +0000)]
MFS: 4.x/5.x compatibility #ifdefs

23 years agoMFS: 4.x/5.x compatibility #defines
Cameron Grant [Tue, 27 Feb 2001 06:58:55 +0000 (06:58 +0000)]
MFS: 4.x/5.x compatibility #defines

23 years agoAdd pci/agp_if.m to the MFILES list so that we can auto depend on agp_if.h
Peter Wemm [Tue, 27 Feb 2001 01:23:34 +0000 (01:23 +0000)]
Add pci/agp_if.m to the MFILES list so that we can auto depend on agp_if.h

23 years agoDisable the mutex locking calls. These do not work in their present form
Peter Wemm [Tue, 27 Feb 2001 01:05:25 +0000 (01:05 +0000)]
Disable the mutex locking calls.  These do not work in their present form
as the code calls the usb stack (which can sleep) while holding the driver
lock.  This leads to a deadlock.

23 years agoCast nfds to u_int before range checking it in order to catch negative
Jonathan Lemon [Tue, 27 Feb 2001 00:50:20 +0000 (00:50 +0000)]
Cast nfds to u_int before range checking it in order to catch negative
values.

PR: 25393

23 years agoFix at2_entry_t to reflect what the firmware actually writes (instead
Matt Jacob [Tue, 27 Feb 2001 00:14:39 +0000 (00:14 +0000)]
Fix at2_entry_t to reflect what the firmware actually writes (instead
of just deriving from SCSI at_entry_t). In this case, there is no
'suggested sense' for FC cards.

23 years agoInitialize native priority to PRI_MAX. It was usually 0 which made a
Jake Burkholder [Mon, 26 Feb 2001 23:27:35 +0000 (23:27 +0000)]
Initialize native priority to PRI_MAX.  It was usually 0 which made a
process's priority go through the roof when it released a (contested)
mutex.  Only set the native priority in mtx_lock if hasn't already
been set.

Reviewed by: jhb

23 years agoAdd crashdump support.
Jonathan Lemon [Mon, 26 Feb 2001 22:25:30 +0000 (22:25 +0000)]
Add crashdump support.

Tested by: ps

23 years agoWorkaround to prevent VMware from melting down. The pseudo PCnet interface
Bill Paul [Mon, 26 Feb 2001 22:23:55 +0000 (22:23 +0000)]
Workaround to prevent VMware from melting down. The pseudo PCnet interface
in VMware reports 0x00000000 in the PCI subsystem ID register, but
0x10001000 when you read the mirror registers in I/O space. This causes
pcn_probe() to think it's found a card in 32-bit mode, and performing
a 32-bit I/O access makes on a 16-bit port makes VMware go boom. Special
case the 0x10001000 value until somebody at VMware grows a clue.

Finally discovered by: Andrew Gallatin

23 years agoUse more aggressive retransmit timeouts for the initial SYN packet.
Jonathan Lemon [Mon, 26 Feb 2001 21:33:55 +0000 (21:33 +0000)]
Use more aggressive retransmit timeouts for the initial SYN packet.
As we currently drop the connection after 4 retransmits + 2 ICMP errors,
this allows initial connection attempts to be dropped much faster.

23 years agoRemove in_pcbnotify and use in_pcblookup_hash to find the cb directly.
Jonathan Lemon [Mon, 26 Feb 2001 21:19:47 +0000 (21:19 +0000)]
Remove in_pcbnotify and use in_pcblookup_hash to find the cb directly.

For TCP, verify that the sequence number in the ICMP packet falls within
the tcp receive window before performing any actions indicated by the
icmp packet.

Clean up some layering violations (access to tcp internals from in_pcb)

23 years agoProperly protect the parameters to the EC_{GET,SET}_{DATA,CSR} macros with
John Baldwin [Mon, 26 Feb 2001 20:39:28 +0000 (20:39 +0000)]
Properly protect the parameters to the EC_{GET,SET}_{DATA,CSR} macros with
parens.

23 years ago- Use a loop to read consecutive bytes from the embedded controller to
John Baldwin [Mon, 26 Feb 2001 20:36:56 +0000 (20:36 +0000)]
- Use a loop to read consecutive bytes from the embedded controller to
  handle read and write requests for widths of multiple bytes.  This
  can be used to read 16-bit battery status registers for example.
- Remove some unused variables and #if 0'd debugging cruft.
- Don't complain about a GPE query that fails due to AE_NOT_FOUND if the
  query method was _Q00.

23 years agoWhen ensuring the destination buffer is truncated for a string obtained
John Baldwin [Mon, 26 Feb 2001 20:32:18 +0000 (20:32 +0000)]
When ensuring the destination buffer is truncated for a string obtained
from a BIF, use the size of the destinatino buffer, not the length of the
string to determine where to put the nul char.  As a side effect, the
old code would truncate the string by one character while it was possibly
overflowing the buffer.

23 years agoTypo fix; use & to test for bits set in the status register.
Mike Smith [Mon, 26 Feb 2001 20:13:19 +0000 (20:13 +0000)]
Typo fix; use & to test for bits set in the status register.

Submitted by: Joel Jacobson <jake@3ware.com>

23 years agoRemove struct full_tcpiphdr{}.
Jeroen Ruigrok van der Werven [Mon, 26 Feb 2001 20:10:16 +0000 (20:10 +0000)]
Remove struct full_tcpiphdr{}.

This piece of code has not been referenced since it was put there
in 1995.  Also done a codebased search on popular networking libraries
and third-party applications.  This is an orphan.

Reviewed by: jesper

23 years agoRemove conditionals for vax support.
Jeroen Ruigrok van der Werven [Mon, 26 Feb 2001 20:05:32 +0000 (20:05 +0000)]
Remove conditionals for vax support.
People who care much about this are welcomed to try 2.11BSD. :)

Noticed by: luigi
Reviewed by: jesper

23 years agoFix clock selection for X.21 interfaces.
John Hay [Mon, 26 Feb 2001 16:30:02 +0000 (16:30 +0000)]
Fix clock selection for X.21 interfaces.

23 years agoUse ``.St -p1003.[12]''.
Ruslan Ermilov [Mon, 26 Feb 2001 16:12:39 +0000 (16:12 +0000)]
Use ``.St -p1003.[12]''.

23 years agoUse ``.St -p1003.1g''.
Ruslan Ermilov [Mon, 26 Feb 2001 16:08:15 +0000 (16:08 +0000)]
Use ``.St -p1003.1g''.

23 years agomdoc(7) police: utilize .St macro.
Ruslan Ermilov [Mon, 26 Feb 2001 16:02:53 +0000 (16:02 +0000)]
mdoc(7) police: utilize .St macro.

23 years agomdoc(7) police: utilize .St.
Ruslan Ermilov [Mon, 26 Feb 2001 15:57:37 +0000 (15:57 +0000)]
mdoc(7) police: utilize .St.

23 years agomdoc(7) police: utilize .St macro.
Ruslan Ermilov [Mon, 26 Feb 2001 15:55:52 +0000 (15:55 +0000)]
mdoc(7) police: utilize .St macro.

23 years agoRemove "autounit" from settable options, it's the default unless you
Poul-Henning Kamp [Mon, 26 Feb 2001 15:31:47 +0000 (15:31 +0000)]
Remove "autounit" from settable options, it's the default unless you
specify -u.

Spotted by: dcs

23 years agoUse ``.St -p1003.1-96''.
Ruslan Ermilov [Mon, 26 Feb 2001 15:16:43 +0000 (15:16 +0000)]
Use ``.St -p1003.1-96''.

23 years ago/^\.St/ s/-iso9945-1/-p1003.1-96/
Ruslan Ermilov [Mon, 26 Feb 2001 14:48:38 +0000 (14:48 +0000)]
/^\.St/ s/-iso9945-1/-p1003.1-96/

23 years agoSynch with NetBSD and OpenBSD: replace -iso9945-1 with -p1003.1-96.
Ruslan Ermilov [Mon, 26 Feb 2001 14:41:05 +0000 (14:41 +0000)]
Synch with NetBSD and OpenBSD: replace -iso9945-1 with -p1003.1-96.

23 years ago``.St -p1003.1b'' -> ``.St -p1003.1b-93''.
Ruslan Ermilov [Mon, 26 Feb 2001 14:33:54 +0000 (14:33 +0000)]
``.St -p1003.1b'' -> ``.St -p1003.1b-93''.