]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoBootstrapping aid from pre-kqueue(2) systems, e.g. 4.0-RELEASE.
ru [Sun, 1 Dec 2002 13:38:25 +0000 (13:38 +0000)]
Bootstrapping aid from pre-kqueue(2) systems, e.g. 4.0-RELEASE.

Submitted by: jmallett
Approved by: re (bmah)

21 years agoMFbed: track changes in the english version and general cleanup
ue [Sun, 1 Dec 2002 12:56:41 +0000 (12:56 +0000)]
MFbed: track changes in the english version and general cleanup
early-adopter/article.sgml: 1.5   -> 1.7
hardware/common/dev.sgml: 1.115 -> 1.116
installation/common/upgrade.sgml: 1.9   -> 1.10
relnotes/common/new.sgml: 1.455 -> 1.460

Approved by: re (blanket)

21 years agoMajor update to the ahd driver to fix many bugs found in the previous
scottl [Sun, 1 Dec 2002 08:13:37 +0000 (08:13 +0000)]
Major update to the ahd driver to fix many bugs found in the previous
version, plus add support for the new features found in the Rev B
version of the chip.  The changelog is quite long and can be provided
on request.  Major features include vastly improved protocol violation
handling, full support for the 7902 Rev B, better parity error
handling, and better packetized overrun handling, to name a few.

Approved by: re (blanket)

21 years agoImplement workaround for broken busfree-rev in the A4.
scottl [Sun, 1 Dec 2002 07:59:01 +0000 (07:59 +0000)]
Implement workaround for broken busfree-rev in the A4.

HP -> CPQ

Rearrange IDs to better match which chips they use.

Convert to uniform product description strings.

Simplify 7901A setup function.

Add the NONPACKFIFO_BUG and PACED_NEGTABLE_BUG entries
for the A.

Add rev B bugs and features.

The double write workaround for CURRSCB is only required if
abort pending is set.  Remove this work around and set the
abort pending bug bit on the B at least until we have better
confirmation that the double write is always safe.

Add updated H2B identifiers

Move IOCell paramters into softc and add a hook for the
OSM to modify these as well as other settings prior to
committing them to the chip.

SLEW -> SLEWRATE

PREQDIS in DEVCONFIG1 went away after the A2.
Remove all code that references this bit.  This
is especially important since this bit was reused
in the B for a different HW fix workaround.

Properly set the AHD_NEW_IOCELL_OPTS and
AHD_NEW_DFCNTRL_OPTS features for the B.

Remove stray/random extra 7901A generic PCI
table entry.  Also switch the correct 7901A
generic entry to use ID_ALL_MASK since we
can only differentiate the 7901A from the
7902 by checking for a "type field" of 0xE.

Set AHD_INTCOLLISIONT_BUG for the Rev B.

Set the PREQDIS bit in DEVCONFIG1 for the B.  The
bit is misnamed, but seems to disable a work-around
that breaks on the B on PCI busses.

Add a routine for testing memory mapped register access.
This will hopefully detect things like buggy via chipsets
so that the OSM can fallback to using I/O mapped access
when memory mapped I/O simply will not work.

Approved by: re (blanket)

21 years agoAdd our controller name to the front of our
scottl [Sun, 1 Dec 2002 07:54:53 +0000 (07:54 +0000)]
Add our controller name to the front of our
diagnostic "Setting Mode" messages.

Use a read of HCNTRL to flush our write to CLRCMDCMPLT
on the RevB.  This allows us to check to see if the sequencer
is paused and to initiate the interrupt collision workaround
without incuring an extra read.

Approved by: re (blanket)

21 years agoRemove redundant check for chip type being PCI-X.
scottl [Sun, 1 Dec 2002 07:52:35 +0000 (07:52 +0000)]
Remove redundant check for chip type being PCI-X.
PCI-X only workarounds are automatically masked out
if we are operating in PCI mode.

Make use of ahd_pci_test_register_access()

Approved by: re (blanket)

21 years agoUpdate to include new ahd_scb_timer_reset API
scottl [Sun, 1 Dec 2002 07:50:56 +0000 (07:50 +0000)]
Update to include new ahd_scb_timer_reset API

Move IOCell paramters into softc and add a hook for the
OSM to modify these as well as other settings prior to
committing them to the chip.

Approved by: re (blanket)

21 years agoHold the page queues lock when calling pmap_protect(); it updates fields
alc [Sun, 1 Dec 2002 05:40:18 +0000 (05:40 +0000)]
Hold the page queues lock when calling pmap_protect(); it updates fields
of the vm_page structure.  Nearby, remove an unnecessary semicolon and
return statement.

Approved by: re (blanket)

21 years agoAdd a manpage. Nobody expects the spanish inquisition, but the
marcel [Sun, 1 Dec 2002 02:10:34 +0000 (02:10 +0000)]
Add a manpage. Nobody expects the spanish inquisition, but the
mdoc(7) police... It's all yours ru :-)

