]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoThis commit was generated by cvs2svn to compensate for changes in r51363,
obrien [Sat, 18 Sep 1999 10:51:31 +0000 (10:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r51363,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of EGCS 1.1.2's libf2c
obrien [Sat, 18 Sep 1999 10:51:31 +0000 (10:51 +0000)]
Virgin import of EGCS 1.1.2's libf2c

24 years agoUpdate the support files from the 6.0.1 import.
obrien [Sat, 18 Sep 1999 09:25:20 +0000 (09:25 +0000)]
Update the support files from the 6.0.1 import.

24 years agoRemove a comment about setting objformat to elf by default. We've
jb [Sat, 18 Sep 1999 08:27:55 +0000 (08:27 +0000)]
Remove a comment about setting objformat to elf by default. We've
done that already.

Change the -DWANT_AOUT comment to refer to 4.0 so that it sounds less
silly.

24 years agoClean up two cases of the alpha vtophys() hack that should be
wpaul [Sat, 18 Sep 1999 04:04:03 +0000 (04:04 +0000)]
Clean up two cases of the alpha vtophys() hack that should be
using alpha_XXX_dmamap() but aren't.

24 years agoFix the mechanism used to choose the unit numbers for the IP interfaces
wpaul [Sat, 18 Sep 1999 04:01:31 +0000 (04:01 +0000)]
Fix the mechanism used to choose the unit numbers for the IP interfaces
attached by the SysKonnect driver. Use ifunit() to scan for existing
skN interfaces and pick the first unused one.

24 years agoAdd curs_set(0) to get rid of that annoying cursor. I also have to evilly
green [Sat, 18 Sep 1999 03:59:33 +0000 (03:59 +0000)]
Add curs_set(0) to get rid of that annoying cursor.  I also have to evilly
add $FreeBSD$ so I can commit this.

24 years agoGet rid of some evil defines (a pair of snd and rcv.)
green [Fri, 17 Sep 1999 21:38:24 +0000 (21:38 +0000)]
Get rid of some evil defines (a pair of snd and rcv.)

24 years agoUpdate to driver release 1.74
roger [Fri, 17 Sep 1999 21:28:23 +0000 (21:28 +0000)]
Update to driver release 1.74

Bug fix:     xmradio nolonger experiences a 6Mhz offset after running FXTV

New feature: Automatic Tuner selection for AVerMedia cards with
             configuration EEPROMs on (ie the Bt878 based cards)

24 years agoPatch if_vr to add bridging support.
wpaul [Fri, 17 Sep 1999 18:25:30 +0000 (18:25 +0000)]
Patch if_vr to add bridging support.

PR: 12385
Submitted by: lyndon@orthanc.ab.ca

24 years agoRemember to account for ETHER_ALIGN when setting the maxmimum packet
wpaul [Fri, 17 Sep 1999 18:04:14 +0000 (18:04 +0000)]
Remember to account for ETHER_ALIGN when setting the maxmimum packet
length for mini receive ring. The max length was MHLEN, however the mbufs
are actually shortened to MHLEN - ETHER_ALIGN to force payload alignment.

PR: 13793

24 years agoSync with driver release 1.74
roger [Fri, 17 Sep 1999 17:06:36 +0000 (17:06 +0000)]
Sync with driver release 1.74

24 years agoMF3: various small tweaks.
jkh [Fri, 17 Sep 1999 09:32:22 +0000 (09:32 +0000)]
MF3: various small tweaks.

24 years agoFix getcwd. It must return the length of the path including the terminating 0.
marcel [Fri, 17 Sep 1999 08:35:08 +0000 (08:35 +0000)]
Fix getcwd. It must return the length of the path including the terminating 0.
While I'm here, fix style and debug printf.

Fix derived from patch by: Darryl Okahata <darrylo@sr.hp.com>

24 years agoRe-encode spanish messages using ISO-8859-1.
jmas [Fri, 17 Sep 1999 08:30:48 +0000 (08:30 +0000)]
Re-encode spanish messages using ISO-8859-1.
Patches also sent to bostic@bostic.com.

PR: bin/5966
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>

24 years agoParse resource descriptions which don't have START_DEPENDANT tags
dfr [Fri, 17 Sep 1999 08:18:34 +0000 (08:18 +0000)]
Parse resource descriptions which don't have START_DEPENDANT tags
correctly.  This fixes resource allocation for various PnP ed cards but
there are other problems which prevent that driver from working right.

24 years ago Add vfs.enable_userblk_io sysctl to control whether user reads and writes
dillon [Fri, 17 Sep 1999 06:10:27 +0000 (06:10 +0000)]
Add vfs.enable_userblk_io sysctl to control whether user reads and writes
    to buffered block devices are allowed.  The default is to be backwards
    compatible, i.e. reads and writes are allowed.

    The idea is for a larger crowd to start running with this disabled and
    see what problems, if any, crop up, and then to change the default to
    off and see if any problems crop up in the next 6 months prior to
    potentially removing support entirely.  There are still a few people,
    Julian and myself included, who believe the buffered block device
    access from usermode to be useful.

    Remove use of vnode->v_lastr from buffered block device I/O in
    preparation for removal of vnode->v_lastr field, replacing it with
    the already existing seqcount metric to detect sequential operation.

Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

24 years ago Asynchronized client-side nfs_commit. NFS commit operations were
dillon [Fri, 17 Sep 1999 05:57:57 +0000 (05:57 +0000)]
Asynchronized client-side nfs_commit.  NFS commit operations were
    previously issued synchronously even if async daemons (nfsiod's) were
    available.  The commit has been moved from the strategy code to the doio
    code in order to asynchronize it.

    Removed use of lastr in preparation for removal of vnode->v_lastr.  It
    has been replaced with seqcount, which is already supported by the system
    and, in fact, gives us a better heuristic for sequential detection then
    lastr ever did.

    Made major performance improvements to the server side commit.  The
    server previously fsync'd the entire file for each commit rpc.  The
    server now bawrite()s only those buffers related to the offset/size
    specified in the commit rpc.

    Note that we do not commit the meta-data yet.  This works still needs
    to be done.

    Note that a further optimization can be done (and has not yet been done)
    on the client: we can merge multiple potential commit rpc's into a
    single rpc with a greater file offset/size range and greatly reduce
    rpc traffic.

Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

24 years ago Remove inappropriate VOP_FSYNC from vm_object_page_clean(). The fsync
dillon [Fri, 17 Sep 1999 05:48:36 +0000 (05:48 +0000)]
Remove inappropriate VOP_FSYNC from vm_object_page_clean().  The fsync
    syncs the entire underlying file rather then just the requested range,
    resulting in huge inefficiencies when the VM system is articulated in
    a certain way.  The VOP_FSYNC was also found to massively reduce NFS
    performance in certain cases.

    Change MADV_DONTNEED and MADV_FREE to call vm_page_dontneed() instead
    of vm_page_deactivate().  Using vm_page_deactivate() causes all
    inactive and cache pages to be recycled before the dontneed/free page
    is recycled, effectively flushing our entire VM inactive & cache
    queues continuously even if only a few pages are being actively MADV
    free'd and reused (such as occurs with a sequential scan of a
    memory-mapped file).

Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

24 years ago Add 'lastr' field to vm_map_entry in preparation for its removal
dillon [Fri, 17 Sep 1999 05:40:17 +0000 (05:40 +0000)]
Add 'lastr' field to vm_map_entry in preparation for its removal
    from the vnode.  (The changeover is undergoing final testing and
    will be committed soon).

Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

24 years ago Fix a bug in the block number calculation for VN disks with a sector
dillon [Fri, 17 Sep 1999 05:34:00 +0000 (05:34 +0000)]
Fix a bug in the block number calculation for VN disks with a sector
    size != 512 that are configured without a label.  The bug should only
    have effected swap-backed VN mounts without a label.

    Add several major features to VN.  In the kernel we add a swap
    pre-reservation capability, which can be used to guarentee seek
    consistency for swap-backed VN nodes.  This also incidently allows
    a swap-backed VN filesystem to be recovered after a crash in some
    cases (if the same swap blocks happen to be reserved).

    We also add a number of new options to vnconfig which do the work
    of pre-zeroing or creating/truncating/extending a file which greatly
    simplifies using VN in a file-backed configuration.

    Add FreeBSD CVS label to sys/sys/vnioctl.h, as well as a new ioctl
    flag for the swap pre-reservation feature.

Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

24 years ago The vnode pager (used when you do file-backed mmaps) must use the
dillon [Fri, 17 Sep 1999 05:17:59 +0000 (05:17 +0000)]
The vnode pager (used when you do file-backed mmaps) must use the
    underlying physical sector size when aligning I/O transfer sizes.
    It cannot assume 512 bytes.

    We assume the underlying sector size is a power of 2.  If it isn't,
    mmap() will break badly anyway (in the same way mmap broke with NFS
    when NFS tried to cache piecemeal write ranges in buffers, before
    we enforced read-buffer-before-write-piecemeal for NFS).

Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

24 years ago Fix a number of spl bugs related to reserving and freeing swap space.
dillon [Fri, 17 Sep 1999 05:09:24 +0000 (05:09 +0000)]
Fix a number of spl bugs related to reserving and freeing swap space.
    Swap space can be freed from an interrupt and so swap reservation and
    freeing must occur at splvm.

    Add swap_pager_reserve() code to support a new swap pre-reservation
    capability for the VN device.

    Generally cleanup the swap code by simplifying the swp_pager_meta_build()
    static function and consolidating the SWAPBLK_NONE test from a bit test
    to an absolute compare.  The bit test was left over from a rejected
    swap allocation scheme that was not ultimately committed.  A few other
    minor cleanups were also made.

    Reorganize the swap strategy code, again for VN support, to not
    reallocate swap when writing as this messes up pre-reservation and
    can fragment I/O unnecessarily as VN-baesd disk is messed around with.

Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

24 years ago Add required BUF_KERNPROC to flushchainbuf() to disassociate the
dillon [Fri, 17 Sep 1999 05:03:27 +0000 (05:03 +0000)]
Add required BUF_KERNPROC to flushchainbuf() to disassociate the
    current process from the exclusive lock prior to initiating I/O.

    This fixes a panic related to swap-backed VN disks

Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

24 years agoReviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>
dillon [Fri, 17 Sep 1999 04:56:40 +0000 (04:56 +0000)]
Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>

    Replace various VM related page count calculations strewn over the
    VM code with inlines to aid in readability and to reduce fragility
    in the code where modules depend on the same test being performed
    to properly sleep and wakeup.

    Split out a portion of the page deactivation code into an inline
    in vm_page.c to support vm_page_dontneed().

    add vm_page_dontneed(), which handles the madvise MADV_DONTNEED
    feature in a related commit coming up for vm_map.c/vm_object.c.  This
    code prevents degenerate cases where an essentially active page may
    be rotated through a subset of the paging lists, resulting in premature
    disposal.

24 years agoFix sf_probe() to detect the card type properly. I botched the reading
wpaul [Fri, 17 Sep 1999 00:47:41 +0000 (00:47 +0000)]
Fix sf_probe() to detect the card type properly. I botched the reading
of the subsystem ID when I converted to newbus. The driver still detects
the chipset and still works but fails to identify the exact card.

24 years agoMake count=0 set cpy_cnt to -1, which is slight overloading, but makes
green [Thu, 16 Sep 1999 19:50:59 +0000 (19:50 +0000)]
Make count=0 set cpy_cnt to -1, which is slight overloading, but makes
what I was trying to do work much better (ie at all.  I could have sworn
it was working...) Fix a SEEK_SET to be SEEK_CUR, and make Bruce's
lseek() test work correctly.

24 years agoSuggest using just finrst in the dial filter, and not syn.
brian [Thu, 16 Sep 1999 18:52:46 +0000 (18:52 +0000)]
Suggest using just finrst in the dial filter, and not syn.

Submitted by: Ruslan Ermilov <ru@FreeBSD.org>

24 years agoCorrect the return from FilterCheck for fragments
brian [Thu, 16 Sep 1999 18:47:59 +0000 (18:47 +0000)]
Correct the return from FilterCheck for fragments

PR: 13771
Submitted by: Dean M. Phillips <dphill@inav.net>

24 years agoAdd spanish support, fixing my own PR.
jmas [Thu, 16 Sep 1999 10:46:32 +0000 (10:46 +0000)]
Add spanish support, fixing my own PR.

PR: i386/10595
Submitted by: Jose M. Alcaide (jose@we.lc.ehu.es)

24 years agoSome minor cosmetics: make mkdir less chatty in the output and stop making /R
jkh [Thu, 16 Sep 1999 08:44:22 +0000 (08:44 +0000)]
Some minor cosmetics: make mkdir less chatty in the output and stop making /R
magic.

24 years agoLet count=-something fail, while count=0 may succeed, thus making dd(1)
green [Thu, 16 Sep 1999 05:12:59 +0000 (05:12 +0000)]
Let count=-something fail, while count=0 may succeed, thus making dd(1)
useful as a seeking-tool as well as its many other uses.  Previously,
dd(1) would succeed with count=0, but wouldn't get to the point that
blocks were to be read/written. This is a more useful behavior, and
this specific case doesn't seem to be handled by POSIX.

24 years agoRe-arrange the arp code so that fddi arps work properly.
lile [Thu, 16 Sep 1999 00:35:39 +0000 (00:35 +0000)]
Re-arrange the arp code so that fddi arps work properly.

24 years agoOops, patch applied to wrong place.
ache [Wed, 15 Sep 1999 18:58:33 +0000 (18:58 +0000)]
Oops, patch applied to wrong place.

24 years agofix LOCALEDIR
ache [Wed, 15 Sep 1999 18:55:17 +0000 (18:55 +0000)]
fix LOCALEDIR

24 years agoadd mdoc/locale
ache [Wed, 15 Sep 1999 18:52:44 +0000 (18:52 +0000)]
add mdoc/locale

24 years agomdoc(7)'fy.
phantom [Wed, 15 Sep 1999 18:50:39 +0000 (18:50 +0000)]
mdoc(7)'fy.

Pointed out by: ru

24 years agowlinit() must be called to recalculate the multicast filter.
roberto [Wed, 15 Sep 1999 12:49:03 +0000 (12:49 +0000)]
wlinit() must be called to recalculate the multicast filter.

Submitted by: Francis Dupont <Francis.Dupont@inria.fr>

24 years agoBe slightly less verbose.
obrien [Wed, 15 Sep 1999 11:17:59 +0000 (11:17 +0000)]
Be slightly less verbose.

24 years agoSync with am-utils-6.0 => am-utils-6.0.1 changes.
obrien [Wed, 15 Sep 1999 09:00:54 +0000 (09:00 +0000)]
Sync with am-utils-6.0 => am-utils-6.0.1 changes.

24 years agoDangit: mispelled TORNADO in one place.
wpaul [Wed, 15 Sep 1999 07:20:59 +0000 (07:20 +0000)]
Dangit: mispelled TORNADO in one place.

24 years ago3Com has produced their own Linux driver for the 3c90x/3c90xB series cards.
wpaul [Wed, 15 Sep 1999 07:19:34 +0000 (07:19 +0000)]
3Com has produced their own Linux driver for the 3c90x/3c90xB series cards.
It's GPL'ed of course, but looking over it tonight I learned of Yet Another
Fast EtherLink XL Adapter: the 3c980C server adapter. This is basically
an updated version of the 3c980 that uses the Tornado ASIC instead of the
earlier Hurricane ASIC. The only change here is to add the new PCI device
ID (0x9805) and corresponding table entries.

24 years agoFix conflicts.
obrien [Wed, 15 Sep 1999 05:45:17 +0000 (05:45 +0000)]
Fix conflicts.

24 years agoAdd a hook for disabling cvs and collect a few similar options together.
peter [Wed, 15 Sep 1999 03:52:17 +0000 (03:52 +0000)]
Add a hook for disabling cvs and collect a few similar options together.
(We do this on freefall as we use a tweaked /usr/bin/cvs wrapper)

24 years agoIf enlightenment is present, gnome-session starts it automagically.
jkh [Wed, 15 Sep 1999 02:52:56 +0000 (02:52 +0000)]
If enlightenment is present, gnome-session starts it automagically.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r51292,
obrien [Wed, 15 Sep 1999 02:50:52 +0000 (02:50 +0000)]
This commit was generated by cvs2svn to compensate for changes in r51292,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of AMD (am-utils) v6.0.1
obrien [Wed, 15 Sep 1999 02:50:52 +0000 (02:50 +0000)]
Virgin import of AMD (am-utils) v6.0.1

24 years ago/emulation/binary compatibility/
obrien [Wed, 15 Sep 1999 02:25:13 +0000 (02:25 +0000)]
/emulation/binary compatibility/

24 years ago/Linux emulation/Linux mode binary compatibility/
obrien [Wed, 15 Sep 1999 02:08:45 +0000 (02:08 +0000)]
/Linux emulation/Linux mode binary compatibility/

24 years agoFix warning: return type of `main' is not `int'
peter [Wed, 15 Sep 1999 01:58:44 +0000 (01:58 +0000)]
Fix warning: return type of `main' is not `int'

24 years agoDon't disallow null search patterns --- they are interpreted as being
hoek [Tue, 14 Sep 1999 21:20:58 +0000 (21:20 +0000)]
Don't disallow null search patterns --- they are interpreted as being
identical to the previous pattern.

Noticed-by: Jeroen Ruigrok/Asmodai

24 years agoDon't need to add bpf anymore.
jkh [Tue, 14 Sep 1999 18:43:35 +0000 (18:43 +0000)]
Don't need to add bpf anymore.

24 years agoReorder.
des [Tue, 14 Sep 1999 16:40:28 +0000 (16:40 +0000)]
Reorder.

24 years agoFix some more disordering, as well as the description string for the
des [Tue, 14 Sep 1999 16:14:05 +0000 (16:14 +0000)]
Fix some more disordering, as well as the description string for the
net.inet.tcp.drop_synfin sysctl, which for some mysterious reason said
"Drop TCP packets with FIN+ACK set" (instead of "...with SYN+FIN set")

24 years agorc.conf -> /etc/motd
phantom [Tue, 14 Sep 1999 15:56:58 +0000 (15:56 +0000)]
rc.conf -> /etc/motd

PR: docs/13748

24 years agoFix a coredump when commands in ~/.exrc prepended with addresses.
ru [Tue, 14 Sep 1999 14:34:58 +0000 (14:34 +0000)]
Fix a coredump when commands in ~/.exrc prepended with addresses.

PR: 13000

24 years agoGdc and pckbd driver don't support pnp mode.
nyan [Tue, 14 Sep 1999 12:57:40 +0000 (12:57 +0000)]
Gdc and pckbd driver don't support pnp mode.

24 years agoCorrect some hard sentence breaks. Only those surrounding the previous
sheldonh [Tue, 14 Sep 1999 11:46:04 +0000 (11:46 +0000)]
Correct some hard sentence breaks. Only those surrounding the previous
commit and those which cause ugly nroff output have been fixed, since
the purpose of the style guideline which they contravene is to reduce
the sizes of deltas.

Reported by: bde

24 years agoFoo. Maybe I should get Peter to hook ispell up in commit_prep.pl.
obrien [Tue, 14 Sep 1999 10:38:45 +0000 (10:38 +0000)]
Foo.  Maybe I should get Peter to hook ispell up in commit_prep.pl.

24 years agoAdd the NIS domain to the tweakable knobs.
obrien [Tue, 14 Sep 1999 09:15:35 +0000 (09:15 +0000)]
Add the NIS domain to the tweakable knobs.

24 years agoThe existing libxpg4.so.2.0 didn't support zh_TW.Big5 locale.
obrien [Tue, 14 Sep 1999 08:41:09 +0000 (08:41 +0000)]
The existing libxpg4.so.2.0 didn't support zh_TW.Big5 locale.

PR: 13623
Submitted by: jtjang@gcn.net.tw

24 years agoBrutally rip more stuff out of the fixit image so that we can start
jkh [Tue, 14 Sep 1999 04:24:29 +0000 (04:24 +0000)]
Brutally rip more stuff out of the fixit image so that we can start
build 4.0-stapshots again.  It's still overflowing. :(

24 years agoDon't call if_up() here, just set IFF_UP.
ru [Tue, 14 Sep 1999 01:17:30 +0000 (01:17 +0000)]
Don't call if_up() here, just set IFF_UP.

PR: 12251
Reviewed by: wollman

24 years agoAdjust descriptions for if_up() and if_down().
ru [Tue, 14 Sep 1999 01:05:40 +0000 (01:05 +0000)]
Adjust descriptions for if_up() and if_down().

Reviewed by: wollman

24 years agoAdd comments, fix typos.
ru [Tue, 14 Sep 1999 00:33:23 +0000 (00:33 +0000)]
Add comments, fix typos.

Reviewed by: wollman

24 years ago- Describe all available message headers.
ru [Tue, 14 Sep 1999 00:26:11 +0000 (00:26 +0000)]
- Describe all available message headers.
- Sync structures/constants with sources.
- Fix multiple typos.

Reviewed by: wollman

24 years agoAlign sockaddrs passed to/from the routing socket as supposed by kernel.
ru [Mon, 13 Sep 1999 23:32:53 +0000 (23:32 +0000)]
Align sockaddrs passed to/from the routing socket as supposed by kernel.

PR: 12847
Spotted by: Key Teck Sin <ktsin@acm.org>
Reviewed by: wollman

24 years agoEven more dd(1) cleanups! Thanks to Bruce for staying on my case until
green [Mon, 13 Sep 1999 21:47:10 +0000 (21:47 +0000)]
Even more dd(1) cleanups! Thanks to Bruce for staying on my case until
we're done (not yet!) :)

24 years agoFix SEE ALSO section:
phantom [Mon, 13 Sep 1999 19:16:47 +0000 (19:16 +0000)]
Fix SEE ALSO section:
. add printenv(1)
. correct reference to "CSH introduction"

Reviewed by: mpp

24 years agoThe sense of probes has inverted. They return an error, rather than
peter [Mon, 13 Sep 1999 19:14:43 +0000 (19:14 +0000)]
The sense of probes has inverted.  They return an error, rather than
true/false.  Fix ed_probe_HP_pclanp() so that it doesn't "succeed" on
non-existing hardware.

Submitted by: Mark Hittinger <bugs@freebsd.netcom.com>

24 years agoMake the fixit floppy 2.88MB as a temporary "solution" to get the nightly
peter [Mon, 13 Sep 1999 19:06:21 +0000 (19:06 +0000)]
Make the fixit floppy 2.88MB as a temporary "solution" to get the nightly
snaps re-running.  This is not a fix.  (The alpha already does this)

24 years agoDocument .Ta macro.
phantom [Mon, 13 Sep 1999 18:58:53 +0000 (18:58 +0000)]
Document .Ta macro.

Requested by: ru
Ok'ed by: mpp

24 years agoFix typo: vi(8) -> vi(1)
phantom [Mon, 13 Sep 1999 18:38:53 +0000 (18:38 +0000)]
Fix typo: vi(8) -> vi(1)

Noticed by: ru

24 years agoRegister the right cdevsw on the master device.
phk [Mon, 13 Sep 1999 18:20:21 +0000 (18:20 +0000)]
Register the right cdevsw on the master device.

Detected by: sos

24 years ago`permanent_link' is obsolete; update examples.
ru [Mon, 13 Sep 1999 18:18:33 +0000 (18:18 +0000)]
`permanent_link' is obsolete; update examples.

24 years agoAdd Ari Suutari as a maintainer.
ru [Mon, 13 Sep 1999 18:16:38 +0000 (18:16 +0000)]
Add Ari Suutari as a maintainer.

Approved by: Ari Suutari <ari@suutari.iki.fi>

24 years agoPull in the core bus drivers based on the machine type rather than
peter [Mon, 13 Sep 1999 17:52:06 +0000 (17:52 +0000)]
Pull in the core bus drivers based on the machine type rather than
requiring the user to figure it out.  So, if you comment out all but the
machine type you are using, you automatically get the bus code just for
your system.  (eg DEC_EB164 implies cia, etc).  Multiple machine types
still pulls in the appropriate busses.  This means, take things like
'controller cia0' out of your config.

Reviewed by: dfr  (in principle)

24 years agoDocument .Ox and .Nx macros.
phantom [Mon, 13 Sep 1999 17:33:16 +0000 (17:33 +0000)]
Document .Ox and .Nx macros.

Reviewed by: mpp

24 years agoUpdate to current state of filesystems layout (almost complete)
phantom [Mon, 13 Sep 1999 17:20:58 +0000 (17:20 +0000)]
Update to current state of filesystems layout (almost complete)
Stylize

PR: docs/13229
Reviewed by: mpp

24 years agoAdd/adjust some $FreeBSD$ tags.
peter [Mon, 13 Sep 1999 17:09:08 +0000 (17:09 +0000)]
Add/adjust some $FreeBSD$ tags.

Noted by: Doug <Doug@gorean.org>

24 years agoMerged src/lib/libtelnet rev.1.9 (fixed removing of obsolete shared
bde [Mon, 13 Sep 1999 16:38:58 +0000 (16:38 +0000)]
Merged src/lib/libtelnet rev.1.9 (fixed removing of obsolete shared
library: wrong library directory, wrong library extension and wrong
comment).  This is mainly of historical interest, if any.  The library
that gets removed is aout.

24 years agoGet rid of a stray printf on boot. (BRDCTL = ...)
ken [Mon, 13 Sep 1999 16:32:34 +0000 (16:32 +0000)]
Get rid of a stray printf on boot.  (BRDCTL = ...)

Approved by: gibbs

24 years agoApparently, it's not console=serial to set the serial console,
jkh [Mon, 13 Sep 1999 16:24:08 +0000 (16:24 +0000)]
Apparently, it's not console=serial to set the serial console,
it's serial=comconsole.  I wish it were easier to figure this
stuff out. :)

Submitted by: jfieber

24 years agoFixed some disordering (mainly of case lists for disks).
bde [Mon, 13 Sep 1999 16:15:58 +0000 (16:15 +0000)]
Fixed some disordering (mainly of case lists for disks).

Fixed bitrot in the `wcd*)' case.

24 years agoMerge from ../egcs/gcc/gcc.c rev.1.5:
bde [Mon, 13 Sep 1999 15:50:16 +0000 (15:50 +0000)]
Merge from ../egcs/gcc/gcc.c rev.1.5:
Don't exclude directories that the linker is "known" to search (/lib
and /usr/lib) when deciding whether to pass certain paths to the
linker.  Under FreeBSD, the linker is actually known to never search
/lib and to only search /usr/lib in the elf case.  Not passing the
paths causes at best causes confusing differences for cross compiling.
This change is conditional on FREEBSD_NATIVE but should be absolute.

24 years agoApply a consistent style to most of the etc scripts. Particularly, use
sheldonh [Mon, 13 Sep 1999 15:44:20 +0000 (15:44 +0000)]
Apply a consistent style to most of the etc scripts.  Particularly, use
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.

Changes discussed on freebsd-hackers.

Submitted by: Doug Barton <Doug@gorean.org>

24 years agoFixed longstanding breakage of rm of deep directories in rev.1.2.
bde [Mon, 13 Sep 1999 15:12:30 +0000 (15:12 +0000)]
Fixed longstanding breakage of rm of deep directories in rev.1.2.
rm must not use FTS_NOCHDIR, since chdir'ing is required for removing
deep directory trees and the ability to remove such trees is required
by POSIX.2 and POLA.  The breakage didn't make much difference until
recently, since fts(3) didn't work in deep directory trees.  It isn't
clear whether using FTS_NOCHDIR ever fixed anything (Net/2's rm.c is
similar to Lite1's).  Perhaps it was actually to limit the damage
caused by the fts bug.

24 years agoMoved the definition of `boottime' and its sysctl to the correct file.
bde [Mon, 13 Sep 1999 14:22:27 +0000 (14:22 +0000)]
Moved the definition of `boottime' and its sysctl to the correct file.

24 years agoConst poisoning from d_name.
bde [Mon, 13 Sep 1999 14:12:23 +0000 (14:12 +0000)]
Const poisoning from d_name.

Fixed some style bugs in recent changes.

24 years agoOops, I forgot to commit this together with the updates to the callers.
bde [Mon, 13 Sep 1999 14:00:16 +0000 (14:00 +0000)]
Oops, I forgot to commit this together with the updates to the callers.

Removed diskerr()'s unused d_name arg and updated callers.  This fixes
warnings caused by the arg having the wrong type (not const enough).
The arg was also wrong (a full name instead of a short one) for calls
from from subr_diskmbr.c and pc98/diskslice_machdep.c.

24 years agoRemoved diskerr()'s unused d_name arg and updated callers. This fixes
bde [Mon, 13 Sep 1999 12:59:41 +0000 (12:59 +0000)]
Removed diskerr()'s unused d_name arg and updated callers.  This fixes
warnings caused by the arg having the wrong type (not const enough).
The arg was also wrong (a full name instead of a short one) for calls
from from subr_diskmbr.c and pc98/diskslice_machdep.c.

24 years agoConst'ify devtoname() and d_name. This exposes some errors (2 non-benign).
bde [Mon, 13 Sep 1999 12:29:32 +0000 (12:29 +0000)]
Const'ify devtoname() and d_name.  This exposes some errors (2 non-benign).

Handle negative minor numbers properly in devtoname().

24 years agoFix disordering introduced in my previous commit.
des [Mon, 13 Sep 1999 09:45:07 +0000 (09:45 +0000)]
Fix disordering introduced in my previous commit.

Pointed out by: bde

24 years agoDocument tcp_keepalive, tcp_drop_synfin, tcp_restrict_rst,
des [Mon, 13 Sep 1999 09:18:31 +0000 (09:18 +0000)]
Document tcp_keepalive, tcp_drop_synfin, tcp_restrict_rst,
icmp_drop_redirect and icmp_log_redirect.

24 years agoMerge from sys/i386/conf/GENERIC revision 1.190.
kato [Mon, 13 Sep 1999 08:55:15 +0000 (08:55 +0000)]
Merge from sys/i386/conf/GENERIC revision 1.190.

24 years ago"\t\t" -> " \t" as per rev. 1.611 (mangled in the previous commit)
des [Mon, 13 Sep 1999 08:36:15 +0000 (08:36 +0000)]
"\t\t" -> " \t" as per rev. 1.611 (mangled in the previous commit)

Pointed out by: bde

24 years ago__collate_substitute() do something non-trivial only for German. For everyone
dt [Sun, 12 Sep 1999 21:15:28 +0000 (21:15 +0000)]
__collate_substitute() do something non-trivial only for German. For everyone
else, it is equivalent to strdup(). So, we will check if  the substitution
tables are trivial at the load time, and possibly save 2 calls to
__collate_substitute() in strcoll().

Still, __collate_substitute() should not exist.

24 years agoBite the bullet and allocate the devsw entry at compile time.
phk [Sun, 12 Sep 1999 20:40:29 +0000 (20:40 +0000)]
Bite the bullet and allocate the devsw entry at compile time.

24 years agoReduce time of __collate_substitute() from O(strlen(s)^2) to O(strlen(s)).
dt [Sun, 12 Sep 1999 19:42:38 +0000 (19:42 +0000)]
Reduce time of __collate_substitute() from O(strlen(s)^2) to O(strlen(s)).
Other minor optimizations. I got ~30% speedup in strcoll() for 50 char strings,
~40% speedup for 100 char strings, and unmeasurable speedup for 1M strings.

Collates are still terribly slow. To make them reasonable fast,
__collate_substitute() should be killed.

24 years agoFix a file descriptor leak in cam_open_btl(). The xpt device was opened,
ken [Sun, 12 Sep 1999 19:40:20 +0000 (19:40 +0000)]
Fix a file descriptor leak in cam_open_btl().  The xpt device was opened,
but never closed.

Submitted by: amobbs@allstor-sw.co.uk