]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoThis commit was generated by cvs2svn to compensate for changes in r85815,
obrien [Thu, 1 Nov 2001 09:24:29 +0000 (09:24 +0000)]
This commit was generated by cvs2svn to compensate for changes in r85815,
which included commits to RCS files with non-trunk default branches.

22 years agoHalloween import of Binutils from the FSF 2.11 branch.
obrien [Thu, 1 Nov 2001 09:24:29 +0000 (09:24 +0000)]
Halloween import of Binutils from the FSF 2.11 branch.
This fixes some IA-64 related bugs.

22 years agoFix a typo in a format string, and fix error checking for missing
luigi [Thu, 1 Nov 2001 08:45:02 +0000 (08:45 +0000)]
Fix a typo in a format string, and fix error checking for missing
masks in "limit" rules.

22 years agoRemove an extra splimp() call.
luigi [Thu, 1 Nov 2001 08:30:38 +0000 (08:30 +0000)]
Remove an extra splimp() call.

Spotted-by: diff(1)
22 years agoAdd the TGA video driver. This is a great accomplishtment and will help
obrien [Thu, 1 Nov 2001 08:26:30 +0000 (08:26 +0000)]
Add the TGA video driver.  This is a great accomplishtment and will help
us a lot on older Alphas.
Andrew Gallatin, Thomas V. Crimi, and Peter Jeremy contributed to this
work along with the submitter.

Submitted by:  Andrew M. Miklic <miklic@home.com>

22 years agoRepocopied from sys/dev/syscons/scvgarndr.c
obrien [Thu, 1 Nov 2001 08:22:49 +0000 (08:22 +0000)]
Repocopied from sys/dev/syscons/scvgarndr.c

22 years agoBell-Labs AWK does not support POSIX "bracket expressions" (POSIXese for
obrien [Thu, 1 Nov 2001 07:16:35 +0000 (07:16 +0000)]
Bell-Labs AWK does not support POSIX "bracket expressions" (POSIXese for
"character classes", basically).  So change them to their character
representation.

Submitted by: David Wolfskill <david@catwhisker.org>

22 years ago-v must have a space between it and the variable.
obrien [Thu, 1 Nov 2001 07:11:10 +0000 (07:11 +0000)]
-v must have a space between it and the variable.

Submitted by: David Wolfskill <david@catwhisker.org>
                (did I mention he should be a committer? :-) )

22 years agoSkip PG_UNMANAGED pages when we're shooting everything down to try and
peter [Thu, 1 Nov 2001 06:48:04 +0000 (06:48 +0000)]
Skip PG_UNMANAGED pages when we're shooting everything down to try and
reclaim pv_entries.  PG_UNMANAGED pages dont have pv_entries to reclaim.

Reported by: David Xu <davidx@viasoft.com.cn>

22 years agoFix the ILLEGAL fdisk table that is there for supporting "dangerously
peter [Thu, 1 Nov 2001 06:19:32 +0000 (06:19 +0000)]
Fix the ILLEGAL fdisk table that is there for supporting "dangerously
dedicated" mode.  This was specifying that there are 256 (illegal!)
heads on the disk.  If bioses store that in a byte, and it gets truncated
to 0, then that almost certainly causes the infamous divide-by-zero
nightmare.

This is also most likely the reason why the Thinkpad T20/A20 series
were locking up when FreeBSD was installed.  This is also the most likely
reason why a boot1 being present causes an IA64 box to lock up at boot.
(removing the "part4" stuff from boot1.s fixes the IA64 boxes and would
most likely have fixed the T20/A20 and some TP600E series thinkpads)

22 years agoAdd 'awk' to the build-tools, so that the small utility used to build
obrien [Thu, 1 Nov 2001 06:14:42 +0000 (06:14 +0000)]
Add 'awk' to the build-tools, so that the small utility used to build
one of the source files is made for the host, not target.

22 years agoUse devclass_find_free_unit() in ata_pci_add_child() because no more
ache [Thu, 1 Nov 2001 05:21:49 +0000 (05:21 +0000)]
Use devclass_find_free_unit() in ata_pci_add_child() because no more
implicit auto-scanning up present in device_add_child(). Functionally it is
fully equivalent to old code.