Approved by: re (blanket)

21 years agoAssert that the page queues lock is held in pmap_changebit()
alc [Sun, 1 Dec 2002 00:08:14 +0000 (00:08 +0000)]
Assert that the page queues lock is held in pmap_changebit()
and pmap_ts_referenced().

Approved by: re (blanket)

21 years agoIncrease the scope of the page queue lock in vm_pageout_scan().
alc [Sun, 1 Dec 2002 00:02:39 +0000 (00:02 +0000)]
Increase the scope of the page queue lock in vm_pageout_scan().

Approved by: re (blanket)

21 years agoMark snapshots so that dump will dump them as zero length
mckusick [Sat, 30 Nov 2002 23:28:22 +0000 (23:28 +0000)]
Mark snapshots so that dump will dump them as zero length
regular files rather than trying to interpret the snapshot.

Sponsored by:   DARPA & NAI Labs.

21 years agoIf both the unlink and the open fail, return the errno from the
fenner [Sat, 30 Nov 2002 23:12:59 +0000 (23:12 +0000)]
If both the unlink and the open fail, return the errno from the
 unlink (very likely EPERM), since the errno from the open might
 be a confusing ETXTBSY.

Approved by: re
MFC After: 1 week

21 years agoAllow aliases to be used when specifying partition types. The use of
marcel [Sat, 30 Nov 2002 22:51:46 +0000 (22:51 +0000)]
Allow aliases to be used when specifying partition types. The use of
UUIDs can then be limited to those cases when an alias doesn't exist.
This greatly increases the likelyhood that a sysadmin finishes the
partitioning without intermittent mental breakdowns. Current aliases
are "efi", "swap" and "ufs".

While here, staticize global variables and expand the usage message.

Approved by: re (blanket)

21 years agoFix typo in comment. It's SYSINIT, not SYSINT.
keramida [Sat, 30 Nov 2002 22:15:30 +0000 (22:15 +0000)]
Fix typo in comment.  It's SYSINIT, not SYSINT.

Approved by: re (murray)

21 years agoAdd Bluetooth section and a cross-reference from the USB section for
bmah [Sat, 30 Nov 2002 22:13:38 +0000 (22:13 +0000)]
Add Bluetooth section and a cross-reference from the USB section for
USB Bluetooth adapters.

While here, make some USB text conditional on building for an
architecture for which we actually have USB support.

Approved by: re (implicitly)

21 years agoNew release note: Bluetooth support.
bmah [Sat, 30 Nov 2002 22:11:45 +0000 (22:11 +0000)]
New release note:  Bluetooth support.

Approved by: re (implicitly)

21 years agoMove the check for the MD_SHUTDOWN flag to before the tsleep() call
iedowse [Sat, 30 Nov 2002 22:03:53 +0000 (22:03 +0000)]
Move the check for the MD_SHUTDOWN flag to before the tsleep() call
in the per-device kthread. This ensures that synchronisation with
mddestroy() succeeds even if the kthread was not waiting in tsleep()
at the time of the wakeup(). Among other things, this fixes the
problem of mdconfig getting stuck when an attempt is made to use a
zero-length file as a vnode-type backing store.

Approved by: re

21 years agoSynchronize perforce Id tags
scottl [Sat, 30 Nov 2002 20:04:10 +0000 (20:04 +0000)]
Synchronize perforce Id tags

Approved by: re (blanket)

21 years agoia64: make link /boot->efi/boot relative.
marcel [Sat, 30 Nov 2002 19:54:19 +0000 (19:54 +0000)]
ia64: make link /boot->efi/boot relative.

Approved by: re (murray)

