]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoAPI to fillout a blank disk. For e.g. newfs.
jmallett [Thu, 23 Jan 2003 21:32:56 +0000 (21:32 +0000)]
API to fillout a blank disk.  For e.g. newfs.

21 years agoFor "sensitive" processes, we always set the 'A' flag which causes abort()
phk [Thu, 23 Jan 2003 21:26:47 +0000 (21:26 +0000)]
For "sensitive" processes, we always set the 'A' flag which causes abort()
to be called on first sight of trouble.

"sensitive" is somewhat arbitrarily defined as "setuid, setgid, uid == root
or gid == wheel".

The 'A' option carries no performance penalty.

It is not possible to override this setting: fix the program instead.

Absentmindedly nodded OK to by:    various

21 years agoexpr foo -> $((foo))
fjoe [Thu, 23 Jan 2003 20:18:21 +0000 (20:18 +0000)]
expr foo -> $((foo))

21 years ago- restore an ability to write log of added users (default to
fjoe [Thu, 23 Jan 2003 20:07:40 +0000 (20:07 +0000)]
- restore an ability to write log of added users (default to
/var/log/adduser, disabled if empty or adduserlog="no")
- do not ask for password in configure mode
- print $passwdtype instead of password in configure mode
- add DATECMD, GREPCMD (not overridable but with full path)

21 years agoDo not loose trailing spaces when printing prompt messages.
fjoe [Thu, 23 Jan 2003 19:58:16 +0000 (19:58 +0000)]
Do not loose trailing spaces when printing prompt messages.

21 years agoDo not expose password if it is empty and PWF_STANDARD format is requested
fjoe [Thu, 23 Jan 2003 19:51:48 +0000 (19:51 +0000)]
Do not expose password if it is empty and PWF_STANDARD format is requested

MFC after: 1 week

21 years agoAdd an explanation of why indirection is good. Remove an indirection
fanf [Thu, 23 Jan 2003 19:23:52 +0000 (19:23 +0000)]
Add an explanation of why indirection is good. Remove an indirection
filk that also appears in fortunes2.

21 years agoAdd some whitespace in the Audio section. Translators can ignore
bmah [Thu, 23 Jan 2003 19:21:26 +0000 (19:21 +0000)]
Add some whitespace in the Audio section.  Translators can ignore
this.

21 years agoI didn't like where I put the last entry. Relocate it within its
bmah [Thu, 23 Jan 2003 19:19:17 +0000 (19:19 +0000)]
I didn't like where I put the last entry.  Relocate it within its
section.

21 years agoAdd SB Live! to hardware list.
bmah [Thu, 23 Jan 2003 19:16:44 +0000 (19:16 +0000)]
Add SB Live! to hardware list.

Submitted by: Arnaud Boudou <arnaud.boudou@cgey.com>

21 years agojoy(4) entry for pc98 was misplaced...move it from Audio section to
bmah [Thu, 23 Jan 2003 19:09:39 +0000 (19:09 +0000)]
joy(4) entry for pc98 was misplaced...move it from Audio section to
Miscellaneous.

21 years ago- Add a new option, ``-P port'', to specify the port for ftpd(8)
yar [Thu, 23 Jan 2003 18:39:48 +0000 (18:39 +0000)]
- Add a new option, ``-P port'', to specify the port for ftpd(8)
  to listen at in daemon mode.
- Use the port by 1 less than the control port as the default
  data port instead of always using hard-coded port 20.

Submitted by: roam
MFC after: 1 week

21 years agoAdd missing #if USE_IF_MEDIA/#endif.
mdodd [Thu, 23 Jan 2003 18:31:56 +0000 (18:31 +0000)]
Add missing #if USE_IF_MEDIA/#endif.

21 years agoMinor whitespace around previous commit. Can be ignored by
bmah [Thu, 23 Jan 2003 16:48:16 +0000 (16:48 +0000)]
Minor whitespace around previous commit.  Can be ignored by
translators.

21 years agoAdd idt devices to the hardware list.
bmah [Thu, 23 Jan 2003 16:47:13 +0000 (16:47 +0000)]
Add idt devices to the hardware list.

Submitted by:  Vincent Jardin <vjardin@wanadoo.fr>

21 years agoMerge DV(Digital Video) support.
simokawa [Thu, 23 Jan 2003 16:10:12 +0000 (16:10 +0000)]
Merge DV(Digital Video) support.

21 years ago- Add sysctl knob for bus manager. (hw.firewire.try_bmr)
simokawa [Thu, 23 Jan 2003 13:34:40 +0000 (13:34 +0000)]
- Add sysctl knob for bus manager. (hw.firewire.try_bmr)
- Check invalid SID length.
- Add some debug messages.

21 years agoSlight cleanup of the ETA / BPS code. Avoid a division by zero.
des [Thu, 23 Jan 2003 13:06:13 +0000 (13:06 +0000)]
Slight cleanup of the ETA / BPS code.  Avoid a division by zero.

21 years agoBetter error handling for -s.
maxim [Thu, 23 Jan 2003 13:04:42 +0000 (13:04 +0000)]
Better error handling for -s.

Submitted by: bde

Do not constantify maximum payload size. It is 65467 with -R
(record route), and 65507 without it.

Reviewed by: silence on -net
Proposed by: bde

I am going to MFC rev.1.77 - 1.81 ping.c and rev.1.39 and 1.40 ping.8:

MFC after:      6 months

21 years agostyle(9) sweep.
maxim [Thu, 23 Jan 2003 12:56:10 +0000 (12:56 +0000)]
style(9) sweep.

Submitted by: bde

21 years agoAnti-magic: s/255/MAXTTL/
maxim [Thu, 23 Jan 2003 12:54:11 +0000 (12:54 +0000)]
Anti-magic: s/255/MAXTTL/

21 years agoImplement -D (do not fragment) and -z (TOS) options.
maxim [Thu, 23 Jan 2003 12:48:12 +0000 (12:48 +0000)]
Implement -D (do not fragment) and -z (TOS) options.

PR: bin/29164
Reviewed by: silence of -net
Obtained from: OpenBSD

21 years agoPrint strict source routing option.
maxim [Thu, 23 Jan 2003 12:42:56 +0000 (12:42 +0000)]
Print strict source routing option.

Reviewed by: silence on -net
Proposed by: David Wang <dsw@juniper.net>

21 years agoburncd format accepts either 'dvd+rw' or 'dvd-rw' not 'dwd+rw'.
johan [Thu, 23 Jan 2003 09:12:09 +0000 (09:12 +0000)]
burncd format accepts either 'dvd+rw' or 'dvd-rw' not 'dwd+rw'.

Approved by: sos

21 years agoFixed Charles' e-mail here too.
ru [Thu, 23 Jan 2003 08:35:21 +0000 (08:35 +0000)]
Fixed Charles' e-mail here too.

21 years agotunefs now requires -lufs.
ru [Thu, 23 Jan 2003 08:30:48 +0000 (08:30 +0000)]
tunefs now requires -lufs.

21 years agoAdded UFS library to the bsd.libnames.mk namespace.
ru [Thu, 23 Jan 2003 08:15:05 +0000 (08:15 +0000)]
Added UFS library to the bsd.libnames.mk namespace.

21 years agoypserv(8) is now started from rc.d
mtm [Thu, 23 Jan 2003 06:03:30 +0000 (06:03 +0000)]
ypserv(8) is now started from rc.d

Approved by: markm (mentor)(implicit)

21 years agoMissing '$'
mtm [Thu, 23 Jan 2003 04:31:55 +0000 (04:31 +0000)]
Missing '$'

Approved by: markm (mentor)(implicit)

21 years ago*blush*
mtm [Thu, 23 Jan 2003 01:57:30 +0000 (01:57 +0000)]
*blush*
While I'm here properly quote all the other input I neglected
to quote.

Approved by: markm (mentor)(implicit)

21 years agoIn the absence of consensus as to implement stubs for these TSH-shaded
wollman [Thu, 23 Jan 2003 01:09:43 +0000 (01:09 +0000)]
In the absence of consensus as to implement stubs for these TSH-shaded
routines, remove their declarations.  Even though rwlocks have the same
functions, XBDft does not shade those declarations so I am leaving them in.
(This is probably a bug in the Standard.)

21 years agoClean up some junk defines, and GC the TPR options.
peter [Thu, 23 Jan 2003 01:04:27 +0000 (01:04 +0000)]
Clean up some junk defines, and GC the TPR options.

21 years agoNuke CHEAP_TPR stuff, including LOPRIO_LEVEL (bogus) and ALLHWI_LEVEL
peter [Thu, 23 Jan 2003 01:03:34 +0000 (01:03 +0000)]
Nuke CHEAP_TPR stuff, including LOPRIO_LEVEL (bogus) and ALLHWI_LEVEL
(which we never used).  There is no need to tweak the TPR anymore and
only causes problems.

21 years agoHack around a bug in the 2200 and 2120 controllers that connot DMA
scottl [Thu, 23 Jan 2003 01:01:44 +0000 (01:01 +0000)]
Hack around a bug in the 2200 and 2120 controllers that connot DMA
commands from below the first 8K of physical memory.  A better fix
is to modify the busdma api to allow either inclusion ranges or
multiple exclusion ranges, but that debate is for another day.

MFC After: 2 days

21 years agoNow that TPR isn't bogusly raised at boot, there is no need to clear
peter [Thu, 23 Jan 2003 01:01:35 +0000 (01:01 +0000)]
Now that TPR isn't bogusly raised at boot, there is no need to clear
it at context switch.

21 years agoDont raise the TPR register at initialization time. It only causes
peter [Thu, 23 Jan 2003 01:00:58 +0000 (01:00 +0000)]
Dont raise the TPR register at initialization time.   It only causes
problems and we only ever clear it.

21 years agoImplement SIOCGIFMEDIA for vlan devices by passing the request to the
fenner [Wed, 22 Jan 2003 23:30:26 +0000 (23:30 +0000)]
Implement SIOCGIFMEDIA for vlan devices by passing the request to the
 parent device, if there is a parent configured.  Modify the result
 returned by the parent to indicate that the only supported media
 is the currently configured one.

Reviewed by: brooks

21 years agoYAM: This id is found in a Sony Vaio GRX-670. When will this end?
marcel [Wed, 22 Jan 2003 22:02:09 +0000 (22:02 +0000)]
YAM: This id is found in a Sony Vaio GRX-670. When will this end?

Submitted by: Chuck McCrobie <mccrobie2000@yahoo.com>

21 years agoRevert AHD_TIMER_MAX_US to its original definition now that the
gibbs [Wed, 22 Jan 2003 22:00:07 +0000 (22:00 +0000)]
Revert AHD_TIMER_MAX_US to its original definition now that the
ahc and ahd modules have correct dependencies on the assembler.

21 years agoUpdate GENSRCS and aicasm options correctly depending on whether register
gibbs [Wed, 22 Jan 2003 21:56:54 +0000 (21:56 +0000)]
Update GENSRCS and aicasm options correctly depending on whether register
pretty printing is enabled

Add a dependency on the source files for aicasm so that it will be rebuilt
if out of date.

Simplify.

21 years ago- Remove NO_TIDY.
hrs [Wed, 22 Jan 2003 21:05:07 +0000 (21:05 +0000)]
- Remove NO_TIDY.
- Merge the following from the English version:

1.20  -> 1.23  errata/article.sgml

21 years agoProvide a sysctl to allow defaulting of the connectionless (-c) feature
dillon [Wed, 22 Jan 2003 19:57:31 +0000 (19:57 +0000)]
Provide a sysctl to allow defaulting of the connectionless (-c) feature
to mount_nfs.  The sysctl defaults to 1 (paranoid mode).  Setting it to 0
will allow an NFS client to receive replies on a different IP then they
were sent to by default.

Submitted by: Sean Eric Fagan <sef@kithrup.com>

21 years agoDocument netrc support.
des [Wed, 22 Jan 2003 18:35:20 +0000 (18:35 +0000)]
Document netrc support.

21 years agoAdd -N option to specify a netrc file.
des [Wed, 22 Jan 2003 18:33:39 +0000 (18:33 +0000)]
Add -N option to specify a netrc file.
Fix handling of -v option.
Don't treat negative offsets as valid positive ones.
Clean up the ETA and transfer rate code.  Show transfer rate along with
ETA if the verbose level is higher than 1.

21 years agoDocument .netrc support.
des [Wed, 22 Jan 2003 18:27:25 +0000 (18:27 +0000)]
Document .netrc support.

21 years ago- Move enable_sse()'s prototype to machine/md_var.h.
jhb [Wed, 22 Jan 2003 18:18:45 +0000 (18:18 +0000)]
- Move enable_sse()'s prototype to machine/md_var.h.
- Sort definition of cpu_* variables appropriately.
- Move cpu_fxsr out of the magic non-BSS set of variables and stick it in
  the BSS along with hw_instruction_sse (make the latter static as well).

Submitted by: bde (partially)

21 years agoAdded comment why this workaround is required.
ume [Wed, 22 Jan 2003 18:03:06 +0000 (18:03 +0000)]
Added comment why this workaround is required.

Suggested by: sam
MFC after: 1 week

21 years agoHook in the .netrc code + don't use pointers as if they were booleans.
des [Wed, 22 Jan 2003 17:54:49 +0000 (17:54 +0000)]
Hook in the .netrc code + don't use pointers as if they were booleans.

21 years agoRename cpuid_cpuinfo to cpu_procinfo. bde requested that I rename this
jhb [Wed, 22 Jan 2003 17:54:12 +0000 (17:54 +0000)]
Rename cpuid_cpuinfo to cpu_procinfo.  bde requested that I rename this
variable to something in the cpu_* namespace since that's what all the
other cpuid variables were named and cpu_procinfo is what I came up with.

Requested by: bde

21 years agoExperimental support for .netrc.
des [Wed, 22 Jan 2003 17:53:58 +0000 (17:53 +0000)]
Experimental support for .netrc.

21 years agoInitialization paranoia.
des [Wed, 22 Jan 2003 17:53:15 +0000 (17:53 +0000)]
Initialization paranoia.

21 years agoA negative offset means "get it all".
des [Wed, 22 Jan 2003 17:52:27 +0000 (17:52 +0000)]
A negative offset means "get it all".

21 years agoNew errata note: xl(4) timing problems.
bmah [Wed, 22 Jan 2003 17:28:12 +0000 (17:28 +0000)]
New errata note:  xl(4) timing problems.

Submitted by: silby

21 years agoBah, add in a missing space char I noticed when MFC'ing this.
jhb [Wed, 22 Jan 2003 17:26:18 +0000 (17:26 +0000)]
Bah, add in a missing space char I noticed when MFC'ing this.

21 years agoNew errata item: adduser(8) passwds can't have special shell characters.
bmah [Wed, 22 Jan 2003 17:19:12 +0000 (17:19 +0000)]
New errata item:  adduser(8) passwds can't have special shell characters.

Submitted by: <robin@isometry.net>, mtm

21 years agoCorrectly identify the 3C920B chipset; although it may ship with some Nforce2
silby [Wed, 22 Jan 2003 17:14:33 +0000 (17:14 +0000)]
Correctly identify the 3C920B chipset; although it may ship with some Nforce2
boards, it's definitely not an Nvidia chip.

Info from: Nvidia's Linux Network driver & pciids.sourceforge.net

21 years agoThis commit was generated by cvs2svn to compensate for changes in r109686,
des [Wed, 22 Jan 2003 16:46:44 +0000 (16:46 +0000)]
This commit was generated by cvs2svn to compensate for changes in r109686,
which included commits to RCS files with non-trunk default branches.

21 years ago#include <sys/types.h> (perforce change 24073)
des [Wed, 22 Jan 2003 16:46:44 +0000 (16:46 +0000)]
#include <sys/types.h> (perforce change 24073)

21 years agoPrevent server-side glob(3) patterns from expanding
yar [Wed, 22 Jan 2003 16:25:22 +0000 (16:25 +0000)]
Prevent server-side glob(3) patterns from expanding
to a pathname that contains '\r' or '\n'.

Together with the earlier STAT bugfix, this must solve
the problem of such pathnames appearing in the FTP control
stream.

21 years agoList all of the assignment operators explicitly, for those who have been
fanf [Wed, 22 Jan 2003 15:19:07 +0000 (15:19 +0000)]
List all of the assignment operators explicitly, for those who have been
traumatized by perl.

21 years agoForce early initialization of the resolver library, since the resolver
des [Wed, 22 Jan 2003 14:12:59 +0000 (14:12 +0000)]
Force early initialization of the resolver library, since the resolver
configuration files will no longer be available once sshd is chrooted.

PR: 39953, 40894
Submitted by: dinoex
MFC after: 3 days

21 years agoMake the arguments to d_close() match the arguments to d_open(), since
joerg [Wed, 22 Jan 2003 14:06:46 +0000 (14:06 +0000)]
Make the arguments to d_close() match the arguments to d_open(), since
otherwise the close operation is void, and the underlying device remains
marked as being busy.

Thanks to phk for finding this.

MFC after: 3 days

21 years agogetpeername() returns with no error but didn't fill struct sockaddr
ume [Wed, 22 Jan 2003 13:13:13 +0000 (13:13 +0000)]
getpeername() returns with no error but didn't fill struct sockaddr
correctly against PF_LOCAL.  It seems that the test always fails then
sockaddr was not filled.  So, I added else clause for workaround.
I doubt if it is right fix.  However, it is better than nothing.  I
found that NetBSD has same potential problem.  But, fortunately,
NetBSD has equivalent else clause.

MFC after: 1 week

21 years agoWhen computing a new seed for an existing user, opienewseed() would
des [Wed, 22 Jan 2003 10:55:36 +0000 (10:55 +0000)]
When computing a new seed for an existing user, opienewseed() would
incorrectly compute the length of the numeric portion of the previous
seed, causing the new seed to be one character shorter than the old
one.

This patch has been submitted to the vendor; I'm committing it right
away since the file is already off the vendor branch.

MFC after: 3 days

21 years agoAdd yet another Sony Vaio PS/2 mouse ID. This one is found on a VX88.
hsu [Wed, 22 Jan 2003 03:31:08 +0000 (03:31 +0000)]
Add yet another Sony Vaio PS/2 mouse ID. This one is found on a VX88.

Submitted by: marcel

21 years agoRemove BAT invalidation. This is done later in the boot sequence,
grehan [Wed, 22 Jan 2003 01:47:05 +0000 (01:47 +0000)]
Remove BAT invalidation. This is done later in the boot sequence,
so isn't required here, and seems to cause problems when booting
from disk.

Approved by:  benno

21 years agoCatch up with the English version (w/ some translation fixes):
hrs [Wed, 22 Jan 2003 01:45:14 +0000 (01:45 +0000)]
Catch up with the English version (w/ some translation fixes):

1.12  -> 1.20  errata/article.sgml
1.126 -> 1.129 hardware/common/dev.sgml
1.475 -> 1.480 relnotes/common/new.sgml

Submitted by: Hideyuki KURASHINA <rushani@jp.FreBSD.org>
References: [doc-jp-work 585]

21 years agoConvert remaining .s files to .S
grehan [Wed, 22 Jan 2003 01:34:37 +0000 (01:34 +0000)]
Convert remaining .s files to .S

Approved by:  benno

21 years ago- remove dead conditional CFLAG setting
grehan [Wed, 22 Jan 2003 01:34:10 +0000 (01:34 +0000)]
- remove dead conditional CFLAG setting
- switch locore .s -> .S

Approved by:  benno

21 years agoFix what I think is an off-by-one in certain worst-case scenarios
peter [Wed, 22 Jan 2003 00:34:22 +0000 (00:34 +0000)]
Fix what I think is an off-by-one in certain worst-case scenarios
caused by rev 1.45.  (eg: the estimate being exactly half of the result.)

21 years agofix link_status() in non-Ethernet case
fjoe [Wed, 22 Jan 2003 00:14:34 +0000 (00:14 +0000)]
fix link_status() in non-Ethernet case

MFC after: 1 week

21 years agoFinish update for cvs-1.11.5. Some build-time tunables were moved from
peter [Tue, 21 Jan 2003 23:00:36 +0000 (23:00 +0000)]
Finish update for cvs-1.11.5.  Some build-time tunables were moved from
options.h to config.h.in and set via ./configure when built normally.
Export some of the build knobs to the Makefile here, overridable
from /etc/make.conf.  Also get the version strings right.
config.h was repocopied to config.h.proto, and we do a limited sed on it
at build time now.

21 years agoDont bother with unused rules for version.c
peter [Tue, 21 Jan 2003 22:31:07 +0000 (22:31 +0000)]
Dont bother with unused rules for version.c

21 years agoTurn off Checkin-prog and Update-prog.
peter [Tue, 21 Jan 2003 22:10:13 +0000 (22:10 +0000)]
Turn off Checkin-prog and Update-prog.

21 years agoUpdate for cvs-1.11.5 import (note to self: gotta fix the version tags)
peter [Tue, 21 Jan 2003 22:04:20 +0000 (22:04 +0000)]
Update for cvs-1.11.5 import (note to self: gotta fix the version tags)

21 years agoThis commit was generated by cvs2svn to compensate for changes in r109661,
peter [Tue, 21 Jan 2003 22:02:26 +0000 (22:02 +0000)]
This commit was generated by cvs2svn to compensate for changes in r109661,
which included commits to RCS files with non-trunk default branches.

21 years agoMerge cvs-1.11.2.1-20021201 -> 1.11.5 changes onto mainline
peter [Tue, 21 Jan 2003 22:01:38 +0000 (22:01 +0000)]
Merge cvs-1.11.2.1-20021201 -> 1.11.5 changes onto mainline

21 years agoThis commit was generated by cvs2svn to compensate for changes in r109658,
peter [Tue, 21 Jan 2003 21:58:47 +0000 (21:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r109658,
which included commits to RCS files with non-trunk default branches.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r109655,
peter [Tue, 21 Jan 2003 21:53:03 +0000 (21:53 +0000)]
This commit was generated by cvs2svn to compensate for changes in r109655,
which included commits to RCS files with non-trunk default branches.

21 years agoImport cvs-1.11.5 onto vendor branch
peter [Tue, 21 Jan 2003 21:53:03 +0000 (21:53 +0000)]
Import cvs-1.11.5 onto vendor branch

21 years agoThere's absolutely no need for a struct-within-a-struct, so move the
des [Tue, 21 Jan 2003 20:33:27 +0000 (20:33 +0000)]
There's absolutely no need for a struct-within-a-struct, so move the
counters out of the inner struct and remove it.

21 years agoAdd missing SMP file locks around read-modify-write operations on
hsu [Tue, 21 Jan 2003 20:20:48 +0000 (20:20 +0000)]
Add missing SMP file locks around read-modify-write operations on
the flag field.

Reviewed by: rwatson

21 years agoRemove OBE prototype for iszerodev() - it was replaced by the
peter [Tue, 21 Jan 2003 19:26:17 +0000 (19:26 +0000)]
Remove OBE prototype for iszerodev() - it was replaced by the
D_MMAP_ANON device switch flag.

21 years agoFixes for a number of problems in the IOMMU code:
tmm [Tue, 21 Jan 2003 18:22:26 +0000 (18:22 +0000)]
Fixes for a number of problems in the IOMMU code:
1.) Fix an off-by-one in the DVMA space handling, which would make it
    possible to allocate one page beyond the end of the DVMA area.
    This page was aliased to the first page. Apparently, this bug was
    responsible for the trashed nvram/eeprom some people were reporting,
    in conjunction with a number of unfortunate coincidences.
2.) Fix broken boundary and and lowaddr calculations.
3.) Fix a memory leak on an error path.
4.) Update a outdated comment to reflect the introduction of IOMMU_MAX_PRE,
    make the usage of IOMMU_MAX_PRE more consistent and KASSERT that the
    preallocation size is not 0.