22 years agoAdd devclass_find_free_unit() prototype
ache [Thu, 1 Nov 2001 05:08:17 +0000 (05:08 +0000)]
Add devclass_find_free_unit() prototype

22 years agoAdd new interface function
ache [Thu, 1 Nov 2001 05:07:28 +0000 (05:07 +0000)]
Add new interface function
int devclass_find_free_unit(devclass_t dc, int unit);
which return first free unit in given class starting from 'unit'.

22 years agomake libtelnet (and telnet, telnetd) use libkrb when required
assar [Thu, 1 Nov 2001 03:16:03 +0000 (03:16 +0000)]
make libtelnet (and telnet, telnetd) use libkrb when required

22 years agoRevision 1.26 was
obrien [Thu, 1 Nov 2001 02:19:02 +0000 (02:19 +0000)]
Revision 1.26 was

Submitted by: David Wolfskill <david@catwhisker.org>
                (when are we ever going to make him a committer? :-) )

22 years agoOnly overwrite ${DESTDIR}${KODIR}.old/${KERNEL_KO} if we haven't
brian [Thu, 1 Nov 2001 02:17:49 +0000 (02:17 +0000)]
Only overwrite ${DESTDIR}${KODIR}.old/${KERNEL_KO} if we haven't
booted from it when doing an installkernel.

Only change kern.bootfile from ${DESTDIR}${KODIR}/${KERNEL_KO}
to ${DESTDIR}${KODIR}.old/${KERNEL_KO}, and only when we're renaming
a booted ${DESTDIR}${KODIR}/${KERNEL_KO} kernel.

22 years agoReally fix this work to work. While rev 1.24 did allow awk to run w/o
obrien [Thu, 1 Nov 2001 02:16:10 +0000 (02:16 +0000)]
Really fix this work to work.  While rev 1.24 did allow awk to run w/o
complaining; the resulting output was useless.

22 years agoRev 1.24 allows use to use a pure POSIX awk. Tolerating newlines w/in
obrien [Thu, 1 Nov 2001 01:52:37 +0000 (01:52 +0000)]
Rev 1.24 allows use to use a pure POSIX awk.  Tolerating newlines w/in
a command-line variable assignment is a Gawk'ism I believe.

22 years agoUtilize the property of 'echo' in that it removes \n from its input.
obrien [Thu, 1 Nov 2001 01:50:38 +0000 (01:50 +0000)]
Utilize the property of 'echo' in that it removes \n from its input.

22 years agoRemove previous revision. smp_started back in subr_smp where it belongs.
mjacob [Wed, 31 Oct 2001 23:54:27 +0000 (23:54 +0000)]
Remove previous revision. smp_started back in subr_smp where it belongs.

22 years agoadd /var/heimdal
assar [Wed, 31 Oct 2001 23:04:34 +0000 (23:04 +0000)]
add /var/heimdal

absence noted by Archie Cobbs <archie@packetdesign.com>

22 years agoMake the actual volatile int smp_started live *somewhere*. This is
mjacob [Wed, 31 Oct 2001 20:43:48 +0000 (20:43 +0000)]
Make the actual volatile int smp_started live *somewhere*. This is
a temporary fix so that we can compile kernels. I waited 30 minutes
for a response from the person who would likely know, but any longer
is too long to wait with breakage at ToT.

22 years agoDon't remove the tentative declaration. It's the only one...
marcel [Wed, 31 Oct 2001 20:43:38 +0000 (20:43 +0000)]
Don't remove the tentative declaration. It's the only one...

Pointy hat: marcel (self-sponsoring)

22 years agoSpell deivces as devices.
rwatson [Wed, 31 Oct 2001 20:15:18 +0000 (20:15 +0000)]
Spell deivces as devices.

22 years agoExperiment with rewriting the syscall() wrapper using explicit bundling
dfr [Wed, 31 Oct 2001 20:02:28 +0000 (20:02 +0000)]
Experiment with rewriting the syscall() wrapper using explicit bundling
and trying to reduce stalls from reading certain high latency registers.
This should be faster than the old syscall code. Its certainly a lot
smaller.

