]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoUse resource_list_print_types() instead of duplicating the code.
jhb [Wed, 4 Sep 2002 03:11:20 +0000 (03:11 +0000)]
Use resource_list_print_types() instead of duplicating the code.

22 years agoDie on -D=foo, when parsing options - we can't let someone define (nil).
jmallett [Wed, 4 Sep 2002 01:12:39 +0000 (01:12 +0000)]
Die on -D=foo, when parsing options - we can't let someone define (nil).

MFC after: 3 days

22 years agoDeprecate the use of sendmail_enable="NONE" as it adversely affects the
gshapiro [Tue, 3 Sep 2002 22:15:57 +0000 (22:15 +0000)]
Deprecate the use of sendmail_enable="NONE" as it adversely affects the
new rcNG effort.

Submitted by: Mike Makonnen <makonnen@pacbell.net>

22 years agoMake the text segment locating heuristics from rev 1.121 more reliable
peter [Tue, 3 Sep 2002 21:18:17 +0000 (21:18 +0000)]
Make the text segment locating heuristics from rev 1.121 more reliable
so that it works on the Alpha.  This defines the segment that the entry
point exists in as 'text' and any others (usually one) as data.

Submitted by: tmm
Tested on: i386, alpha

22 years ago- Change falloc() to acquire an fd from the process table last so that
jhb [Tue, 3 Sep 2002 20:16:31 +0000 (20:16 +0000)]
- Change falloc() to acquire an fd from the process table last so that
  it can do it w/o needing to hold the filelist_lock sx lock.
- fdalloc() doesn't need Giant to call free() anymore.  It also doesn't
  need to drop and reacquire the filedesc lock around free() now as a
  result.
- Try to make the code that copies fd tables when extending the fd table in
  fdalloc() a bit more readable by performing assignments in separate
  statements.  This is still a bit ugly though.
- Use max() instead of an if statement so to figure out the starting point
  in the search-for-a-free-fd loop in fdalloc() so it reads better next to
  the min() in the previous line.
- Don't grow nfiles in steps up to the size needed if we dup2() to some
  really large number.  Go ahead and double 'nfiles' in a loop prior
  to doing the malloc().
- malloc() doesn't need Giant now.
- Use malloc() and free() instead of MALLOC() and FREE() in fdalloc().
- Check to see if the size we are going to grow to is too big, not if the
  current size of the fd table is too big in the loop in fdalloc().  This
  means if we are out of space or if dup2() requests too high of a fd,
  then we will return an error before we go off and try to allocate some
  huge table and copy the existing table into it.
- Move all of the logic for dup'ing a file descriptor into do_dup() instead
  of putting some of it in do_dup() and duplicating other parts in four
  different places.  This makes dup(), dup2(), and fcntl(F_DUPFD) basically
  wrappers of do_dup now.  fcntl() still has an extra check since it uses
  a different error return value in one case then the other functions.
- Add a KASSERT() for an assertion that may not always be true where the
  fdcheckstd() function assumes that falloc() returns the fd requested and
  not some other fd.  I think that the assertion is always true because we
  are always single-threaded when we get to this point, but if one was
  using rfork() and another process sharing the fd table were playing with
  the fd table, there might could be a problem.
- To handle the problem of a file descriptor we are dup()'ing being closed
  out from under us in dup() in general, do_dup() now obtains a reference
  on the file in question before calling fdalloc().  If after the call to
  fdalloc() the file for the fd we are dup'ing is a different file, then
  we drop our reference on the original file and return EBADF.  This
  race was only handled in the dup2() case before and would just retry
  the operation.  The error return allows the user to know they are being
  stupid since they have a locking bug in their app instead of dup'ing
  some other descriptor and returning it to them.

Tested on: i386, alpha, sparc64

22 years agoDon't try (and fail) to fchmod /dev/stdout. Revert the manual page
fanf [Tue, 3 Sep 2002 19:37:23 +0000 (19:37 +0000)]
Don't try (and fail) to fchmod /dev/stdout. Revert the manual page
to suggest the portable alternative to -p.