5.) Fix a case where an error return was lost.
6.) When signalling an error to the caller by invoking the callback, do
    not use a segment pointer of NULL for compatability with existing
    drivers.

Also, increase the maximum segment number to 64; it is rather arbitrary,
with the exception of the of the stack space consumed by the segment
array.

Special thanks go to Harti Brandt <brandt@fokus.fraunhofer.de> for
spotting 4 and 5, and testing many iterations of patches.

Pointy hats to: tmm

21 years agoFree resources when failing to set up the interrupt.
tmm [Tue, 21 Jan 2003 17:28:36 +0000 (17:28 +0000)]
Free resources when failing to set up the interrupt.

21 years agobus_dmamap_sync() overhaul:
tmm [Tue, 21 Jan 2003 17:22:52 +0000 (17:22 +0000)]
bus_dmamap_sync() overhaul:
- Remove NetBSD-style or-ed together BUS_DMASYNC operations, in some
  cases relaxing the (intended) syncing operation a bit.
- Add syncs before reading the descriptor rings.
- Try to combine syncs where possible to avoid overhead.
- Sync all maps before unloading them.

21 years agobus_dmamap_sync() overhaul:
tmm [Tue, 21 Jan 2003 17:17:01 +0000 (17:17 +0000)]
bus_dmamap_sync() overhaul:
- Remove NetBSD-style or-ed together BUS_DMASYNC operations, in some
  cases relaxing the (intended) syncing operation a bit.