22 years agoFix obvious bug where return from probe was botched.
asmodai [Wed, 31 Oct 2001 19:43:33 +0000 (19:43 +0000)]
Fix obvious bug where return from probe was botched.
People with HP PCLAN+ NICs can now happily use the card again

PR: 21087
Submitted by: M. B. Buchanan <buchanan@orbitworld.net>

22 years agoDocument RMC for DS[12]0
wilko [Wed, 31 Oct 2001 19:08:53 +0000 (19:08 +0000)]
Document RMC for DS[12]0

22 years agoFix misspelling in comment.
mjacob [Wed, 31 Oct 2001 18:07:38 +0000 (18:07 +0000)]
Fix misspelling in comment.

22 years agoAdd TF_AR_FPSR, the offset of ar.fpsr in a trapframe.
dfr [Wed, 31 Oct 2001 18:06:38 +0000 (18:06 +0000)]
Add TF_AR_FPSR, the offset of ar.fpsr in a trapframe.

22 years agoMFC noted: ipfw(8) -d/-e (plus small typo fix).
bmah [Wed, 31 Oct 2001 16:47:55 +0000 (16:47 +0000)]
MFC noted:  ipfw(8) -d/-e (plus small typo fix).

22 years agoNew release notes: de(4) round-robin transmit/receive, ng_eth(4),
bmah [Wed, 31 Oct 2001 16:39:00 +0000 (16:39 +0000)]
New release notes:  de(4) round-robin transmit/receive, ng_eth(4),
sysctl(8) -e.

22 years agoDo not uselessly whine in syslog about packets denied by ipfw rules.
phk [Wed, 31 Oct 2001 16:08:49 +0000 (16:08 +0000)]
Do not uselessly whine in syslog about packets denied by ipfw rules.

Set 'log_ipfw_denied' option if you want the old behaviour.

PR: 30255
Submitted by: Flemming "F3" Jacobsen <fj@batmule.dk>
Reviewed by: phk
MFC after: 4 weeks

22 years agoReplace `=' with more correct ``.Ql =''.
tobez [Wed, 31 Oct 2001 15:57:55 +0000 (15:57 +0000)]
Replace `=' with more correct ``.Ql =''.

Mdoc-policed by: ru

22 years agoThe correction entry about asr was too pessimistic based on my poor
imp [Wed, 31 Oct 2001 14:32:58 +0000 (14:32 +0000)]
The correction entry about asr was too pessimistic based on my poor
understanging of the situation.

Submitted by: scottl

22 years agoPrint the bundle template name on the first slot of the bundle.
dfr [Wed, 31 Oct 2001 11:52:29 +0000 (11:52 +0000)]
Print the bundle template name on the first slot of the bundle.

22 years agoMake smp_started volatile in sys/smp.h and remove the volatile
marcel [Wed, 31 Oct 2001 09:03:05 +0000 (09:03 +0000)]
Make smp_started volatile in sys/smp.h and remove the volatile
declaration in subr_smp.c. This solves a compile problem with
gcc 3.0.1 (ia64 cross-build).

Reviewed: jhb

22 years agoAdd entries about the recent problems with asr.
imp [Wed, 31 Oct 2001 04:36:54 +0000 (04:36 +0000)]
Add entries about the recent problems with asr.
TARGET replaces MACHINE

Submitted by: ru, jhb

22 years agoDon't let pmap_object_init_pt() exhaust all available free pages
dillon [Wed, 31 Oct 2001 03:06:33 +0000 (03:06 +0000)]
Don't let pmap_object_init_pt() exhaust all available free pages
(allocating pv entries w/ zalloci) when called in a loop due to
an madvise().  It is possible to completely exhaust the free page list and
cause a system panic when an expected allocation fails.

22 years agoDon't try to probe the PnP BIOS if ACPI is active.
msmith [Wed, 31 Oct 2001 02:36:07 +0000 (02:36 +0000)]
Don't try to probe the PnP BIOS if ACPI is active.

22 years agoUpdate to reflect files added/removed with the 20011018 ACPI CA update.
msmith [Wed, 31 Oct 2001 02:35:43 +0000 (02:35 +0000)]
Update to reflect files added/removed with the 20011018 ACPI CA update.