21 years agoBring in many bugfixes and changes obtained from formal testing:
scottl [Sat, 30 Nov 2002 19:30:09 +0000 (19:30 +0000)]
Bring in many bugfixes and changes obtained from formal testing:

        aic7xxx.c:
        aic7xxx.h:
        aic7xxx.reg:
        aic7xxx.seq:
                Bring in the protocol violation handler from the U320
                driver and replace the NO_IDENT sequencer interrupt code
                with the PROTO_VIOLATION code.  Support for this code
                required the following changes:

                SEQ_FLAGS:
                        IDENTIFY_SEEN -> NOT_IDENTIFIED
                        Added NO_CDB_SENT

                SCB_CONTROL:
                        TARGET_SCB == STATUS_RCVD for initiator mode

                scb->flags:
                        Added SCB_TARGET_SCB since we cannot rely on
                        TARGET_SCB as a target/initiator differentiator
                        due to it being overloaded in initiator mode to
                        indicate that status has been received.

        aic7xxx.seq:
                Move data fifo CLRCHN to mesgin_rdptrs which is a safer
                location for doing this operation.  This also saves a
                sequencer instruction.

        aic7xxx.c:
        aic7xxx.h:
                Change ahc/ahd_upate_neg_request() to take a "negotiation
                type" enum that allows us to negotiate:
                        o only if the goal and current parameters differ.
                        o only if the goal is non-async
                        o always - even if the negotiation will be for async.
        aic7xxx.seq:
                Reset the FIFO whenever a short CDB transfer occurs
                so that the FIFO contents do not corrupt a future CDB
                transfer retry.

                Add support for catching the various protocol violations
                handled by ahc_handle_protocol_violation.

                Reformat some comments.

        aic7xxx.c:
        aic7xxx.h:
                Just for safety, have the aic7xxx driver probe
                the stack depth.

        aic7xxx.c:
        aic7xxx.h:
                Save and restore stack contents during diagnostics.
                Some chip variants overwrite stale entries on a
                stack "pop".

                Don't use 0 to probe the stack depth.  0 is the typical
                value used to backfill the stack if entries are overwritten
                on a "pop".

        aic7xxx.h:
                Add a missing typedef.

                Collapse SCB flag entries so they are bit contiguous.

                Add AHD_ULTRA2_XFER_PERIOD for narrow fallback calculations

        aic7xxx.c:
                Don't panic (as a diagnostic to catch bugs) if we decided to
                force the renegotiation of async even if we believe we are
                already async.  This should allow us to negotiate async instead
                of the full user goal rate during startup if bus resets are
                disabled.

                Add a space to the end of the ahc/ahd_print_devinfo routines
                so that it behaves as expected by the code that uses it.

                Only force a renegotiation on a selection timeout
                if the SCB was valid.  Doing otherwise may be dangerous
                as the connection was not valid for an unknown reason.

                Add additional diagnostic output to ahc_dump_card_state(),
                and have it use the register pretty printing functions.

                Update ahc_reg_print() to handle a NULL cur_col.

                Add a newline to ahc_dump_card_state() output.

                Bring back "use_ppr".  We need to use_ppr anytime
                doppr is true or we have non-zero protocol options.
                The later case was not handled in the recent removal
                of use_ppr.

                Move a comment and remove a useless clearing of use_ppr.

                Don't disable ENBUSFREE when single stepping on
                a DT capable controller.  We cannot re-enable unexpected
                busfree detection, so we must clear BUSFREE on each
                step instead.

                Correct the lookup of the SCB ID in ahc_handle_proto_error.

                Remove a diagnostic printf.
                Remove unecessary restoration of the STACK for older
                chips.

Approved by: re (blanket)

21 years agoAdd a routine for testing memory mapped register access.
scottl [Sat, 30 Nov 2002 19:13:55 +0000 (19:13 +0000)]
Add a routine for testing memory mapped register access.
This will hopefully detect things like buggy via chipsets
so that the OSM can fallback to using I/O mapped access
when memory mapped I/O simply will not work.

Approved by: re (blanket)

21 years agoAlways compile in the AHC_ALLOW_MEMIO code, but only try MEMIO if
scottl [Sat, 30 Nov 2002 19:11:44 +0000 (19:11 +0000)]
Always compile in the AHC_ALLOW_MEMIO code, but only try MEMIO if
AHC_ALLOW_MEMIO is set, or the hint hint.ahc.N.allow_memio=1 is
set in the bootloader.

Make use of ah?_pci_test_register_access().

Approved by: re (blanket)

21 years agoHandle changes to SCB_CONTROL, scb->flags and SEQ_FLAGS
scottl [Sat, 30 Nov 2002 19:08:58 +0000 (19:08 +0000)]
Handle changes to SCB_CONTROL, scb->flags and SEQ_FLAGS

Approved by: re (blanket)

21 years agoUse the new ahc_scb_timer_reset API
scottl [Sat, 30 Nov 2002 19:06:24 +0000 (19:06 +0000)]
Use the new ahc_scb_timer_reset API

Remove AHC_ALLOW_MEMIO

Approved by: re (blanket)

21 years agoAdd a check to disable the previous patch so that future filesystems
mckusick [Sat, 30 Nov 2002 19:04:57 +0000 (19:04 +0000)]
Add a check to disable the previous patch so that future filesystems
that choose to place their superblocks in non-standard locations will
not get them smashed.

Sponsored by:   DARPA & NAI Labs.

21 years agoRemove a race condition / deadlock from snapshots. When
mckusick [Sat, 30 Nov 2002 19:00:51 +0000 (19:00 +0000)]
Remove a race condition / deadlock from snapshots. When
converting from individual vnode locks to the snapshot
lock, be sure to pass any waiting processes along to the
new lock as well. This transfer is done by a new function
in the lock manager, transferlockers(from_lock, to_lock);
Thanks to Lamont Granquist <lamont@scriptkiddie.org> for
his help in pounding on snapshots beyond all reason and
finding this deadlock.

Sponsored by:   DARPA & NAI Labs.

21 years ago#include <sys/time.h> instead of depending on namespace pollution in
bde [Sat, 30 Nov 2002 18:59:31 +0000 (18:59 +0000)]
#include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval.

Approved by: re (rwatson)