- Stop pretending that that we can sync part of a dmamap: replace the
  GEM_CDTXSYNC and GEM_CDRXSYNC macros with GEM_CDSYNC to sync the
  complete control map, and combine syncs wherever possible to avoid
  the overhead.
- Sync all maps before unloading them.
- Remove a few syncs which should be unnecessary.

21 years agoFix iommu_dvmamap_sync(): it was still operating as if the BUS_DMASYNC_*
tmm [Tue, 21 Jan 2003 17:08:22 +0000 (17:08 +0000)]
Fix iommu_dvmamap_sync(): it was still operating as if the BUS_DMASYNC_*
constants where flag bits (as in NetBSD), although they are consecutively
numbered in FreeBSD. This would cause unnecessary flushing in the
BUS_DMASYNC_POSTWRITE case, but was otherwise mostly harmless.

21 years agoCorrect an off-by-one in the boundary check. Otherwise, resource
tmm [Tue, 21 Jan 2003 17:02:21 +0000 (17:02 +0000)]
Correct an off-by-one in the boundary check. Otherwise, resource
allocations would fail if the desired allocation size was equal to
the boundary.

21 years agoDefine misc structs outside of struct firewire_comm.
simokawa [Tue, 21 Jan 2003 16:37:01 +0000 (16:37 +0000)]
Define misc structs outside of struct firewire_comm.