22 years agoMerge local changes, add new files and remove obsoleted ones.
msmith [Wed, 31 Oct 2001 02:34:45 +0000 (02:34 +0000)]
Merge local changes, add new files and remove obsoleted ones.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r85756,
msmith [Wed, 31 Oct 2001 02:32:29 +0000 (02:32 +0000)]
This commit was generated by cvs2svn to compensate for changes in r85756,
which included commits to RCS files with non-trunk default branches.

22 years agoImport the Intel ACPI CA 20011018 snapshot
msmith [Wed, 31 Oct 2001 02:32:29 +0000 (02:32 +0000)]
Import the Intel ACPI CA 20011018 snapshot

22 years agoThis commit was generated by cvs2svn to compensate for changes in r85754,
msmith [Wed, 31 Oct 2001 02:32:28 +0000 (02:32 +0000)]
This commit was generated by cvs2svn to compensate for changes in r85754,
which included commits to RCS files with non-trunk default branches.

22 years agoImport the Intel ACPI CA 20011018 snapshot
msmith [Wed, 31 Oct 2001 02:32:28 +0000 (02:32 +0000)]
Import the Intel ACPI CA 20011018 snapshot

22 years agoSheldon asked me to make a note of the Message-ID of the e-mail from
nsayer [Wed, 31 Oct 2001 02:04:33 +0000 (02:04 +0000)]
Sheldon asked me to make a note of the Message-ID of the e-mail from
Dave approving the copyright statement.

The message was like this:

Date: Mon, 29 Oct 2001 13:18:36 -0500
From: David Safford <safford@watson.ibm.com>
Message-Id: <20011029181842.0DCAAD7C59@safford.watson.ibm.com>
Subject: Re: SRA copyright?
In-Reply-To: Your message of "Mon, 29 Oct 2001 09:13:14 PST."
     <3846.66.126.254.34.1004375594.squirrel@medusa.kfu.com>

looks fine.

dave safford

> >> Some time ago we spoke about SRA and importing it into FreeBSD. I
> >> forgot to ask if you had a prefered license boilerplate for the top of
> >> the files. It has come up recently, and the SRA code in FreeBSD
> >> doesn't have one.
> >>
> >>
> > I really have no preference - use whatever is most convenient in the
> > FreeBSD environment.
> >
> > dave safford
>
> Here is a representative diff. Let me know if you feel any changes are
> necessary.
>
> ===================================================================
> RCS file: /c/ncvs/src/crypto/telnet/libtelnet/pk.h,v
> retrieving revision 1.3
> retrieving revision 1.4

and so on and so on

22 years agoAdd a long-overdue nail to the deprecated /dev/urandom interface
markm [Tue, 30 Oct 2001 21:26:50 +0000 (21:26 +0000)]
Add a long-overdue nail to the deprecated /dev/urandom interface
by asking some things that need unpredictable numbers to read
/dev/random instead.

22 years agoPut a Band-Aid over the asr driver so that it hopefully won't cause
scottl [Tue, 30 Oct 2001 21:13:39 +0000 (21:13 +0000)]
Put a Band-Aid over the asr driver so that it hopefully won't cause
panics until the author comes up with a real fix.

22 years agoThreads sit on condition variable wait queue's, not proceses (sic).
jhb [Tue, 30 Oct 2001 20:43:45 +0000 (20:43 +0000)]
Threads sit on condition variable wait queue's, not proceses (sic).

22 years agoResequence network protocols section.
bmah [Tue, 30 Oct 2001 20:25:33 +0000 (20:25 +0000)]
Resequence network protocols section.

Some ipfw(8) and ip6fw(8) items were mistakenly put here; move them
to the userland area.

No content or markup changes.

22 years agoNew release notes: gprof(1) -K, tip(1) update and cu(1) substitute,
bmah [Tue, 30 Oct 2001 20:19:31 +0000 (20:19 +0000)]
New release notes:  gprof(1) -K, tip(1) update and cu(1) substitute,
awk from Bell Labs replaces GNU awk.

Updated release note:  UUCP removal.

Delete release note:  GNU awk update.