PR: 42356
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
MFC after: 1 week

22 years ago- Move $FreeBSD$ to the top of the file.
jhb [Tue, 3 Sep 2002 19:21:39 +0000 (19:21 +0000)]
- Move $FreeBSD$ to the top of the file.
- Fix a few grammar bogons.
- Add a small style guide.

Reviewed by: bde (a while ago)

22 years agoAdd some KASSERT()'s to ensure that we don't perform spin mutex ops on
jhb [Tue, 3 Sep 2002 18:25:16 +0000 (18:25 +0000)]
Add some KASSERT()'s to ensure that we don't perform spin mutex ops on
sleep mutexes and vice versa.  WITNESS normally should catch this but
not everyone uses WITNESS so this is a fallback to catch nasty but easy
to do bugs.

22 years agoAdhere to guidelines when testing for null strings.
eric [Tue, 3 Sep 2002 17:39:26 +0000 (17:39 +0000)]
Adhere to guidelines when testing for null strings.

Submitted by: rwatson

22 years agoRemove aic7xxx from the module build framework until all bootstrapping
gibbs [Tue, 3 Sep 2002 16:54:48 +0000 (16:54 +0000)]
Remove aic7xxx from the module build framework until all bootstrapping
issues are resolved.

22 years agonfsd doesn't die on SIGTERM but on SIGUSR1, correct script to kill nfsd with
gordon [Tue, 3 Sep 2002 16:02:57 +0000 (16:02 +0000)]
nfsd doesn't die on SIGTERM but on SIGUSR1, correct script to kill nfsd with
the right signal.

22 years agoDon't need to install the signal trampoline here anymore.
jake [Tue, 3 Sep 2002 14:59:41 +0000 (14:59 +0000)]
Don't need to install the signal trampoline here anymore.

22 years agoInstall the userland signal trampoline when sigaction is first called,
jake [Tue, 3 Sep 2002 14:55:29 +0000 (14:55 +0000)]
Install the userland signal trampoline when sigaction is first called,
instead of on startup.  This fixes binary compatibility of dynamically
linked binaries from before the signal code move.

Suggested by: wollman (a long time ago)

22 years agoIn the kernel code, we have the tsleep() call with the PCATCH argument.
davidxu [Tue, 3 Sep 2002 12:56:01 +0000 (12:56 +0000)]
In the kernel code, we have the tsleep() call with the PCATCH argument.
PCATCH means 'if we get a signal, interrupt me!" and tsleep returns
either EINTR or ERESTART depending on the circumstances.  ERESTART is
"special" because it causes the system call to fail, but right as it
returns back to userland it tells the trap handler to move %eip back a
bit so that userland will immediately re-run the syscall.
This is a syscall restart. It only works for things like read() etc where
nothing has changed yet. Note that *userland* is tricked into restarting
the syscall by the kernel. The kernel doesn't actually do the restart. It
is deadly for things like select, poll, nanosleep etc where it might cause
the elapsed time to be reset and start again from scratch.  So those
syscalls do this to prevent userland rerunning the syscall:
  if (error == ERESTART) error = EINTR;

Fake "signals" like SIGTSTP from ^Z etc do not normally invoke userland
signal handlers. But, in -current, the PCATCH *is* being triggered and
tsleep is returning ERESTART, and the syscall is aborted even though no
userland signal handler was run.
That is the fault here.  We're triggering the PCATCH in cases that we
shouldn't.  ie: it is being triggered on *any* signal processing, rather
than the case where the signal is posted to userland.
--- Peter

The work of psignal() is a patchwork of special case required by the process
debugging and job-control facilities...
--- Kirk McKusick
"The design and impelementation of the 4.4BSD Operating system"
Page 105

in STABLE source, when psignal is posting a STOP signal to sleeping
process and the signal action of the process is SIG_DFL, system will
directly change the process state from SSLEEP to SSTOP, and when
SIGCONT is posted to the stopped process, if it finds that the process
is still on sleep queue, the process state will be restored to SSLEEP,
and won't wakeup the process.

