]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoAdd support for the AMD 8111.
obrien [Tue, 20 Apr 2004 13:36:44 +0000 (13:36 +0000)]
Add support for the AMD 8111.

20 years agoFix a last second typo in 'vi' that caused a problem.
obrien [Tue, 20 Apr 2004 13:34:18 +0000 (13:34 +0000)]
Fix a last second typo in 'vi' that caused a problem.

20 years agoapply patch so pr can be closed
darrenr [Tue, 20 Apr 2004 13:30:49 +0000 (13:30 +0000)]
apply patch so pr can be closed

PR: misc/56715
Submitted by: grant@NetBSD.org
Reviewed by: darrenr

20 years agoFix a typo.
joerg [Tue, 20 Apr 2004 13:26:52 +0000 (13:26 +0000)]
Fix a typo.

20 years agoAllow the AC adapter device to be disabled with debug.acpi.disable="acad".
njl [Tue, 20 Apr 2004 13:09:17 +0000 (13:09 +0000)]
Allow the AC adapter device to be disabled with debug.acpi.disable="acad".
Even though documented, this option was never enabled even in rev 1.1.

Submitted by: sos

20 years agoBraino. Point out that TCP_SIGNATURE requires FAST_IPSEC et al.
bms [Tue, 20 Apr 2004 13:07:53 +0000 (13:07 +0000)]
Braino. Point out that TCP_SIGNATURE requires FAST_IPSEC et al.

20 years agoAdd TCP_SIGNATURE (TCP-MD5) to NOTES for -CURRENT.
bms [Tue, 20 Apr 2004 13:03:59 +0000 (13:03 +0000)]
Add TCP_SIGNATURE (TCP-MD5) to NOTES for -CURRENT.

20 years agoOnly compare the interesting part of the bootblock with its backup.
tjr [Tue, 20 Apr 2004 11:41:57 +0000 (11:41 +0000)]
Only compare the interesting part of the bootblock with its backup.
Allow check to proceed with bad backup boot block if we're doing a
readonly check. Various typos in comments.

Obtained from: NetBSD

20 years agoRegenerate.
des [Tue, 20 Apr 2004 09:49:37 +0000 (09:49 +0000)]
Regenerate.

20 years agoOne more conflict.
des [Tue, 20 Apr 2004 09:47:13 +0000 (09:47 +0000)]
One more conflict.

20 years agoResolve conflicts.
des [Tue, 20 Apr 2004 09:46:41 +0000 (09:46 +0000)]
Resolve conflicts.