22 years agoImplement -e option. It modifies the output produced by sysctl(8) in
tobez [Tue, 30 Oct 2001 20:15:32 +0000 (20:15 +0000)]
Implement -e option.  It modifies the output produced by sysctl(8) in
such a way that the name and the value of the variable(s) are separated
with `=' instead of the usual `: '.  This is useful for producing output
that can be fed back to the sysctl utility (pasted to sysctl.conf, for
example).

Reviewed by: rwatson
Approved by: markm
MFC after: 2 weeks

22 years agoFix a bug where restore(8) segfaults while trying to restore on a
tobez [Tue, 30 Oct 2001 20:06:59 +0000 (20:06 +0000)]
Fix a bug where restore(8) segfaults while trying to restore on a
read-only FS.

Reviewed by: audit silence
Approved by: markm
MFC after: 2 weeks

22 years agoGroup ed(4) entries together.
bmah [Tue, 30 Oct 2001 19:49:17 +0000 (19:49 +0000)]
Group ed(4) entries together.

22 years agoInstall libssh and libssh_pic. These are needed when building
markm [Tue, 30 Oct 2001 19:45:00 +0000 (19:45 +0000)]
Install libssh and libssh_pic. These are needed when building
statically, and when building things (like login(8)) standalone.
libssh_pic is needed for libpam and modules.

Requested by: peter

22 years agotip(1) can do cu(1). We don't need this anymore.
markm [Tue, 30 Oct 2001 19:36:57 +0000 (19:36 +0000)]
tip(1) can do cu(1). We don't need this anymore.

22 years agoFix a (long standing?) bug in ip_output(): if ip_insertoptions() is
wpaul [Tue, 30 Oct 2001 18:15:48 +0000 (18:15 +0000)]
Fix a (long standing?) bug in ip_output(): if ip_insertoptions() is
called and ip_output() encounters an error and bails (i.e. host
unreachable), we will leak an mbuf. This is because the code calls
m_freem(m0) after jumping to the bad: label at the end of the function,
when it should be calling m_freem(m). (m0 is the original mbuf list
_without_ the options mbuf prepended.)

Obtained from: NetBSD

22 years agoMake sure the netmask always has an address family. This fixes Linux
des [Tue, 30 Oct 2001 15:57:20 +0000 (15:57 +0000)]
Make sure the netmask always has an address family.  This fixes Linux
ifconfig, which expects the address returned by the SIOCGIFNETMASK ioctl
to have a valid sa_family.  Similar changes may be necessary for IPv6.

While we're here, get rid of an unnecessary temp variable.

MFC after: 2 weeks

22 years agoAdd -K support to gprof(1), which enables dynamic symbol resolution from
green [Tue, 30 Oct 2001 15:54:09 +0000 (15:54 +0000)]
Add -K support to gprof(1), which enables dynamic symbol resolution from
the currently-running kernel (and supercedes an executable file argument
given).  With this change, properly-compiled KLD modules are now
able to be profiled.

Obtained from: NAI Labs CBOSS project
Funded by: DARPA

22 years agoStyle(9) fix, mainly white spaces.
iwasaki [Tue, 30 Oct 2001 15:51:52 +0000 (15:51 +0000)]
Style(9) fix, mainly white spaces.

22 years agoRestore the main BAR for the bridge on resume. Some machines don't save
imp [Tue, 30 Oct 2001 15:31:49 +0000 (15:31 +0000)]
Restore the main BAR for the bridge on resume.  Some machines don't save
this accross suspend/resume events and this was causing the dreaded false
positive hit on my "static bug" test.

Note: the PCI bus code should do this for us.
Note2: We don't do the same for I/O based pci devices since it is
more code and doesn't appear to be necessary.

Submitted by: Toshiyuki Kawashima-san <tos@fa2.so-net.ne.jp>
Obtained from: bsd-nomads:16012

22 years agoAdd the sysctl "kern.function_list", which currently exports all
green [Tue, 30 Oct 2001 15:21:45 +0000 (15:21 +0000)]
Add the sysctl "kern.function_list", which currently exports all
function symbols in the kernel in a list of C strings, with an extra
nul-termination at the end.

This sysctl requires addition of a new linker operation.  Now,
linker_file_t's need to respond to "each_function_name" to export
their function symbols.