this commit mimics the behaviour in STABLE source tree.

Reviewed by: Jon Mini, Tim Robbins, Peter Wemm
Approved by: julian@freebsd.org (mentor)

22 years agoRemove a debug printf.
phk [Tue, 3 Sep 2002 11:31:34 +0000 (11:31 +0000)]
Remove a debug printf.

Correctly identify the ARGOSY SP320 dual port serial PCMCIA card.

22 years agoDrop another cookie to wet Warners appetite:
phk [Tue, 3 Sep 2002 11:24:25 +0000 (11:24 +0000)]
Drop another cookie to wet Warners appetite:

We need to call the drivers interrupt function even though the card is not
multifunction.

22 years agoFix interrupt registration:
phk [Tue, 3 Sep 2002 11:22:13 +0000 (11:22 +0000)]
Fix interrupt registration:

PUC devices live on pccard or pci so INTR_FAST is never really an option.
Don't try to register the interrupt as fast and don't allow the children
to do so either.

22 years agoStyle: fix a function whitespace stuff-up. Remove a debugging printf.
phk [Tue, 3 Sep 2002 11:19:44 +0000 (11:19 +0000)]
Style: fix a function whitespace stuff-up.  Remove a debugging printf.

22 years agoStyle: move a global variable up to the top of the file.
phk [Tue, 3 Sep 2002 11:18:35 +0000 (11:18 +0000)]
Style: move a global variable up to the top of the file.

22 years agoDon't probe the interrupt on puc(4) attached devices.
phk [Tue, 3 Sep 2002 11:17:38 +0000 (11:17 +0000)]
Don't probe the interrupt on puc(4) attached devices.

22 years agoSuggest -p instead of -o /dev/stdout.
fanf [Tue, 3 Sep 2002 10:18:56 +0000 (10:18 +0000)]
Suggest -p instead of -o /dev/stdout.

PR: 42356

22 years agoRemove spurious whitespace
fanf [Tue, 3 Sep 2002 09:58:11 +0000 (09:58 +0000)]
Remove spurious whitespace

22 years ago- Improve AC97 presence check and move it from fm801_attach() to fm801_probe();
sobomax [Tue, 3 Sep 2002 08:58:15 +0000 (08:58 +0000)]
- Improve AC97 presence check and move it from fm801_attach() to fm801_probe();
- add bus capabilities into the driver, so that it is possible for a radio
  driver to attach to it to use shared resources of fm801 chip. The radio
  driver itself will be committed later.

MFC after: 1 week

22 years agoWhen installing package from a local file assume that all subsequent
sobomax [Tue, 3 Sep 2002 06:59:33 +0000 (06:59 +0000)]
When installing package from a local file assume that all subsequent
autoinstalled dependencies will have the same extension, not just
".tbz".

Pointy hat to: obrien
X-MFC after: -1 day

22 years agogcc 3.2
imp [Tue, 3 Sep 2002 06:13:43 +0000 (06:13 +0000)]
gcc 3.2
rm -rf /usr/include/g++ needed to upgrade from 4.6

22 years agoPrevent ps(1) from doing idiotic munging of things in a -ofmt= string.
jmallett [Tue, 3 Sep 2002 05:44:00 +0000 (05:44 +0000)]
Prevent ps(1) from doing idiotic munging of things in a -ofmt= string.

God I hate the backwards compatability crap here.

22 years agoFix a nasty bug exposed by mktime() when time_t is significantly bigger
peter [Tue, 3 Sep 2002 04:34:10 +0000 (04:34 +0000)]
Fix a nasty bug exposed by mktime() when time_t is significantly bigger
than 32 bits.  It was trying to figure out things like the day of week
of when time_t is roughly 2^62 etc.  Make a better guess for the starting
point for the binary search that works on both 32 and 64 bit types.  I have
been using this for a while now.