21 years agoAdd some more checks to newfs so that it will not build filesystems
mckusick [Sat, 30 Nov 2002 18:28:26 +0000 (18:28 +0000)]
Add some more checks to newfs so that it will not build filesystems
that the kernel will refuse to mount. Specifically it now enforces
the MAXBSIZE blocksize limit. This update also fixes a problem where
newfs could segment fault if the selected fragment size was too large.

PR: bin/30959
Submitted by: Ceri Davies <setantae@submonkey.net>
Sponsored by:   DARPA & NAI Labs.

21 years agoAdd support for the Olivetti branded EISA boards.
scottl [Sat, 30 Nov 2002 18:00:43 +0000 (18:00 +0000)]
Add support for the Olivetti branded EISA boards.

Approved by: re (blanket)

21 years agoAssert that the page queues lock is held in pmap_page_exists_quick().
alc [Sat, 30 Nov 2002 17:46:59 +0000 (17:46 +0000)]
Assert that the page queues lock is held in pmap_page_exists_quick().

Approved by: re (blanket)

21 years agoMerge the changes in the English version.
kuriyama [Sat, 30 Nov 2002 09:52:19 +0000 (09:52 +0000)]
Merge the changes in the English version.

1.324 -> 1.334  relnotes/common/new.sgml

Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org>
Approved by: re (blanket)

21 years agoFix two deadlocks in snapshots:
mckusick [Sat, 30 Nov 2002 07:27:12 +0000 (07:27 +0000)]
Fix two deadlocks in snapshots:

1) Release the snapshot file lock while suspending the system. Otherwise
   a process trying to read the lock may block on its containing directory
   preventing the suspension from completing. Thanks to Sean Kelly
   <smkelly@zombie.org> for finding this deadlock.

2) Replace some bdwrite's with bawrite's so as not to fill all the
   buffers with dirty data. The buffers could not be cleaned as the
   snapshot vnode was locked hence the system could deadlock when
   making snapshots of really massive filesystems. Thanks to
   Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> for figuring
   this out.

Sponsored by:   DARPA & NAI Labs.

21 years agoWhitespace cleanup only.
kuriyama [Sat, 30 Nov 2002 04:39:28 +0000 (04:39 +0000)]
Whitespace cleanup only.

Approved by: re (blanket)

21 years agoFix typos.
kuriyama [Sat, 30 Nov 2002 04:23:18 +0000 (04:23 +0000)]
Fix typos.

Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org>
Approved by: re (blanket)

21 years agoMerge the following from the English version:
hrs [Sat, 30 Nov 2002 03:36:37 +0000 (03:36 +0000)]
Merge the following from the English version:

1.313 -> 1.324 relnotes/common/new.sgml

Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org>
Approved by: re (blanket)

21 years agoChange punctuation style.
hrs [Sat, 30 Nov 2002 02:56:52 +0000 (02:56 +0000)]
Change punctuation style.

Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org>
Approved by: re (blanket)

21 years ago- Catch up with the English version:
hrs [Sat, 30 Nov 2002 01:27:00 +0000 (01:27 +0000)]
- Catch up with the English version:

1.5   -> 1.6   early-adopter/article.sgml

- Change punctuation style:

relnotes/common/intro.sgml
relnotes/common/new.sgml
relnotes/common/upgrading.sgml

Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org>
Approved by: re (blanket)
References: [doc-jp-work 521]

21 years agodevd kernel improvements:
imp [Sat, 30 Nov 2002 00:49:43 +0000 (00:49 +0000)]
devd kernel improvements:
1) Record all device events when devctl is enabled, rather than just when
   devd has devctl open.  This is necessary to prevent races between when
   a device arrives, and when devd starts.
2) Add hw.bus.devctl_disable to disable devctl, this can also be set as a
   tunable.
3) Fix async support. Reset nonblocking and async_td in open.  remove
   async flags.
4) Free all memory when devctl is disabled.

Approved by: re (blanket)

21 years agoTwo fixes for devd:
imp [Sat, 30 Nov 2002 00:40:53 +0000 (00:40 +0000)]
Two fixes for devd:
1) Move devd to the start of the head of the boot process rather than the end.
2) Disable devctl if devd is disabled.

21 years agoConditionalize a GCCism.
mike [Fri, 29 Nov 2002 23:49:27 +0000 (23:49 +0000)]
Conditionalize a GCCism.

Approved by: re

21 years agoImplement bus_space_subregion(). Identical to i386.
marcel [Fri, 29 Nov 2002 20:14:03 +0000 (20:14 +0000)]
Implement bus_space_subregion(). Identical to i386.

Approved by: re (carte blanc)

21 years agoBetter handle sparse physical memory: Don't use the address range
marcel [Fri, 29 Nov 2002 20:10:21 +0000 (20:10 +0000)]
Better handle sparse physical memory: Don't use the address range
as a measure for available memory to scale the VHPT. Instead, use
the previously determined Maxmem.