Note that the sysctl doesn't currently allow distinguishing multiple
symbols with the same name from different modules, but could quite
easily without a change to the linker operation.  This will be a nicety
to have when it can be used.

Obtained from: NAI Labs CBOSS project
Funded by: DARPA

22 years agoAlso, machine/profile.h should be necessary for the function prototype
green [Tue, 30 Oct 2001 15:10:16 +0000 (15:10 +0000)]
Also, machine/profile.h should be necessary for the function prototype
of kmupetext().

22 years agoUse kmupetext() for ELF KLDs to allow for increased text segment size.
green [Tue, 30 Oct 2001 15:08:51 +0000 (15:08 +0000)]
Use kmupetext() for ELF KLDs to allow for increased text segment size.

Obtained from: NAI Labs CBOSS project
Funded by: DARPA

22 years agoAdd kmupetext(), a function that expands the range of memory covered
green [Tue, 30 Oct 2001 15:04:57 +0000 (15:04 +0000)]
Add kmupetext(), a function that expands the range of memory covered
by the profiler on a running system.  This is not done sparsely, as
memory is cheaper than processor speed and each gprof mcount() and
mexitcount() operation is already very expensive.

Obtained from: NAI Labs CBOSS project
Funded by: DARPA

22 years agoWhen dropping a packet because there is no room in the queue (which itself
jlemon [Tue, 30 Oct 2001 14:58:27 +0000 (14:58 +0000)]
When dropping a packet because there is no room in the queue (which itself
is somewhat bogus), update the statistics to indicate something was dropped.

PR: 13740

22 years agoOLDCARD isn't supported on alpha or ia64, so don't pretend that it is by
imp [Tue, 30 Oct 2001 14:53:36 +0000 (14:53 +0000)]
OLDCARD isn't supported on alpha or ia64, so don't pretend that it is by
including it.

22 years agoDon't try to use sio with NEWCARD 16 bit yet. It eats all pccards :-)
imp [Tue, 30 Oct 2001 14:49:29 +0000 (14:49 +0000)]
Don't try to use sio with NEWCARD 16 bit yet.  It eats all pccards :-)

Reported by: Marcell Moolenaar

22 years agoSome improvements of control method battery driver.
iwasaki [Tue, 30 Oct 2001 14:24:26 +0000 (14:24 +0000)]
Some improvements of control method battery driver.
 - Add a new MIB for battery info expire time in order to make it changeable.
   Battery info expire time can be specified by
   hw.acpi.battery.info_expire in sec.
 - Add own MALLOC type and fix some potential memory leakages.
 - Change some frequent printings to verbose printing.
 - Stop timeout during acpi_cmbat_get_bst() too.  This should reduce
   the races with BIF evaluation.
 - Remove acpi_cmbat_get_bif() invocation from acpi_cmbat_attach().
   This was redundant because this should be called from
   acpi_cmbat_timeout() now.

22 years agoUse -ffreestanding instead of -fno-builtin. That's the officially blessed
dfr [Tue, 30 Oct 2001 09:37:00 +0000 (09:37 +0000)]
Use -ffreestanding instead of -fno-builtin.  That's the officially blessed
way of saying that its not linking with libc.

Submitted by: peter

22 years agoAdjust for building with gcc 3.0.1.
dfr [Tue, 30 Oct 2001 09:09:13 +0000 (09:09 +0000)]
Adjust for building with gcc 3.0.1.

22 years agoSwitch to the One True AWK from Bell-Labs, away from GNU AWK.
obrien [Tue, 30 Oct 2001 08:56:50 +0000 (08:56 +0000)]
Switch to the One True AWK from Bell-Labs, away from GNU AWK.

22 years agoFix typos.
julian [Tue, 30 Oct 2001 08:37:45 +0000 (08:37 +0000)]
Fix typos.

22 years agoA node that allows ethernet type packets to be filtered to different
julian [Tue, 30 Oct 2001 07:28:17 +0000 (07:28 +0000)]
A node that allows ethernet type packets to be filtered to different
hooks depending on ethertype. Great for prototyping protocols.
connects to the lower and upper hooks of an ethernet type of node.

Obtained from: Monzoon Networks.
Thanks to Andre Oppermann, May 2001.

22 years agoUse the thread we have instead of finding another
julian [Tue, 30 Oct 2001 07:15:46 +0000 (07:15 +0000)]
Use the thread we have instead of finding another
that may be the wrong one.

22 years agoAdd code to copy the enironment and loader metadata into kernel space.
jake [Tue, 30 Oct 2001 06:37:36 +0000 (06:37 +0000)]
Add code to copy the enironment and loader metadata into kernel space.

22 years agoAdd definitions for network support, doesn't work yet.
jake [Tue, 30 Oct 2001 06:31:45 +0000 (06:31 +0000)]
Add definitions for network support, doesn't work yet.
Pass the right arguments to the kernel.
Replace magic numbers with symbolic constants.
Pass the real openfirmware entry point to OF_init.

22 years agoUse ENTRY() for defining functions in asm.
jake [Tue, 30 Oct 2001 06:27:34 +0000 (06:27 +0000)]
Use ENTRY() for defining functions in asm.
Remove asm functions to call the openfirmware and kernel entry points;
we can just call them directly.
Don't use the stack pointer for an intermediate result in setx.
Put the stack in the bss.

22 years agoMake the openfirmware entry point function pointer non-static so that it
jake [Tue, 30 Oct 2001 06:23:32 +0000 (06:23 +0000)]
Make the openfirmware entry point function pointer non-static so that it
can be passed to the kernel.

22 years agoMFGeneric: ->1.327 Sync with GENERIC
imp [Tue, 30 Oct 2001 06:11:15 +0000 (06:11 +0000)]
MFGeneric: ->1.327 Sync with GENERIC

22 years agoMove device lnc to isa section, since it no longer uses the compat shims.
imp [Tue, 30 Oct 2001 06:08:56 +0000 (06:08 +0000)]
Move device lnc to isa section, since it no longer uses the compat shims.
Add comment about lnc.
Remove probe order comment from isa_compat.c.  That appears to no longer
be the case.

22 years agoLink Slovak with Czech
ache [Tue, 30 Oct 2001 01:55:19 +0000 (01:55 +0000)]
Link Slovak with Czech

PR: 31598
Submitted by: Vladimir Guzma <vg@cs.tut.fi>

22 years agoMFi386: sys/i386/i386/machdep.c revisions 1.481 and 1.482
nyan [Tue, 30 Oct 2001 00:53:19 +0000 (00:53 +0000)]
MFi386: sys/i386/i386/machdep.c revisions 1.481 and 1.482

22 years agoFix a typo in comment and #ifdef fixes: GRAP_PRIO -> GRAB_PRIO so that
jhb [Tue, 30 Oct 2001 00:19:42 +0000 (00:19 +0000)]
Fix a typo in comment and #ifdef fixes: GRAP_PRIO -> GRAB_PRIO so that
x86 SMP kernels actually boot again to single user mode.

Pointy hat to: jhb
Noticed by: jlemon

22 years agoMore reorganization of 3Com devices. While I'm here, add some
bmah [Mon, 29 Oct 2001 22:31:22 +0000 (22:31 +0000)]
More reorganization of 3Com devices.  While I'm here, add some
devices (gleaned from comments in driver source files) supported
by xl(4).

22 years agoUpdate tuning so that it mentions maxusers, nmbclusters, and nsfbufs as
silby [Mon, 29 Oct 2001 22:29:01 +0000 (22:29 +0000)]
Update tuning so that it mentions maxusers, nmbclusters, and nsfbufs as
tunables in loader.conf rather than just kernel options.

MFC after: 3 days

22 years agoWhen scanning for control messages, don't process the data mbufs.
dwmalone [Mon, 29 Oct 2001 20:04:03 +0000 (20:04 +0000)]
When scanning for control messages, don't process the data mbufs.
This could cause hangs if a unix domain socket was closed with data
still to be read from it.

Tested by: Andrea Campi <andrea@webcom.it>

22 years agoFix world by trimming an extra comment terminator.
jhb [Mon, 29 Oct 2001 19:22:38 +0000 (19:22 +0000)]
Fix world by trimming an extra comment terminator.

22 years agoSome small improvements of ACPI thermal driver.
iwasaki [Mon, 29 Oct 2001 18:09:43 +0000 (18:09 +0000)]
Some small improvements of ACPI thermal driver.
 - Give a guaranteed minimum cooling run time to avoid too frequent
   cooling system On/Off switching.  The minimum cooling run time can be
   specified by hw.acpi.thermal.min_runtime in sec.
 - Refine message printing (_AC-1 -> NONE).
 - Add verbose mode enable/disable capability by hw.acpi.verbose in bool.

Reviewed by: acpi-jp@ folks

22 years agoDon't set CR0_NE in cpu_setregs() for the SMP case, since setting it
bde [Mon, 29 Oct 2001 16:31:15 +0000 (16:31 +0000)]
Don't set CR0_NE in cpu_setregs() for the SMP case, since setting it
is npx.c's job and setting it here breaks the edit-time option of not
setting it in npx.c.  (It is not set in the right places for the SMP
case, but always setting it here is harmless because there isn't even
an edit-time option to not set it.)

22 years agoSystem wide policy should be returned when no policy found in the SPD.
ume [Mon, 29 Oct 2001 16:29:41 +0000 (16:29 +0000)]
System wide policy should be returned when no policy found in the SPD.
The packet was rejected in ipsec[46]_tunnel_validate().

Obtained from: KAME
MFC after: 1 week

22 years agoMake CD-ROM distributions at the pc98 release target.
nyan [Mon, 29 Oct 2001 16:25:13 +0000 (16:25 +0000)]
Make CD-ROM distributions at the pc98 release target.

MFC after: 3 days

22 years agoDon't assume fixit media is only either a floppy disk or 2nd CDROM disc
brian [Mon, 29 Oct 2001 16:17:19 +0000 (16:17 +0000)]
Don't assume fixit media is only either a floppy disk or 2nd CDROM disc

Reviewed by: murray
MFC after: 1 week

22 years agoDon't assume fixit media is a floppy disk.
brian [Mon, 29 Oct 2001 16:13:29 +0000 (16:13 +0000)]
Don't assume fixit media is a floppy disk.

Reviewed by: murray
MFC after: 1 week

22 years agoAdd Berkeley copyright to SRA.
nsayer [Mon, 29 Oct 2001 16:12:16 +0000 (16:12 +0000)]
Add Berkeley copyright to SRA.

This is by the kind permission of Dave Safford, formerly of TAMU who wrote the
original code. Here is an excerpt of the e-mail exchange concerning this
issue:

Dave Safford wrote:
>Nick Sayer wrote:
>> Some time ago we spoke about SRA and importing it into FreeBSD. I forgot to
>> ask if you had a prefered license boilerplate for the top of the files. It
>> has come up recently, and the SRA code in FreeBSD doesn't have one.

>I really have no preference - use whatever is most convenient in the
>FreeBSD environment.

>dave safford

This is the standard BSD license with clause 3 removed and clause 4
suitably renumbered.

MFC after: 1 day

22 years agoA few more style changes picked up whilst working on an MFC to -stable.
joe [Mon, 29 Oct 2001 15:09:07 +0000 (15:09 +0000)]
A few more style changes picked up whilst working on an MFC to -stable.

22 years agoFix some whitespace, and a comment that I missed in the last commit.
joe [Mon, 29 Oct 2001 14:08:51 +0000 (14:08 +0000)]
Fix some whitespace, and a comment that I missed in the last commit.

22 years agoAdd unwind.c.
dfr [Mon, 29 Oct 2001 12:04:51 +0000 (12:04 +0000)]
Add unwind.c.

22 years ago* Factor out common code for manipulating the RSE backing store.
dfr [Mon, 29 Oct 2001 12:04:23 +0000 (12:04 +0000)]
* Factor out common code for manipulating the RSE backing store.
* Implement a fairly simplistic parser for unwinding stack frames.
* Use unwind records for DDB's 'trace' command. Also add support for
  tracing past exceptions to the context which generated the exception.

The stack unwind code requires a toolchain based on binutils-2.11.2 or
later and gcc-3.0.1 or later.