22 years agoTurn off usage of SMP style locking until we sort out CAM.
mjacob [Tue, 3 Sep 2002 04:31:55 +0000 (04:31 +0000)]
Turn off usage of SMP style locking until we sort out CAM.

22 years agoMake this compile
peter [Tue, 3 Sep 2002 04:30:00 +0000 (04:30 +0000)]
Make this compile

22 years agoDon't do transition locking (i.e., CAM->MPT->CAM)- Peter claimed that ia64
mjacob [Tue, 3 Sep 2002 02:18:21 +0000 (02:18 +0000)]
Don't do transition locking (i.e., CAM->MPT->CAM)- Peter claimed that ia64
chokes the chicken with this.

Submitted by: wemm@freebsd.org

22 years agoSet errno to EILSEQ when invalid multibyte sequences are detected
tjr [Tue, 3 Sep 2002 01:09:47 +0000 (01:09 +0000)]
Set errno to EILSEQ when invalid multibyte sequences are detected
(XSI extension to 1003.1-2001).

22 years agoModified release notes: Remote note about enabling rnNG (it's now on
bmah [Tue, 3 Sep 2002 01:07:32 +0000 (01:07 +0000)]
Modified release notes:  Remote note about enabling rnNG (it's now on
by default), cvs 1.11.2.

MFCs noted:  Binutils 2.12.1 20020622 snapshot.

22 years agoNew release notes: ng_l2tp(4) (+MFC), ifconfig(8) promisc (+MFC),
bmah [Tue, 3 Sep 2002 00:26:24 +0000 (00:26 +0000)]
New release notes:  ng_l2tp(4) (+MFC), ifconfig(8) promisc (+MFC),
inetd(8) service limitations (+MFC).

MFCs noted:  uaudio, daemon(8), tcpd(8).

22 years agoNow that _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ are the same on all
mike [Tue, 3 Sep 2002 00:06:58 +0000 (00:06 +0000)]
Now that _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ are the same on all
architectures, move the definition directly into <time.h> and finish
the removal of <machine/ansi.h>.

22 years agoRemove an unneeded PROC_LOCK, which caused lock recursion panics.
jake [Mon, 2 Sep 2002 23:46:13 +0000 (23:46 +0000)]
Remove an unneeded PROC_LOCK, which caused lock recursion panics.
Print a warning about old applications with no signal trampoline.

Reported by: marius@alchemy.franken.de

22 years agoUse the new kern_*() functions to avoid using the stack gap in
iedowse [Mon, 2 Sep 2002 22:46:05 +0000 (22:46 +0000)]
Use the new kern_*() functions to avoid using the stack gap in
linux_fcntl*() and linux_getcwd().

22 years agoAlign _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ with most other
mike [Mon, 2 Sep 2002 22:40:56 +0000 (22:40 +0000)]
Align _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ with most other
platforms.  This introduces some binary incompatibilities for
dynamically linked programs which make use of clock(3) and times(3).

Approved by: jake

22 years agoSplit up __getcwd so that kernel callers of the internal version
iedowse [Mon, 2 Sep 2002 22:40:30 +0000 (22:40 +0000)]
Split up __getcwd so that kernel callers of the internal version
can specify whether the buffer is in user or system space.

22 years agoAlign _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ with most other
mike [Mon, 2 Sep 2002 22:40:12 +0000 (22:40 +0000)]
Align _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ with most other
platforms.  This introduces some binary incompatibilities for
dynamically linked programs which make use of clock(3) and times(3).

22 years agoSplit fcntl() into a wrapper and a kernel-callable kern_fcntl()
iedowse [Mon, 2 Sep 2002 22:24:14 +0000 (22:24 +0000)]
Split fcntl() into a wrapper and a kernel-callable kern_fcntl()
implementation. The wrapper is responsible for copying additional
structure arguments (struct flock) to and from userland.

22 years agoWe don't use single_mountd_enable anymore. It's just mountd_enable. I must
gordon [Mon, 2 Sep 2002 21:20:58 +0000 (21:20 +0000)]
We don't use single_mountd_enable anymore. It's just mountd_enable. I must
have missed this in my earlier sweep.

22 years agoOnly install the scripts that actually used on FreeBSD.
gordon [Mon, 2 Sep 2002 20:49:26 +0000 (20:49 +0000)]
Only install the scripts that actually used on FreeBSD.

22 years agoCommit a revised sendmail script that works the same way as rc.sendmail.
gordon [Mon, 2 Sep 2002 20:37:03 +0000 (20:37 +0000)]
Commit a revised sendmail script that works the same way as rc.sendmail.
This should also quell warnings when sendmail_enable="NONE"

22 years agoHook up libkern/strlcpy.c and libkern/strlcat.c after repocopy.
brooks [Mon, 2 Sep 2002 20:16:22 +0000 (20:16 +0000)]
Hook up libkern/strlcpy.c and libkern/strlcat.c after repocopy.

Obtained from: OpenBSD
Discussed on: -arch

22 years agoMake SCSI_DELAY setable at boot time and runtime via the
brooks [Mon, 2 Sep 2002 20:10:19 +0000 (20:10 +0000)]
Make SCSI_DELAY setable at boot time and runtime via the
kern.cam.scsi_delay tunable/sysctl.

Reviewed by: mdodd, njl

22 years agoDon't initialise policy, v4bind and v6bind where the variables are
dwmalone [Mon, 2 Sep 2002 20:07:14 +0000 (20:07 +0000)]
Don't initialise policy, v4bind and v6bind where the variables are
declared - it was bad style and caused a bug. v[46]bind need to be
reset whenever we go to the "more:" label.

Jean-Luc and I came up with this patch independently, so it had
better be right!

PR: 40771
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>

22 years agotpc -> tcp in an error message.
dwmalone [Mon, 2 Sep 2002 20:00:46 +0000 (20:00 +0000)]
tpc -> tcp in an error message.

PR: 40771
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>

22 years agoClear up a few warnings (unused variable, rpc versions are usigned so use %u,
dwmalone [Mon, 2 Sep 2002 19:58:15 +0000 (19:58 +0000)]
Clear up a few warnings (unused variable, rpc versions are usigned so use %u,
rename a parameter to avoid shadowing a global).

MFC after: 1 month

22 years agoSwitch over to the new EA manipulation utilities.
phk [Mon, 2 Sep 2002 19:28:59 +0000 (19:28 +0000)]
Switch over to the new EA manipulation utilities.

Sponsored by: DARPA & NAI Labs.

22 years agoGrammer cleanup
dillon [Mon, 2 Sep 2002 17:27:30 +0000 (17:27 +0000)]
Grammer cleanup

22 years agoTurn rc_ng on by default now, it's time has come. While we are at it, I'd
gordon [Mon, 2 Sep 2002 16:35:01 +0000 (16:35 +0000)]
Turn rc_ng on by default now, it's time has come. While we are at it, I'd
like to thank Mike Makonnen for all his work on rcNG. Without him, none
of this would have been possible.

22 years agoUnbreak -DNOINET6
brian [Mon, 2 Sep 2002 13:34:27 +0000 (13:34 +0000)]
Unbreak -DNOINET6

Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
MFC after: 1 day

22 years agocvs-1.11.2 seems to bug out if HAVE_MMAP is not defined. It hoses its
peter [Mon, 2 Sep 2002 11:35:13 +0000 (11:35 +0000)]
cvs-1.11.2 seems to bug out if HAVE_MMAP is not defined.  It hoses its
internal buffer management somehow (an off by one perhaps).  HAVE_MMAP
wasn't detected because configure has a bogus declaration of malloc
which conflicted with stdlib.h.  Sigh.

22 years agoFix a cvs server bug introduced in 1.11.2, in the words of the author:
peter [Mon, 2 Sep 2002 07:58:04 +0000 (07:58 +0000)]
Fix a cvs server bug introduced in 1.11.2, in the words of the author:
---
Fix communication hanging in communication shutdown phase, caused by at
least older CVS clients (version < 1.11.2) and a semantically incorrect
usage of getc() by the server.
---

getc() was being used on a blocking socket/pipe.

Submitted by:   rse

22 years agofix bogus CTR3 message.
davidxu [Mon, 2 Sep 2002 07:55:06 +0000 (07:55 +0000)]
fix bogus CTR3 message.

Reviewed by: julian@freebsd.org (mentor)

22 years agoRepo copy these files to the bmake area, these are not part of the
peter [Mon, 2 Sep 2002 06:09:03 +0000 (06:09 +0000)]
Repo copy these files to the bmake area, these are not part of the
cvs vendor release and should not have been 'cvs add'ed there in
the first place.

22 years agoRemove these files from the vendor branch, they are no longer in 1.11.2
peter [Mon, 2 Sep 2002 06:02:40 +0000 (06:02 +0000)]
Remove these files from the vendor branch, they are no longer in 1.11.2

22 years agoversion.h is now autogenerated in 1.11.2, not version.c
peter [Mon, 2 Sep 2002 06:00:09 +0000 (06:00 +0000)]
version.h is now autogenerated in 1.11.2, not version.c

22 years agoUpdate for 1.11.1p1 -> 1.11.2 import
peter [Mon, 2 Sep 2002 05:59:33 +0000 (05:59 +0000)]
Update for 1.11.1p1 -> 1.11.2 import

22 years agoIt seems CVSvn.texi isn't used anymore.
peter [Mon, 2 Sep 2002 05:59:02 +0000 (05:59 +0000)]
It seems CVSvn.texi isn't used anymore.

22 years agoMinor updates after 1.11.2 import
peter [Mon, 2 Sep 2002 05:58:30 +0000 (05:58 +0000)]
Minor updates after 1.11.2 import

22 years agoInitial merge of 1.11.1p1 -> 1.11.2 changes onto mainline
peter [Mon, 2 Sep 2002 05:57:14 +0000 (05:57 +0000)]
Initial merge of 1.11.1p1 -> 1.11.2 changes onto mainline

22 years agoThis commit was generated by cvs2svn to compensate for changes in r102840,
peter [Mon, 2 Sep 2002 05:50:28 +0000 (05:50 +0000)]
This commit was generated by cvs2svn to compensate for changes in r102840,
which included commits to RCS files with non-trunk default branches.

22 years agoImport cvs-1.11.2 onto vendor branch
peter [Mon, 2 Sep 2002 05:50:28 +0000 (05:50 +0000)]
Import cvs-1.11.2 onto vendor branch

Obtained from: http://www.cvshome.org/

22 years ago o Remove an initialized but unused variable from pmap_remove_all().
alc [Mon, 2 Sep 2002 05:13:37 +0000 (05:13 +0000)]
 o Remove an initialized but unused variable from pmap_remove_all().

22 years agoMoved elf brand identification into a function. Fully identify the
jake [Mon, 2 Sep 2002 04:50:57 +0000 (04:50 +0000)]
Moved elf brand identification into a function.  Fully identify the
brand early in the process of loading an elf file, so that we can
identify the sysentvec, and so that we do not continue if we do not
have a brand (and thus a sysentvec).  Use the values in the sysentvec
for the page size and vm ranges unconditionally, since they are all
filled in now.

22 years ago o Synchronize updates to struct vm_page::cow with the page queues lock.
alc [Mon, 2 Sep 2002 04:04:12 +0000 (04:04 +0000)]
 o Synchronize updates to struct vm_page::cow with the page queues lock.

22 years agoMFi386: Remove AH[CD]_REG_PRETTY_PRINT from boot floppies.
murray [Mon, 2 Sep 2002 03:00:14 +0000 (03:00 +0000)]
MFi386: Remove AH[CD]_REG_PRETTY_PRINT from boot floppies.

22 years agoRemove the AH[CD]_REG_PRETTY_PRINT options from the boot floppies.
murray [Mon, 2 Sep 2002 02:57:25 +0000 (02:57 +0000)]
Remove the AH[CD]_REG_PRETTY_PRINT options from the boot floppies.

Discussed with: gibbs

22 years agoFixed more indentation bugs.
jake [Mon, 2 Sep 2002 02:41:26 +0000 (02:41 +0000)]
Fixed more indentation bugs.

22 years agoUse FOO(a) for macros with variadic args, instead of FOO(a,) or FOO(a, ).
jake [Mon, 2 Sep 2002 02:30:20 +0000 (02:30 +0000)]
Use FOO(a) for macros with variadic args, instead of FOO(a,) or FOO(a, ).

Submitted by: gcc3.2

22 years agoRemove NOFORTH=yes, it seems to work now thanks to scottl.
jake [Mon, 2 Sep 2002 01:11:46 +0000 (01:11 +0000)]
Remove NOFORTH=yes, it seems to work now thanks to scottl.

22 years agoContinue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,
brooks [Mon, 2 Sep 2002 00:52:11 +0000 (00:52 +0000)]
Continue de-counting i4b.  Devices i4bctl, i4bcapi, iavc, i4bq921,
i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are
no longer count devices.  Also remove a few other instances of N<DEVICE>
being used to control compilation of whole files.

Reviewed by:    hm

22 years agoFix things so that:
mjacob [Sun, 1 Sep 2002 23:07:09 +0000 (23:07 +0000)]
Fix things so that:

a) we don't believe what the board tells us all the time (if the BIOS
hasn't run, port page 2 and port page 0 tend to be garbage)

b) add the missing code to set parameters for the SPI cards.