Approved by: re (carte blanc)

21 years agoCheck to make sure that the fs_sblockloc field was properly updated
mckusick [Fri, 29 Nov 2002 19:20:15 +0000 (19:20 +0000)]
Check to make sure that the fs_sblockloc field was properly updated
before using it to write the superblock. This is to guard against
accidentally trashing the disklabel if the superblock format missed
being upgraded by the new kernel.

Reported by: Sam Leffler <sam@errno.com>
Sponsored by:   DARPA & NAI Labs.
Approved by: Murray Stokely <murray@FreeBSD.org>

21 years agomdoc(7) police: sweep.
ru [Fri, 29 Nov 2002 17:35:09 +0000 (17:35 +0000)]
mdoc(7) police: sweep.

21 years agomdoc(7) police: sweep.
ru [Fri, 29 Nov 2002 16:42:23 +0000 (16:42 +0000)]
mdoc(7) police: sweep.

21 years agoPut back a test for binaries with no PT_LOAD entries I over-jealosly
kan [Fri, 29 Nov 2002 16:41:31 +0000 (16:41 +0000)]
Put back a test for binaries with no PT_LOAD entries I over-jealosly
removed in r1.69.

Apploved by: re (rwatson)

21 years agomdoc(7) police: sweep.
ru [Fri, 29 Nov 2002 16:21:33 +0000 (16:21 +0000)]
mdoc(7) police: sweep.

21 years agomdoc(7) police: formatting nits.
ru [Fri, 29 Nov 2002 15:57:50 +0000 (15:57 +0000)]
mdoc(7) police: formatting nits.

Approved by: re

21 years agoRelease the reference to the peripheral if returning a error.
yar [Fri, 29 Nov 2002 15:40:10 +0000 (15:40 +0000)]
Release the reference to the peripheral if returning a error.
That reference is to be held only if daopen() has been successful
and until daclose() releases it.  daclose() won't be called if
daopen() has failed, though.

Approved by: re, njl
MFC after: 1 week

21 years agoBack out part of last delta that was committed by accident.
ru [Fri, 29 Nov 2002 11:50:08 +0000 (11:50 +0000)]
Back out part of last delta that was committed by accident.
(.Xr is not yet that smart.)

21 years agomdoc(7) police: scheduled sweep.
ru [Fri, 29 Nov 2002 11:39:20 +0000 (11:39 +0000)]
mdoc(7) police: scheduled sweep.

Approved by: re

21 years agomdoc(7) police: catch up to the code changes.
ru [Fri, 29 Nov 2002 11:36:32 +0000 (11:36 +0000)]
mdoc(7) police: catch up to the code changes.

Approved by: re

21 years agoWhitespace nits.
des [Thu, 28 Nov 2002 20:11:31 +0000 (20:11 +0000)]
Whitespace nits.

Approved by: re (bmah)

21 years agoAdd a PAM_MODULE_ENTRY to this module so it'll actually do something.
des [Thu, 28 Nov 2002 20:05:42 +0000 (20:05 +0000)]
Add a PAM_MODULE_ENTRY to this module so it'll actually do something.

Approved by: re (bmah)

21 years agoMisc. edits and cleanup.
bmah [Thu, 28 Nov 2002 19:50:56 +0000 (19:50 +0000)]
Misc. edits and cleanup.

21 years agotry SIOCGIFINDEX 1st to be able to use network aliasing.
ume [Thu, 28 Nov 2002 17:46:40 +0000 (17:46 +0000)]
try SIOCGIFINDEX 1st to be able to use network aliasing.

Submitted by: jlemon
Approved by: re

21 years agoFix the standards case by referring to __fds_bits instead of fds_bits
mike [Thu, 28 Nov 2002 15:34:32 +0000 (15:34 +0000)]
Fix the standards case by referring to __fds_bits instead of fds_bits
in FD_*() macros.

Submitted by: Marc Recht <marc@informatik.uni-bremen.de>
Approved by: re

21 years agoRemove the <sys/types.h> prerequisite for <ucontext.h> by including
mike [Thu, 28 Nov 2002 15:32:49 +0000 (15:32 +0000)]
Remove the <sys/types.h> prerequisite for <ucontext.h> by including
<sys/_types.h> in <sys/signal.h>.

Approved by: re