20 years agoAdjust version number and addendum.
des [Tue, 20 Apr 2004 09:37:29 +0000 (09:37 +0000)]
Adjust version number and addendum.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r128456,
des [Tue, 20 Apr 2004 09:35:04 +0000 (09:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r128456,
which included commits to RCS files with non-trunk default branches.

20 years agoVendor import of OpenSSH 3.8.1p1.
des [Tue, 20 Apr 2004 09:35:04 +0000 (09:35 +0000)]
Vendor import of OpenSSH 3.8.1p1.

20 years agoFix the initial check for NULL arguments in rtfree (previously
luigi [Tue, 20 Apr 2004 07:04:47 +0000 (07:04 +0000)]
Fix the initial check for NULL arguments in rtfree (previously
it checked for rt == NULL after dereferencing the pointer).
We never check for those events elsewhere, so probably these checks
might go away here as well.

Slightly simplify (and document) the logic for memory allocation
in rt_setgate().

The rest is mostly style changes -- replace 0 with NULL where appropriate,
remove the macro SA() that was only used once, remove some useless
debugging code in rt_fixchange, explain some odd-looking casts.

20 years agoDocument an assumption on the structure of 'struct rtentry'
luigi [Tue, 20 Apr 2004 07:03:30 +0000 (07:03 +0000)]
Document an assumption on the structure of 'struct rtentry'

20 years agoSwitch from using sequential to random ephemeral port allocation,
silby [Tue, 20 Apr 2004 06:45:10 +0000 (06:45 +0000)]
Switch from using sequential to random ephemeral port allocation,
implementation taken directly from OpenBSD.

I've resisted committing this for quite some time because of concern over
TIME_WAIT recycling breakage (sequential allocation ensures that there is a
long time before ports are recycled), but recent testing has shown me that
my fears were unwarranted.

20 years agoEnhance our RFC1948 implementation to perform better in some pathlogical
silby [Tue, 20 Apr 2004 06:33:39 +0000 (06:33 +0000)]
Enhance our RFC1948 implementation to perform better in some pathlogical
TIME_WAIT recycling cases I was able to generate with http testing tools.

In short, as the old algorithm relied on ticks to create the time offset
component of an ISN, two connections with the exact same host, port pair
that were generated between timer ticks would have the exact same sequence
number.  As a result, the second connection would fail to pass the TIME_WAIT
check on the server side, and the SYN would never be acknowledged.

I've "fixed" this by adding random positive increments to the time component
between clock ticks so that ISNs will *always* be increasing, no matter how
quickly the port is recycled.

Except in such contrived benchmarking situations, this problem should never
come up in normal usage...  until networks get faster.

No MFC planned, 4.x is missing other optimizations that are needed to even
create the situation in which such quick port recycling will occur.

20 years agoWhite space style cleanup.
obrien [Tue, 20 Apr 2004 03:15:59 +0000 (03:15 +0000)]
White space style cleanup.

20 years agoRev 1.2 changes include:
obrien [Tue, 20 Apr 2004 03:08:18 +0000 (03:08 +0000)]
Rev 1.2 changes include:
- Merge support for numeric keys 1-5 from boot0.s
- Fix _PRTEND for the case of more than 2 sectors.
- Move the code to set the drive number up before we try to load in the rest
  of boot0 off of the disk.
- Expand the OS name table to recognize more windows partitions and rename
  the NT entry to 'Windows NT/XP'.

20 years agoCorrect the AT_DISPATCH_LEVEL() macro to match earlier changes.
wpaul [Tue, 20 Apr 2004 02:27:38 +0000 (02:27 +0000)]
Correct the AT_DISPATCH_LEVEL() macro to match earlier changes.

20 years agoPrevent SysV spellings in int's in the kernel.
obrien [Mon, 19 Apr 2004 22:49:00 +0000 (22:49 +0000)]
Prevent SysV spellings in int's in the kernel.

Submitted by: bde

20 years agoTry to handle recursive attempts to raise IRQL to DISPATCH_LEVEL better
wpaul [Mon, 19 Apr 2004 22:39:04 +0000 (22:39 +0000)]
Try to handle recursive attempts to raise IRQL to DISPATCH_LEVEL better
(among other things).

20 years agoAllow brave souls to install bsdtar as the
kientzle [Mon, 19 Apr 2004 22:09:04 +0000 (22:09 +0000)]
Allow brave souls to install bsdtar as the
default "tar" command by defining WITH_BSDTAR.

Note: "gtar" and "bsdtar" commands both exist regardless.

20 years agoHandle window resizing better.
cognet [Mon, 19 Apr 2004 21:37:29 +0000 (21:37 +0000)]
Handle window resizing better.

Submitted by: Cyril Nguyen Huu
Obtained from: OpenBSD

20 years agoOptimize ustar header formatting.
kientzle [Mon, 19 Apr 2004 20:16:07 +0000 (20:16 +0000)]
Optimize ustar header formatting.

20 years agoLinux Alpha powertools link has become obsolete.
wilko [Mon, 19 Apr 2004 19:47:03 +0000 (19:47 +0000)]
Linux Alpha powertools link has become obsolete.

Reported by: R. Busch <busch@rahul.net>

20 years agoMFp4: merge version #5 of the 2-sector boot0 from the "jhb boot" branch.
obrien [Mon, 19 Apr 2004 19:31:48 +0000 (19:31 +0000)]
MFp4: merge version #5 of the 2-sector boot0 from the "jhb boot" branch.

20 years agoUse BSD spelling, no SysV.
obrien [Mon, 19 Apr 2004 18:44:04 +0000 (18:44 +0000)]
Use BSD spelling, no SysV.

20 years agoUse BSD spelling vs. SysV.
obrien [Mon, 19 Apr 2004 18:38:04 +0000 (18:38 +0000)]
Use BSD spelling vs. SysV.

20 years agoMove a verbose printf before the first exit so we get a chance
sos [Mon, 19 Apr 2004 18:29:43 +0000 (18:29 +0000)]
Move a verbose printf before the first exit so we get a chance
to see what was there.

20 years agoAdd a temporary workaround for acpi_AppendBufferResource() returning with
njl [Mon, 19 Apr 2004 17:52:20 +0000 (17:52 +0000)]
Add a temporary workaround for acpi_AppendBufferResource() returning with
a NULL crsbuf pointer.  This shouldn't happen if it returns AE_OK.  We'll
figure out why this is happening later.

Submitted by: Bruno Ducrot <ducrot@poupinou.org>

20 years agoAdding Tony Ackerman (tackerman) as the maintainer for the em(4) Intel Gigabit Ethern...
tackerman [Mon, 19 Apr 2004 17:47:45 +0000 (17:47 +0000)]
Adding Tony Ackerman (tackerman) as the maintainer for the em(4) Intel Gigabit Ethernet driver.

20 years agoAdd some comments, move a static array of constants in the only place
luigi [Mon, 19 Apr 2004 17:28:39 +0000 (17:28 +0000)]
Add some comments, move a static array of constants in the only place
where it is used, and replace R_Malloc with R_Zalloc in a couple
of places removing the corresponding bzero()'s

20 years agoFix a recently introduced panic in if_detach() by delaying
luigi [Mon, 19 Apr 2004 17:28:15 +0000 (17:28 +0000)]
Fix a recently introduced panic in if_detach() by delaying
the invalidation of ifindex_table[] entry. Probably this
code should be moved even further down, but for the time being
let's do it this way.

20 years agoRemove opt_da.h from the Makefile as well. Duplication of the option in
njl [Mon, 19 Apr 2004 17:26:46 +0000 (17:26 +0000)]
Remove opt_da.h from the Makefile as well.  Duplication of the option in
both the Makefile and sys/conf/options is what led to this oversight.
Apologies for breaking the build.

20 years agoThere's no need to call ciss_report_request in the passthru ioctl
ps [Mon, 19 Apr 2004 17:16:06 +0000 (17:16 +0000)]
There's no need to call ciss_report_request in the passthru ioctl
routine since the error will be reported back to the user buffer.
This will quiet down the bootverbose case when using an ACU which
does brute force discovery of the physical and logical devices.

20 years agoFix typo.
rushani [Mon, 19 Apr 2004 16:58:58 +0000 (16:58 +0000)]
Fix typo.

20 years agoIf you're trying to find out if a thread is valid and in
mtm [Mon, 19 Apr 2004 14:20:01 +0000 (14:20 +0000)]
If you're trying to find out if a thread is valid and in
the same process as the current thread it makes absolutely
no sense to lock the parent process through the pointer in
said thread.

Submitted by: pho (with minor correction)
Pointy Hat To: mtm

20 years agoThe opt_da.h file doesn't exist anymore since the DA_OLD_QUIRKS option
mux [Mon, 19 Apr 2004 13:38:10 +0000 (13:38 +0000)]
The opt_da.h file doesn't exist anymore since the DA_OLD_QUIRKS option
has been removed.  Unbreak the build by not including it anymore.

20 years agoTurn MAKE_IDEA into a true "bool" type variable, as documented in
ru [Mon, 19 Apr 2004 11:35:15 +0000 (11:35 +0000)]
Turn MAKE_IDEA into a true "bool" type variable, as documented in
the make.conf(5) manpage.

PR: conf/65738
OK'ed by: markm

20 years agoUpdate number of ports
murray [Mon, 19 Apr 2004 09:46:56 +0000 (09:46 +0000)]
Update number of ports

20 years agoAdd security/portaudit to disc3.
murray [Mon, 19 Apr 2004 08:37:43 +0000 (08:37 +0000)]
Add security/portaudit to disc3.

Requested by: Xin Li <delphij@frontfree.net>

20 years agoifp has the same value as rt->rti_ifp so remove the dependency
luigi [Mon, 19 Apr 2004 08:02:52 +0000 (08:02 +0000)]
ifp has the same value as rt->rti_ifp so remove the dependency
on the route entry to locate the necessary information.

20 years agoRemove a tail-recursive call in nd6_output.
luigi [Mon, 19 Apr 2004 07:48:48 +0000 (07:48 +0000)]
Remove a tail-recursive call in nd6_output.
This change is functionally identical to the original code, though
I have no idea if that was correct in the first place (see comment
in the commit).

20 years agoMore style and deobfuscation fixes.
ru [Mon, 19 Apr 2004 07:20:32 +0000 (07:20 +0000)]
More style and deobfuscation fixes.

Submitted by: bde

20 years agoUse an tempory struct ifnet *ifp instead of sc->sc_if to access the
brooks [Mon, 19 Apr 2004 05:06:27 +0000 (05:06 +0000)]
Use an tempory struct ifnet *ifp instead of sc->sc_if to access the
ifnet in stf_clone_create.  Also use if_printf() instead of printf().

20 years agoAdd miscellaneous USB device quirks.
njl [Mon, 19 Apr 2004 04:14:09 +0000 (04:14 +0000)]
Add miscellaneous USB device quirks.

PR: kern/53067
PR: kern/54737
PR: kern/54786
PR: kern/57046

MFC after: 1 day

20 years agoRemove all quirks hidden under DA_OLD_QUIRKS.
njl [Mon, 19 Apr 2004 03:34:28 +0000 (03:34 +0000)]
Remove all quirks hidden under DA_OLD_QUIRKS.

20 years agoAs promised a while ago, remove DA_OLD_QUIRKS and all quirks it was enabling.
njl [Mon, 19 Apr 2004 03:33:55 +0000 (03:33 +0000)]
As promised a while ago, remove DA_OLD_QUIRKS and all quirks it was enabling.
These are no longer needed now that we don't send 6-byte commands to RBC
devices.

20 years agoFirst pass at softc list locking for if_ppp.c. Many parts of
rwatson [Mon, 19 Apr 2004 01:36:24 +0000 (01:36 +0000)]
First pass at softc list locking for if_ppp.c.  Many parts of
this patch were submitted by Maurycy Pawlowski-Wieronski.  In addition
to Maurycy's change, break out softc tear down from ppp_clone_destroy()
into ppp_destroy() rather than performing a convoluted series of
extraction casts and indirections during tear down at mod unload.

Submitted by: Maurycy Pawlowski-Wieronski <maurycy@fouk.org>

20 years agoReport only new new events when initially attaching to the controller.
ps [Mon, 19 Apr 2004 00:57:29 +0000 (00:57 +0000)]
Report only new new events when initially attaching to the controller.

20 years agoDocument POSIX stupidity: Attempts to mmap zero bytes will succeed (and
cperciva [Sun, 18 Apr 2004 23:36:45 +0000 (23:36 +0000)]
Document POSIX stupidity: Attempts to mmap zero bytes will succeed (and
have no effect), while attempts to munmap zero bytes will fail.

20 years agoAdd -c option simular to du(1).
obrien [Sun, 18 Apr 2004 20:56:31 +0000 (20:56 +0000)]
Add -c option simular to du(1).

PR: 19635
Submitted by: cyrille.lefevre@laposte.net

20 years agoStyle and code unobfuscation.
ru [Sun, 18 Apr 2004 19:38:20 +0000 (19:38 +0000)]
Style and code unobfuscation.

20 years agoFixed a bug from rev. 1.42: cast to a correct type.
ru [Sun, 18 Apr 2004 19:36:01 +0000 (19:36 +0000)]
Fixed a bug from rev. 1.42: cast to a correct type.

Submitted by: luigi

20 years agoMake if_(un)route static in if.c as they are called from if_up/if_down only.
mlaier [Sun, 18 Apr 2004 18:59:44 +0000 (18:59 +0000)]
Make if_(un)route static in if.c as they are called from if_up/if_down only.
This is also cleanup to make locking easier.

Reviewed by: luigi
Approved by: bms(mentor)

20 years agoIn ntoskrnl_unlock_dpc(), use atomic_store instead of atomic_cmpset
wpaul [Sun, 18 Apr 2004 18:38:59 +0000 (18:38 +0000)]
In ntoskrnl_unlock_dpc(), use atomic_store instead of atomic_cmpset
to give up the spinlock.

Suggested by: bde

20 years agoRevert rev 1.21 which configured with --enable-64-bit-bfd.
obrien [Sun, 18 Apr 2004 16:09:33 +0000 (16:09 +0000)]
Revert rev 1.21 which configured with --enable-64-bit-bfd.
GDB 5.2 can't handle a 64-bit BFD on a 32-bit host.
We can revisit configuring with --enable-64-bit-bfd when we get a modern GDB.

20 years agoMoved the function pointer in struct puc_device_description to the end
bde [Sun, 18 Apr 2004 14:37:27 +0000 (14:37 +0000)]
Moved the function pointer in struct puc_device_description to the end
of the struct, so that a placeholder for it (or unportable C99
initializers) are not needed for entries that don't use it.  Use a C99
initializer for the 1 entry that uses it.  Removed 91 placeholders.
This also restores API compatibility with NetBSD and RELENG_4 for most
entries.

20 years agoFreeBSD-if .4 manpages for pf/pflog/pfsync.
mlaier [Sun, 18 Apr 2004 13:59:12 +0000 (13:59 +0000)]
FreeBSD-if .4 manpages for pf/pflog/pfsync.

PR: docs/65687
Submitted by: Sergey Matveychuk
Approved by: bms(mentor)

20 years agoconstify the last argument of m_copyback.
luigi [Sun, 18 Apr 2004 13:01:28 +0000 (13:01 +0000)]
constify the last argument of m_copyback.

20 years ago+ move MKGet()/MKFree() into the only file that can use them.
luigi [Sun, 18 Apr 2004 11:48:35 +0000 (11:48 +0000)]
+ move MKGet()/MKFree() into the only file that can use them.

+ remove useless wrappers around bcmp(), bcopy(), bzero().
  The code assumes that bcmp() returns 0 if the size is 0, but
  this is true for both the libc and the libkern versions.

+ nuke Bcmp, Bzero, Bcopy from radix.h now that nobody uses them anymore.

20 years ago+ replace Bcmp/Bzero with 'the real thing' as in the rest of the file.
luigi [Sun, 18 Apr 2004 11:47:04 +0000 (11:47 +0000)]
+ replace Bcmp/Bzero with 'the real thing' as in the rest of the file.
+ remember to check and fix or explain a strange cast in route_output()

20 years agoreplace Bcopy with bcopy as in the rest of the file.
luigi [Sun, 18 Apr 2004 11:46:29 +0000 (11:46 +0000)]
replace Bcopy with bcopy as in the rest of the file.

20 years agoReplace Bcopy with 'the real thing' as in the rest of the file.
luigi [Sun, 18 Apr 2004 11:45:49 +0000 (11:45 +0000)]
Replace Bcopy with 'the real thing' as in the rest of the file.

20 years agoReplace Bcopy/Bzero with 'the real thing' as in the rest of the file.
luigi [Sun, 18 Apr 2004 11:45:28 +0000 (11:45 +0000)]
Replace Bcopy/Bzero with 'the real thing' as in the rest of the file.

20 years agoreplace Bcmp() with the same bcmp() used in the rest of the file.
luigi [Sun, 18 Apr 2004 11:01:15 +0000 (11:01 +0000)]
replace Bcmp() with the same bcmp() used in the rest of the file.

20 years agoMFamd64
alc [Sun, 18 Apr 2004 08:10:04 +0000 (08:10 +0000)]
MFamd64
 Simplify the sf_buf implementation.  In short, make it a veneer
 over the direct virtual-to-physical mapping.

20 years agoMiscellaneous style fixes, including yet another attempt to get the
bde [Sun, 18 Apr 2004 07:36:41 +0000 (07:36 +0000)]
Miscellaneous style fixes, including yet another attempt to get the
0x1393/0x1041 entry and its bad templates right.

20 years agoMFamd64
alc [Sun, 18 Apr 2004 07:11:12 +0000 (07:11 +0000)]
MFamd64
 Simplify the sf_buf implementation.  In short, make it a veneer
 over the direct virtual-to-physical mapping.

20 years agoFixed some style bugs in rev.1.1 (only 2 entries were misformatted).
bde [Sun, 18 Apr 2004 07:06:45 +0000 (07:06 +0000)]
Fixed some style bugs in rev.1.1 (only 2 entries were misformatted).

20 years agoFixed some style bugs (perfect tab lossage on every line) in rev.1.4.
bde [Sun, 18 Apr 2004 06:49:26 +0000 (06:49 +0000)]
Fixed some style bugs (perfect tab lossage on every line) in rev.1.4.

20 years agoFixed some style bugs (misformatting) in rev.1.9.
bde [Sun, 18 Apr 2004 06:42:27 +0000 (06:42 +0000)]
Fixed some style bugs (misformatting) in rev.1.9.

20 years agoOops, fixed some more style bugs (tab lossage) in rev.1.28. Fixed the
bde [Sun, 18 Apr 2004 06:36:12 +0000 (06:36 +0000)]
Oops, fixed some more style bugs (tab lossage) in rev.1.28.  Fixed the
same style bug in revs.1.20, 1.18, 1.15 and 1.12.

20 years agoMFamd64
alc [Sun, 18 Apr 2004 06:24:51 +0000 (06:24 +0000)]
MFamd64
 Simplify the sf_buf implementation.  In short, make it a veneer
 over the direct virtual-to-physical mapping.

20 years agoFixed some style bugs in rev.1.24. Almost every line was misformatted,
bde [Sun, 18 Apr 2004 05:52:35 +0000 (05:52 +0000)]
Fixed some style bugs in rev.1.24.  Almost every line was misformatted,
and Oxford was misspelled.

20 years agoFixed some style bugs (formatting errors) in rev.1.25.
bde [Sun, 18 Apr 2004 05:46:37 +0000 (05:46 +0000)]
Fixed some style bugs (formatting errors) in rev.1.25.

20 years agoScript for downloading and printing in hex, the offical vendor ID's from
obrien [Sun, 18 Apr 2004 05:37:34 +0000 (05:37 +0000)]
Script for downloading and printing in hex, the offical vendor ID's from
USB.org.

20 years agoSimplify the sf_buf implementation. In short, make it a trivial veneer
alc [Sun, 18 Apr 2004 05:36:37 +0000 (05:36 +0000)]
Simplify the sf_buf implementation.  In short, make it a trivial veneer
over the direct virtual-to-physical mapping.

20 years agoFixed some style bugs (tab lossage) in rev.1.26.
bde [Sun, 18 Apr 2004 05:30:02 +0000 (05:30 +0000)]
Fixed some style bugs (tab lossage) in rev.1.26.

Removed the requirement for a particular subvendor/subproduct in
rev.1.26 (VScom PCI-800L card).  While the BARs, etc., may depend on
the sub-ids, this is not known to be so, and I think it is better to
guess that they don't.  The decision to check sub-id checks in this
file is apparently random; for VScom cards they were checked in 3 of
8 cases.

Reviewed by: timeout by committer (joerg) after 6 months

20 years agoInstead of using a static, check for the FADT revision before using it.
njl [Sun, 18 Apr 2004 05:21:36 +0000 (05:21 +0000)]
Instead of using a static, check for the FADT revision before using it.
This fixes a bug where acpidump -d crashed (but not -t -d).

Submitted by: Alex Vasylenko <lxv@omut.org>

20 years agoFixed some style bugs in rev.1.28. Almost every line was misindented.
bde [Sun, 18 Apr 2004 04:48:53 +0000 (04:48 +0000)]
Fixed some style bugs in rev.1.28.  Almost every line was misindented.

20 years agoFixed a style bug (insertion sort error) in rev.1.29. This file should
bde [Sun, 18 Apr 2004 04:44:28 +0000 (04:44 +0000)]
Fixed a style bug (insertion sort error) in rev.1.29.  This file should
be sorted in the same order as misc/pci_vendors (on vendor/device id),
and already partly is.

20 years agoFixed some style bugs in previous commit. Almmost every line was
bde [Sun, 18 Apr 2004 04:31:58 +0000 (04:31 +0000)]
Fixed some style bugs in previous commit.  Almmost every line was
misformatted.

20 years agoFix typos (s/NetGraph/Netgraph/).
hrs [Sun, 18 Apr 2004 03:18:00 +0000 (03:18 +0000)]
Fix typos (s/NetGraph/Netgraph/).

20 years agomove the cleanup of the control device into ciss_free and add some
ps [Sun, 18 Apr 2004 02:39:01 +0000 (02:39 +0000)]
move the cleanup of the control device into ciss_free and add some
ifdefs for the diffrent kthread_create API between -current and
-stable

20 years ago+ rename and document an unused field in struct arpcom (field is still
luigi [Sun, 18 Apr 2004 01:15:32 +0000 (01:15 +0000)]
+ rename and document an unused field in struct arpcom (field is still
  there so there are no ABI changes);
+ replace 5 redefinitions of the IPF2AC macro with one in if_arp.h

Eventually (but before freezing the ABI) we need to get rid of
struct arpcom (initially with the help of some smart #defines
to avoid having to touch each and every driver, see below).

Apart from the struct ifnet, struct arpcom now only stores a copy
of the MAC address (ac_enaddr, but we already have another copy in
the struct ifnet -- if_addrhead), and a netgraph-specific field
which is _always_ accessed through the ifp, so it might well go
into the struct ifnet too (where, besides, there is already an entry
for AF_NETGRAPH data...)

Too bad ac_enaddr is widely referenced by all drivers. But
this can be fixed as follows:

#define ac_enaddr       ac_if.the_original_ac_enaddr_in_struct_ifnet

(note that the right hand side would likely be a pointer rather than
the base address of an array.)

20 years agoAdd my birthday.
marius [Sun, 18 Apr 2004 01:05:55 +0000 (01:05 +0000)]
Add my birthday.

Approved by: marcel (mentor)

20 years agoUse IFF_ALLMULTI instead of if_amcount to decide if all multicast should
onoe [Sun, 18 Apr 2004 01:05:02 +0000 (01:05 +0000)]
Use IFF_ALLMULTI instead of if_amcount to decide if all multicast should
be received.  Pointed out by Luigi Rizzo.

20 years agoMinor changes to improve code readability (no actual code changes):
luigi [Sun, 18 Apr 2004 00:56:44 +0000 (00:56 +0000)]
Minor changes to improve code readability (no actual code changes):
+ replace 0 with NULL where appropriate (not complete)
+ remove register declaration while there
+ add argument names to function prototypes to have a better idea of
  what they are used for
+ add 'const' qualifiers in 3 places

20 years agoDon't give up if sending to one link fails, continue.
ru [Sat, 17 Apr 2004 23:52:57 +0000 (23:52 +0000)]
Don't give up if sending to one link fails, continue.

Suggested by: jmallett

20 years agouse native names for if_link, ifa_link, if_addrhead.
luigi [Sat, 17 Apr 2004 23:29:25 +0000 (23:29 +0000)]
use native names for if_link, ifa_link, if_addrhead.
Change for (...) to TAILQ_FOREACH(...)

Ok'ed by: sam

20 years agoAdd 354k and 512k support.
fjoe [Sat, 17 Apr 2004 20:30:05 +0000 (20:30 +0000)]
Add 354k and 512k support.
Fix quality stats.

Submitted by: Stanislav A Svirid <count@riss-telecom.ru>

20 years agoAdd a Davies-Meyer style hash to the output. This is still pure
markm [Sat, 17 Apr 2004 19:26:53 +0000 (19:26 +0000)]
Add a Davies-Meyer style hash to the output. This is still pure
Nehemiah chip, but the work is all done in hardware.

There are three opportunities to add other entropy; the Data
Buffer, the Cipher's IV and the Cipher's key. A future commit
will exploit these opportunities.

20 years agoMore removal of the abortive locking code; malloc buffers when
markm [Sat, 17 Apr 2004 19:23:15 +0000 (19:23 +0000)]
More removal of the abortive locking code; malloc buffers when
needed, rather than potentially reusing contents.

20 years agosendmail_submit_enable and sendmail_outbound_enable checks were reverted.
fjoe [Sat, 17 Apr 2004 19:09:09 +0000 (19:09 +0000)]
sendmail_submit_enable and sendmail_outbound_enable checks were reverted.

Found by: Morten Rodal <morten@rodal.no>

20 years agoCheck -s option source address for validity.
pb [Sat, 17 Apr 2004 18:44:23 +0000 (18:44 +0000)]
Check -s option source address for validity.

PR: bin/29026
MFC after: 1 week

20 years agoBack out a change (s/IPsec/IPSec/) in rev.1.716->1.717.
hrs [Sat, 17 Apr 2004 18:31:25 +0000 (18:31 +0000)]
Back out a change (s/IPsec/IPSec/) in rev.1.716->1.717.

Pointed out by: simon
Pointy hat to: hrs

20 years agoFix some typos:
hrs [Sat, 17 Apr 2004 17:38:47 +0000 (17:38 +0000)]
Fix some typos:
s/IPsec/IPSec/
s/ids/IDs/
s/didn't/did not/