MFC after: 0 days

22 years agoAdd a missing #include <sys/lockmgr.h>.
iedowse [Sun, 1 Sep 2002 23:02:10 +0000 (23:02 +0000)]
Add a missing #include <sys/lockmgr.h>.

22 years agoMinor fixups
scottl [Sun, 1 Sep 2002 22:50:08 +0000 (22:50 +0000)]
Minor fixups

22 years agoSync up: remove device counts.
marcel [Sun, 1 Sep 2002 22:34:58 +0000 (22:34 +0000)]
Sync up: remove device counts.

22 years agoUse the new kern_* functions to avoid the need to store arguments
iedowse [Sun, 1 Sep 2002 22:30:27 +0000 (22:30 +0000)]
Use the new kern_* functions to avoid the need to store arguments
in the stack gap. This converts most VFS and signal related system
calls, as well as select().

Discussed on: -arch
Approved by: marcel

22 years agoUpdate ahd(4)-supported hardware.
bmah [Sun, 1 Sep 2002 22:29:22 +0000 (22:29 +0000)]
Update ahd(4)-supported hardware.

22 years agoNew release notes: bzip2 packages (+MFC).
bmah [Sun, 1 Sep 2002 22:27:58 +0000 (22:27 +0000)]
New release notes:  bzip2 packages (+MFC).