21 years agoIgnore events of unused IR DMA.
simokawa [Tue, 21 Jan 2003 16:24:35 +0000 (16:24 +0000)]
Ignore events of unused IR DMA.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r109641,
nectar [Tue, 21 Jan 2003 14:19:06 +0000 (14:19 +0000)]
This commit was generated by cvs2svn to compensate for changes in r109641,
which included commits to RCS files with non-trunk default branches.

21 years agoAdd a missing include, needed to get a prototype for `des_read_pw_string'.
nectar [Tue, 21 Jan 2003 14:19:06 +0000 (14:19 +0000)]
Add a missing include, needed to get a prototype for `des_read_pw_string'.
This is particularly important for OpenSSL 0.9.7, as `des_read_pw_string'
is a macro there.  (This fix brought in on the vendor branch, because I
already committed it to Heimdal's CVS.)

21 years agoDefine OPENSSL_DES_LIBDES_COMPATIBILITY so that Heimdal will build with
nectar [Tue, 21 Jan 2003 14:08:24 +0000 (14:08 +0000)]
Define OPENSSL_DES_LIBDES_COMPATIBILITY so that Heimdal will build with
OpenSSL 0.9.7 when it is imported.  (This currently has no effect.)

21 years agoRemove NEXTDOSPART.
nyan [Tue, 21 Jan 2003 14:02:11 +0000 (14:02 +0000)]
Remove NEXTDOSPART.

21 years agoUse NDOSPART instead of NEXTDOSPART.
nyan [Tue, 21 Jan 2003 13:59:53 +0000 (13:59 +0000)]
Use NDOSPART instead of NEXTDOSPART.

21 years agoMFi386: revision 1.63.
nyan [Tue, 21 Jan 2003 13:57:43 +0000 (13:57 +0000)]
MFi386: revision 1.63.

21 years agoNeeds wlan for wi.
imp [Tue, 21 Jan 2003 13:31:52 +0000 (13:31 +0000)]
Needs wlan for wi.

21 years agoDon't forget to properly quote input.
mtm [Tue, 21 Jan 2003 12:11:35 +0000 (12:11 +0000)]
Don't forget to properly quote input.

Approved by: markm (mentor)(implicit)
Submitted by: Robin Breathe <robin@isometry.net>

21 years ago#ifdef NO_GEOM some bits here too.
phk [Tue, 21 Jan 2003 11:39:19 +0000 (11:39 +0000)]
#ifdef NO_GEOM some bits here too.