21 years agoAdd a test for what was fixed in revisions 1.39 and 1.50 of
ru [Thu, 28 Nov 2002 13:21:32 +0000 (13:21 +0000)]
Add a test for what was fixed in revisions 1.39 and 1.50 of
make/parse.c (allow embedded `:' and `!' in target names).

Approved by: re

21 years agoMoved make(1) regression tests from src/Makefile to where they
ru [Thu, 28 Nov 2002 13:08:09 +0000 (13:08 +0000)]
Moved make(1) regression tests from src/Makefile to where they
belong (src/tools/regression/usr.bin/make), and use the latter
to test if make(1) is adequate for building the world.

Approved by: re

21 years agoFinish the fix in revision 1.39 -- make(1)'s behavior is now
ru [Thu, 28 Nov 2002 12:47:56 +0000 (12:47 +0000)]
Finish the fix in revision 1.39 -- make(1)'s behavior is now
"greedy" with respect to finding the dependency operators.

Approved by: re

21 years agoImplement and document support for an HTTP_REFERER environment variable.
des [Thu, 28 Nov 2002 12:07:15 +0000 (12:07 +0000)]
Implement and document support for an HTTP_REFERER environment variable.

PR: 28171
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Approved by: re (bmah)
MFC after: 1 week

21 years agoUse pmap_remove_all() instead of pmap_remove() before freeing the page
alc [Thu, 28 Nov 2002 08:44:26 +0000 (08:44 +0000)]
Use pmap_remove_all() instead of pmap_remove() before freeing the page
in vm_pgmoveco(); the page may have more than one mapping.  Hold the page
queues lock when calling pmap_remove_all().

Approved by: re (blanket)

21 years agoLock page field accesses in mincore().
alc [Thu, 28 Nov 2002 08:01:39 +0000 (08:01 +0000)]
Lock page field accesses in mincore().

Approved by: re (blanket)

21 years agoReclaim major number 182 which I allocated for mdsio. It was decided
rwatson [Thu, 28 Nov 2002 04:29:52 +0000 (04:29 +0000)]
Reclaim major number 182 which I allocated for mdsio.  It was decided
that this should become a line discipline for sio rather than a
separate driver.

21 years agoRevisit the printf format fixes for alpha. intmax_t doesn't exist in
scottl [Thu, 28 Nov 2002 04:09:29 +0000 (04:09 +0000)]
Revisit the printf format fixes for alpha.  intmax_t doesn't exist in
RELENG_4, so cast to u_long in order to stay compatible.

Approved by: re (blanket)

21 years agoRemove a left-over virtual mapping of uncached I/O port space.
marcel [Thu, 28 Nov 2002 03:25:51 +0000 (03:25 +0000)]
Remove a left-over virtual mapping of uncached I/O port space.
Previous kernels unwantingly depended on this mapping, but as
of version 1.123 of src/sys/ia64/ia64/machdep.c this dependency
has been removed. Consequently, one has to update the kernel
before updating the loader. The documented/recommended upgrade
will suffice in this case.

Due to a visible (from the kernels point of view) change in
behaviour, bump the loader version number from 0.3 to 1.0.

Approved by: re (carte blanc)

21 years agoUncomment out the lines of {ncv,ncr53c500,tmc18c30}_pccard.c .
non [Thu, 28 Nov 2002 01:17:48 +0000 (01:17 +0000)]
Uncomment out the lines of {ncv,ncr53c500,tmc18c30}_pccard.c .
They now support NEWCARD and compiles with GENERIC kernel.

Approved by: re

21 years agoo Changes to support NEWCARD.
non [Thu, 28 Nov 2002 01:15:01 +0000 (01:15 +0000)]
o Changes to support NEWCARD.
        o Add needed headers.
        o Add stg_products[] product data and stg_match() function.
        o Change stg_pccard_method[] to support both OLDCARD and NEWCARD.

Approved by: re

21 years agoo Changes to support NEWCARD.
non [Thu, 28 Nov 2002 01:13:58 +0000 (01:13 +0000)]
o Changes to support NEWCARD.
        o Add needed headers.
        o Add ncv_products[] product data and ncv_match() function.
        o Change ncv_pccard_method[] to support both OLDCARD and NEWCARD.

Suggestion for REX-5572 matching part by imp.

Approved by: re

21 years agoo Changes to support NEWCARD.
non [Thu, 28 Nov 2002 01:09:29 +0000 (01:09 +0000)]
o Changes to support NEWCARD.
o Add needed headers.
o Add nsp_producs[] product data and nsp_match() function.
o Change nsp_pccard_method[] to support both OLDCARD and NEWCARD.
o Add warning to fall back to PIO mode when it cannot use SMIT mode.
  This is needed because memories are not allocated with NEWCARD now.

Submitted by: takawata
Approved by: re

21 years agoregen to 1.38
non [Thu, 28 Nov 2002 01:00:40 +0000 (01:00 +0000)]
regen to 1.38

Reviewed by: imp
Approved by: re

21 years agoo Add PC-Cards' ID or CIS strings which are supported by ncv, nsp,
non [Thu, 28 Nov 2002 00:57:47 +0000 (00:57 +0000)]
o Add PC-Cards' ID or CIS strings which are supported by ncv, nsp,
  or stg driver. They are,

Macnica mPS110, PANASONIC(KME) KXLC004, Qlogic Fast SCSI,
Workbit Ultra Ninja-16, (ID based)

Future Domain SCSI2GO, IBM SCSI PCMCIA card, I-O DATA CBSC16,
Macnica mPS100, Newmedia BASICS-SCSI, RATOC REX-5536, RATOC REX-5536AM,
RATOC REX-5536M, RATOC REX5572, Workbit NinjaSCSI-3
(CIS based)

  Note: We need vendor IDs WORKBIT2 and IODATA3 which is -1, since some
        cards does not have IDs in the CIS and fails to be probed without
this fake vendor IDs.

o Change the strings of RATOC REX_R280 from REX-R280 to REX-R280/REX-9530.
  This reminds us that REX-R280 and REX-R9530 have same ID (same product).

Reviewed by: imp
Approved by: re
Obtained from: /etc/defaults/pccard.conf,
List of CIS tupples by Toshihiko ARAI and PAO project:
http://www.linkclub.or.jp/~clover/cis/
Change suggestion by: HASEGAWA Tomoki <thasegawa@mta.biglobe.ne.jp>
for I-O DATA CBSC16 entry

21 years agoNote file, one-true-awk, lukemftpd.
obrien [Thu, 28 Nov 2002 00:02:25 +0000 (00:02 +0000)]
Note file, one-true-awk, lukemftpd.

21 years agoMFCs noted: burncd(8) -s max, cdcontrol(1) speed max.
bmah [Wed, 27 Nov 2002 22:13:00 +0000 (22:13 +0000)]
MFCs noted:  burncd(8) -s max, cdcontrol(1) speed max.

Requested by: njl
Approved by: re (implicitly)

21 years agoUse the URL instead of the output file name when reporting errors relating
des [Wed, 27 Nov 2002 20:52:07 +0000 (20:52 +0000)]
Use the URL instead of the output file name when reporting errors relating
to the remote document.

PR: 33856
MFC after: 1 week
Approved by: re

21 years agoEnable UFS2 support in boot1. Just as with sparc64 the same boot1 works
jhb [Wed, 27 Nov 2002 20:13:15 +0000 (20:13 +0000)]
Enable UFS2 support in boot1.  Just as with sparc64 the same boot1 works
great with both UFS1 and UFS2 filesystems.

Approved by: re

21 years agoNo more modems(5).
bmah [Wed, 27 Nov 2002 19:59:19 +0000 (19:59 +0000)]
No more modems(5).

Approved by: re (implicitly)

21 years ago- Only declare the MBR menu for i386 that is not PC98.
jhb [Wed, 27 Nov 2002 19:58:57 +0000 (19:58 +0000)]
- Only declare the MBR menu for i386 that is not PC98.
- Only declare mouse menus if WITH_MICE.
- Only declare syscons menus if WITH_SYSCONS.
- Only declare fdisk editor functions if WITH_SLICES.

Approved by: re

21 years agoOnly include the fdisk editor and associated code if WITH_SLICES is
jhb [Wed, 27 Nov 2002 19:57:39 +0000 (19:57 +0000)]
Only include the fdisk editor and associated code if WITH_SLICES is
defined.

Tested on: i386, alpha, sparc64
Approved by: re

21 years agoOnly define the MBR or IPL menu on i386 (PC98 uses IPL, other i386 use
jhb [Wed, 27 Nov 2002 19:54:46 +0000 (19:54 +0000)]
Only define the MBR or IPL menu on i386 (PC98 uses IPL, other i386 use
MBR).

Approved by: re

21 years agoHold the page queues lock when performing pmap_clear_modify().
alc [Wed, 27 Nov 2002 19:51:48 +0000 (19:51 +0000)]
Hold the page queues lock when performing pmap_clear_modify().

Approved by: re (blanket)

21 years ago- Only define syscons menus and syscons menu items in other menus if
jhb [Wed, 27 Nov 2002 19:51:43 +0000 (19:51 +0000)]
- Only define syscons menus and syscons menu items in other menus if
  WITH_SYSCONS is defined.
- Only define mouse menus and mouse menu items if WITH_MICE is defined.
- Use WITH_SLICES instead of explicit lists of architectures to control
  the layout of menus dependent on if slices are used on this arch or not.
- Only include the linux startup option if WITH_LINUX is defined.
- Only include the SVR4 startup option on i386.  It doesn't work on sparc64,
  and it is debatable that it even works on i386.
- Change the OSF1 startup option to execute configOSF1() instead of just
  setting the variable so that /compat/osf1 gets created.

Tested on: i386, alpha, sparc64
Approved by: re

21 years agoAdd uftdi(4) devices to the hardware list.
bmah [Wed, 27 Nov 2002 19:47:57 +0000 (19:47 +0000)]
Add uftdi(4) devices to the hardware list.

Approved by: re (implicitly)

21 years agoMFCs noted: crypto(4).
bmah [Wed, 27 Nov 2002 19:47:14 +0000 (19:47 +0000)]
MFCs noted:  crypto(4).

Other changes:  Add uftdi(4) to supported ucom(4) drivers, update
Cardbus items [1], ACPI CA 20021118 update, update a.out toolchain
note, remove Perl wrapper reference and downgrade a warning to a note.

Submitted by: imp [1]
Approved by: re (implicitly)

21 years agoIf the user choose to Undo everything in the label editor, only run the
jhb [Wed, 27 Nov 2002 19:46:18 +0000 (19:46 +0000)]
If the user choose to Undo everything in the label editor, only run the
fdisk editor if WITH_SLICES.  Before this on arch's that didn't support
slices such as alpha and sparc64 you would drop into the fdisk editor after
doing an Undo in the label editor.

Approved by: re

21 years ago- Use WITH_SLICES to conditionalize the fdisk editor during install instead
jhb [Wed, 27 Nov 2002 19:45:10 +0000 (19:45 +0000)]
- Use WITH_SLICES to conditionalize the fdisk editor during install instead
  of an explicit list of architecture defines.
- Tweak the message prior to the label editor in the !WITH_SLICES case to
  make it slightly less awkward since this is the first dialog we see after
  starting an install.
- Only offer to customize syscons settings if WITH_SYSCONS.
- Offer to enable Linux compat if WITH_LINUX.  Before we only did this for
  i386.
- On the alpha, offer to enable OSF/1 compat after asking about Linux
  compat.
- Only offer to configure moused(8) if WITH_MICE is defined.

Tested on: i386, alpha, sparc64
Approved by: re

21 years agoOnly include the diskPartitionEditor script command if WITH_SLICES is
jhb [Wed, 27 Nov 2002 19:41:06 +0000 (19:41 +0000)]
Only include the diskPartitionEditor script command if WITH_SLICES is
defined.

Approved by: re

21 years agoOnly try to setup moused(8) before setting up the X server if WITH_MICE is
jhb [Wed, 27 Nov 2002 19:39:26 +0000 (19:39 +0000)]
Only try to setup moused(8) before setting up the X server if WITH_MICE is
defined.

Approved by: re

21 years ago- Add a configOSF1() function (#ifdef __alpha__) that creates /compat/osf1
jhb [Wed, 27 Nov 2002 19:37:00 +0000 (19:37 +0000)]
- Add a configOSF1() function (#ifdef __alpha__) that creates /compat/osf1
  in addition to setting osf1_enable to YES.
- Only define configLinux() #ifdef WITH_LINUX.

Approved by: re

21 years agoAdd some helper macros to make #ifdef's in sysinstall easier to read
jhb [Wed, 27 Nov 2002 19:30:50 +0000 (19:30 +0000)]
Add some helper macros to make #ifdef's in sysinstall easier to read
and more maintainable.
- WITH_SYSCONS: defined on all arch's that support syscons (currently i386,
  alpha, and ia64)
- WITH_MICE: defined on all arch's that support moused(8) (currently i386,
  alpha, and ia64)
- WITH_SLICES: defined on all arch's that use disk slices (currently i386
  and ia64)
- WITH_LINUX: defined on all arch's that support Linux binary compat
  (currently i386 and alpha)

Approved by: re

21 years agoOnly display the APM option in the Startup menu on i386.
jhb [Wed, 27 Nov 2002 19:25:46 +0000 (19:25 +0000)]
Only display the APM option in the Startup menu on i386.

Approved by: re

21 years agoUse #elif defined(__alpha__) instead of #elif __alpha__.
jhb [Wed, 27 Nov 2002 19:22:25 +0000 (19:22 +0000)]
Use #elif defined(__alpha__) instead of #elif __alpha__.

Approved by: re

21 years agoEnable the compat4x distribution on Alpha as well as i386.
jhb [Wed, 27 Nov 2002 19:16:39 +0000 (19:16 +0000)]
Enable the compat4x distribution on Alpha as well as i386.

Approved by: re

21 years ago- Assume __FreeBSD__ is greater than 3.
jhb [Wed, 27 Nov 2002 19:13:53 +0000 (19:13 +0000)]
- Assume __FreeBSD__ is greater than 3.
- Only include compat4x distribution if this is either i386 or alpha.

21 years agoRemove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.
obrien [Wed, 27 Nov 2002 18:52:04 +0000 (18:52 +0000)]
Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.

Approved by: re(jhb)

21 years agoExpand X_AS_PKG so that we don't declare distribution bitmasks or menus
jhb [Wed, 27 Nov 2002 18:36:30 +0000 (18:36 +0000)]
Expand X_AS_PKG so that we don't declare distribution bitmasks or menus
for the X distributions if X_AS_PKG is defined.

Tested on: i386
Approved by: re

21 years agoResolve conflicts arising from the ACPI CA 20021118 import.
iwasaki [Wed, 27 Nov 2002 18:09:20 +0000 (18:09 +0000)]
Resolve conflicts arising from the ACPI CA 20021118 import.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r107325,
iwasaki [Wed, 27 Nov 2002 18:07:48 +0000 (18:07 +0000)]
This commit was generated by cvs2svn to compensate for changes in r107325,
which included commits to RCS files with non-trunk default branches.