Modified release notes:  ahd(4) (update, add manpage entity, MFC),
IPFilter 3.4.29 (+MFC), gcc pre-3.2.1 20020901, Heimdal pre-0.5
20020829 (+MFC).

22 years agoFix a few typos and nits.
scottl [Sun, 1 Sep 2002 22:07:24 +0000 (22:07 +0000)]
Fix a few typos and nits.

Submitted by: bmah

22 years ago - Let their manual pages show the reader that the bzero(3) and
robert [Sun, 1 Sep 2002 21:53:46 +0000 (21:53 +0000)]
 - Let their manual pages show the reader that the bzero(3) and
   bcopy(3) functions are prototyped in <strings.h> and not in
   <string.h> anymore.
 - Add a sentence about that to the respective HISTORY sections.
In the C source files:
 - Include <string.h> or <strings.h> depending on what function
   is to be compiled.
 - Use ANSI-C function definitions.

22 years agoAdded fields for VM_MIN_ADDRESS, PS_STRINGS and stack protections to
jake [Sun, 1 Sep 2002 21:41:24 +0000 (21:41 +0000)]
Added fields for VM_MIN_ADDRESS, PS_STRINGS and stack protections to
sysentvec.  Initialized all fields of all sysentvecs, which will allow
them to be used instead of constants in more places.  Provided stack
fixup routines for emulations that previously used the default.

22 years agoRestore Rev. 1.40 (remove "Keyboard yes/no" printf).
kan [Sun, 1 Sep 2002 21:29:10 +0000 (21:29 +0000)]
Restore Rev. 1.40 (remove "Keyboard yes/no" printf).
GCC 3.2 overflows boot2 by 12 bytes, this patch brings it back
within the boundaries, with 12 bytes available for future bloat.

Approved by: obrien

22 years agoConnect new files added with GCC 3.2.1 import to the build.
kan [Sun, 1 Sep 2002 21:21:56 +0000 (21:21 +0000)]
Connect new files added with GCC 3.2.1 import to the build.

Approved by: obrien

22 years agoRevert rev. 1.2. GCC 3.2 seems to have builtin_memset fixed.
kan [Sun, 1 Sep 2002 21:18:18 +0000 (21:18 +0000)]
Revert rev. 1.2. GCC 3.2 seems to have builtin_memset fixed.

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:16:14 +0000 (21:16 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.8  printf format error fixes

Approved by: obrien

22 years agoAdd a new function linux_emul_convpath(), which is a version of
iedowse [Sun, 1 Sep 2002 21:15:37 +0000 (21:15 +0000)]
Add a new function linux_emul_convpath(), which is a version of
linux_emul_find() that does not use stack gap storage but instead
always returns the resulting path in a malloc'd kernel buffer.
Implement linux_emul_find() in terms of this function. Also add
LCONVPATH* macros that wrap linux_emul_convpath in the same way
that the CHECKALT* macros wrap linux_emul_find().

22 years agoUse the stock 3.2.1-prerelease file.
kan [Sun, 1 Sep 2002 21:13:32 +0000 (21:13 +0000)]
Use the stock 3.2.1-prerelease file.

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:12:30 +0000 (21:12 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.10  -mno-align-long-strings
  1.11  Allow the specification of LONG_TYPE_SIZE on the command line.

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:11:35 +0000 (21:11 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.11  -mno-align-long-strings

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:09:26 +0000 (21:09 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.8 Change symbol values to match freebsd.h

Approved by: obrien

22 years agoUse the stock 3.2.1-prerelease file.
kan [Sun, 1 Sep 2002 21:08:29 +0000 (21:08 +0000)]
Use the stock 3.2.1-prerelease file.

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:07:09 +0000 (21:07 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.2  Localize the version number

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:06:42 +0000 (21:06 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.2  -fformat-extensions
  1.7  optimization downgrade
  1.14 -O0 -O1 should optimize alignment for time, not size

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:03:33 +0000 (21:03 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.\{2,15\}     FREEBSD_NATIVE
  1.\{5,13\}     ELF, and objformat support
  1.\{16,23,25\} Better cross building control
  1.21           'GCC_OPTIONS'
  1.27           cross-arch MD_EXEC_PREFIX fixes
                 cc -print-search-dir fixes
  1.28           Read specs from /usr/libdata/gcc/specs,
                 if available

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:02:41 +0000 (21:02 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.2 a.out support

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 21:01:12 +0000 (21:01 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.2 do not create paradoxical FLOAT_MODE subregs

I am not sure if this is still required.

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 20:57:33 +0000 (20:57 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.2 kernel printf enchancements framework

Approved by: obrien

22 years agoMerge FreeBSD modifications into gcc 3.2.1-prerelease:
kan [Sun, 1 Sep 2002 20:56:10 +0000 (20:56 +0000)]
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
  1.2 don't let gcc(1) hide warnings in system headers.

Approved by: obrien