]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoFix unordering
phk [Tue, 21 Sep 1999 10:50:28 +0000 (10:50 +0000)]
Fix unordering

24 years agoupdate ktrpsig prototype...
phk [Tue, 21 Sep 1999 09:54:33 +0000 (09:54 +0000)]
update ktrpsig prototype...

24 years agoAdd the ``blacklist'' feature, which allows a path to a filename to
sheldonh [Tue, 21 Sep 1999 09:09:57 +0000 (09:09 +0000)]
Add the ``blacklist'' feature, which allows a path to a filename to
be used as a valid pattern in the access control language.

Patch obtained from ftp://ftp.porcupine.org/pub/security/ .

Requested by: markm

24 years ago- Make partially specified permanent links (without `dst_addr' and/or
ru [Tue, 21 Sep 1999 08:40:20 +0000 (08:40 +0000)]
- Make partially specified permanent links (without `dst_addr' and/or
  `dst_port') work for outgoing packets.

- Make permanent links whose `alias_addr' matches the primary aliasing
  address `aliasAddress' work for incoming packets.

- Typo fixes.

Reviewed by: brian, eivind

24 years ago cleanup madvise code, add a few more sanity checks.
dillon [Tue, 21 Sep 1999 05:00:48 +0000 (05:00 +0000)]
cleanup madvise code, add a few more sanity checks.

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

24 years agoKill some spammage that seems to have gotten in through diffs from marcel's
green [Tue, 21 Sep 1999 03:47:42 +0000 (03:47 +0000)]
Kill some spammage that seems to have gotten in through diffs from marcel's
local tree (which happens to have some things we don't :)

24 years agosys/errno.h -> errno.h
brian [Tue, 21 Sep 1999 01:26:49 +0000 (01:26 +0000)]
sys/errno.h -> errno.h

24 years ago Bring documentation up to date, add a few more vnconfig examples.
dillon [Tue, 21 Sep 1999 01:03:11 +0000 (01:03 +0000)]
Bring documentation up to date, add a few more vnconfig examples.

24 years agoFix the ``lt'' comparison in ``set filter''
brian [Tue, 21 Sep 1999 01:02:05 +0000 (01:02 +0000)]
Fix the ``lt'' comparison in ``set filter''

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

24 years ago Final commit to remove vnode->v_lastr. vm_fault now handles read
dillon [Tue, 21 Sep 1999 00:36:16 +0000 (00:36 +0000)]
Final commit to remove vnode->v_lastr.  vm_fault now handles read
    clustering issues (replacing code that used to be in
    ufs/ufs/ufs_readwrite.c).  vm_fault also now uses the new VM page counter
    inlines.

    This completes the changeover from vnode->v_lastr to vm_entry_t->v_lastr
    for VM, and fp->f_nextread and fp->f_seqcount (which have been in the
    tree for a while).  Determination of the I/O strategy (sequential, random,
    and so forth) is now handled on a descriptor-by-descriptor basis for
    base I/O calls, and on a memory-region-by-memory-region and
    process-by-process basis for VM faults.

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

24 years ago More removals of vnode->v_lastr, replaced by preexisting seqcount
dillon [Mon, 20 Sep 1999 23:27:58 +0000 (23:27 +0000)]
More removals of vnode->v_lastr, replaced by preexisting seqcount
    heuristic to detect sequential operation.

    VM-related forced clustering code removed from ufs in preparation for a
    commit to vm/vm_fault.c that does it more generally.

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

24 years ago Fix handling of a device EOF that occurs in the middle of a block. The
dillon [Mon, 20 Sep 1999 23:17:47 +0000 (23:17 +0000)]
Fix handling of a device EOF that occurs in the middle of a block.  The
    transfer size calculation was incorrect resulting in the last read being
    potentially larger then the actual extent of the device.

    EOF and write handling has not yet been fixed.

Reviewed by: Tor.Egge@fast.no

24 years agoWhen bcopying the program name into the ktrace header, make sure we include
marcel [Mon, 20 Sep 1999 21:53:17 +0000 (21:53 +0000)]
When bcopying the program name into the ktrace header, make sure we include
the terminating zero by copying MAXCOMLEN + 1 bytes. This fixes the garbage
that occasionally appeared behind the programname when it is at least MAXCOMLEN
bytes long (such as communicator-4.61-bin).

24 years agoFix a harmless bug I introduced, simplify a bit more while here.
phk [Mon, 20 Sep 1999 21:14:43 +0000 (21:14 +0000)]
Fix a harmless bug I introduced, simplify a bit more while here.

24 years agoMinor (but important) comment change.
markm [Mon, 20 Sep 1999 20:27:09 +0000 (20:27 +0000)]
Minor (but important) comment change.

24 years agoClose PR #13665. I managed to figure out the problem, no thanks to the
wpaul [Mon, 20 Sep 1999 20:26:14 +0000 (20:26 +0000)]
Close PR #13665. I managed to figure out the problem, no thanks to the
submitter, who *still* hasn't bothered to answer me back.

The thing which the submitter completely failed to mention is that
his 3c900B-TPO card has the transceiver selection in the EEPROM set
to "auto." You can tweak the setting using the 3C90XCFG.EXE utility
that 3Com provides with the card. I'm not sure if it's supposed to
default to auto or if the user fiddled with it. Currently, the xl
driver only does autoselection for 10/100 NICs (i.e. those with NWAY
autonegotiation capabilities). For the 10baseT, 10base5, 10base2,
10baseFL and 100baseFX cards, the driver sets the default media to
whatever the EEPROM transceiver selector says. The problem is that
the "auto" selection is mistakenly identified as "10/100 NWAY
autoselection mode" and this is not handled correctly: the default
media ends up being chosen as 100baseTX, which doesn't work because
we've only added 10baseT media types to the ifmedia word. This leads
to a panic in ifmedia_set() (something else which the submitter never
bothered to mention).

A workaround for this is to re-run the 3C90XCFG.EXE utility and change
the transceiver selection to something besides "auto." I have also
patched the driver to watch for the "auto" setting in the non-miibus
case and select a reasonable default based on the card type instead of
falling through to 100baseTX and exploding.

PR: misc/13665

24 years agoSet si_iosize_max rather than d_maxio.
phk [Mon, 20 Sep 1999 19:58:38 +0000 (19:58 +0000)]
Set si_iosize_max rather than d_maxio.

Register devsw in *attach instead of a SYSINIT.

24 years agoStep one of replacing devsw->d_maxio with si_bsize_max.
phk [Mon, 20 Sep 1999 19:57:28 +0000 (19:57 +0000)]
Step one of replacing devsw->d_maxio with si_bsize_max.

Rename dev->si_bsize_max to si_iosize_max and set it in spec_open
if the device didn't.

Set vp->v_maxio from dev->si_bsize_max in spec_open rather than
in ufs_bmap.c

24 years agoInitialize vp->v_maxio to its default in getnetvnode() rather than
phk [Mon, 20 Sep 1999 19:53:23 +0000 (19:53 +0000)]
Initialize vp->v_maxio to its default in getnetvnode() rather than
four different places in vfs_cluster.c

24 years ago Add comment to clarify a commit rpc optimization already being performed.
dillon [Mon, 20 Sep 1999 19:10:28 +0000 (19:10 +0000)]
Add comment to clarify a commit rpc optimization already being performed.

24 years ago Fix bug in pipe code relating to writes of mmap'd but illegal address
dillon [Mon, 20 Sep 1999 19:08:48 +0000 (19:08 +0000)]
Fix bug in pipe code relating to writes of mmap'd but illegal address
    spaces which cross a segment boundry in the page table.  pmap_kextract()
    is not designed for access to the user space portion of the page
    table and cannot handle the null-page-directory-entry case.

    The fix is to have vm_fault_quick() return a success or failure which
    is then used to avoid calling pmap_kextract().

24 years agoUn-do the changes to the DRIVER_MODULE() declarations in these drivers.
wpaul [Mon, 20 Sep 1999 19:06:45 +0000 (19:06 +0000)]
Un-do the changes to the DRIVER_MODULE() declarations in these drivers.
This whole idea isn't going to work until somebody makes the bus/kld
code smarter. The idea here is to change the module's internal name
from "foo" to "if_foo" so that ifconfig can tell a network driver from
a non-network one. However doing this doesn't work correctly no matter
how you slice it. For everything to work, you have to change the name
in both the driver_t struct and the DRIVER_MODULE() declaration. The
problems are:

- If you change the name in both places, then the kernel thinks that
  the device's name is now "if_foo", so you get things like:

if_foo0: <FOO ethernet> irq foo at device foo on pcifoo
if_foo0: Ethernet address: foo:foo:foo:foo:foo:foo

  This is bogus. Now the device name doesn't agree with the logical
  interface name. There's no reason for this, and it violates the
  principle of least astonishment.

- If you leave the name in the driver_t struct as "foo" and only
  change the names in the DRIVER_MODULE() declaration to "if_foo" then
  attaching drivers to child devices doesn't work because the names don't
  agree. This breaks miibus: drivers that need to have miibuses and PHY
  drivers attached never get them.

In other words: damned if you do, damned if you don't.

This needs to be thought through some more. Since the drivers that
use miibus are broken, I have to change these all back in order to
make them work again. Yes this will stop ifconfig from being able
to demand load driver modules. On the whole, I'd rather have that
than having the drivers not work at all.

24 years agoClear the SELINGO bit after a selection timeout occurs. SELINGO is
gibbs [Mon, 20 Sep 1999 19:04:22 +0000 (19:04 +0000)]
Clear the SELINGO bit after a selection timeout occurs.  SELINGO is
usually cleared by a successful selection, but there is no guarantee
that a future successful selection will ever occur (e.g. empty bus).
The driver never looks at SELINGO, but the busy LED does, so this
change has the cosmetic effect of fixing the rare instance where the
busy LED was left on, confusing the user.

24 years agoWork around a defect in the FIFOEMP status bit of Ultra2 class
gibbs [Mon, 20 Sep 1999 18:57:04 +0000 (18:57 +0000)]
Work around a defect in the FIFOEMP status bit of Ultra2 class
aic7xxx parts.  This problem could result in data corruption
during periods of my PCI bus load by busmasters other than the
aic7xxx.

Many thanks to Andrew Gallatin <gallatin@cs.duke.edu> for characterizing
the symptoms of this problem and testing this fix.

24 years agoFixed the description of when and why aio_suspend returns.
wes [Mon, 20 Sep 1999 18:30:55 +0000 (18:30 +0000)]
Fixed the description of when and why aio_suspend returns.
Also spelled out the return values and conditions a little
better.

Noticed by: John Polstra <jdp@polstra.com>

24 years ago Fix the situation where an I/O crosses the EOF point. We need to properly
dillon [Mon, 20 Sep 1999 18:06:17 +0000 (18:06 +0000)]
Fix the situation where an I/O crosses the EOF point.  We need to properly
    adjust the bp->b_bcount the same way for unlabeled VN access as dscheck
    does for labeled access.

    We also increase the block size to at least 8K for efficiency.

Reviewed by:  Tor.Egge@fast.no

24 years agoTrying to set BAD144 handling on a CD is sufficiently "Dont Do That
phk [Mon, 20 Sep 1999 17:06:29 +0000 (17:06 +0000)]
Trying to set BAD144 handling on a CD is sufficiently "Dont Do That
then" that we don't need to give the ioctl special treatment.

24 years agoAdd a DSO_BAD144 flag which indicates that the driver actually understand
phk [Mon, 20 Sep 1999 17:04:39 +0000 (17:04 +0000)]
Add a DSO_BAD144 flag which indicates that the driver actually understand
BAD144 handling.

Reject DIOCSBAD and labels with BAD144 tables if the driver cannot grok it.

Reviewed by:    bde

24 years agoif_edreg.h moved...
phk [Mon, 20 Sep 1999 16:59:55 +0000 (16:59 +0000)]
if_edreg.h moved...

24 years ago Fix bug in brelse() regarding redirtying buffers on B_ERROR. brelse()
dillon [Mon, 20 Sep 1999 16:19:24 +0000 (16:19 +0000)]
Fix bug in brelse() regarding redirtying buffers on B_ERROR.  brelse()
    improperly ignored the B_INVAL flag when acting on the B_ERROR.
    If both B_INVAL and B_ERROR are set the buffer is typically out of the
    underlying device's block range and must be destroyed.  If only B_ERROR
    is set (for a write), a write error occured and operation remains as it
    was before:  the buffer must be redirtied to avoid corrupting the
    filesystem state.

Reviewed by: David Greenman <dg@root.com>
Submitted by: Tor.Egge@fast.no

24 years agoReturn immediately from apm_suspend() when APM BIOS wasn't initialized.
iwasaki [Mon, 20 Sep 1999 15:29:23 +0000 (15:29 +0000)]
Return immediately from apm_suspend() when APM BIOS wasn't initialized.
Pressing Alt-Pause key will cause machine to reboot with apm disabled.

PR: i386/13817
Submitted by: yokota

24 years agoBig code cleanup. (Inspired by Brandon Gillespie). Also move as
markm [Mon, 20 Sep 1999 12:45:49 +0000 (12:45 +0000)]
Big code cleanup. (Inspired by Brandon Gillespie). Also move as
much as possible away from secure/ to make extending easier.

24 years agoMake this completely dependant on the exportable libcrypt, to avoid
markm [Mon, 20 Sep 1999 12:40:06 +0000 (12:40 +0000)]
Make this completely dependant on the exportable libcrypt, to avoid
duplication of effort. Also a large cleanup of the code, inspired
by Brandon Gillespie.

24 years agoThis file was never used and appears to be a leftover from the NetBSD
dfr [Mon, 20 Sep 1999 09:46:19 +0000 (09:46 +0000)]
This file was never used and appears to be a leftover from the NetBSD
bootstrap days.

24 years agoCorrect spelling : ascii -> ASCII
phantom [Mon, 20 Sep 1999 09:15:23 +0000 (09:15 +0000)]
Correct spelling : ascii -> ASCII

PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp

24 years agoYet another align.
ru [Mon, 20 Sep 1999 09:10:46 +0000 (09:10 +0000)]
Yet another align.
It will be required if sizeof(struct sockaddr_in) changes in the future.

Not objected to by: wollman

24 years agoGrrr. Okay, changing the devnames was a bad idea. Put them back the way
wpaul [Mon, 20 Sep 1999 08:47:11 +0000 (08:47 +0000)]
Grrr. Okay, changing the devnames was a bad idea. Put them back the way
they were.

24 years agoRemove the wait.1 manpage. There is no userland wait(1) utility, and the
sheldonh [Mon, 20 Sep 1999 08:45:43 +0000 (08:45 +0000)]
Remove the wait.1 manpage. There is no userland wait(1) utility, and the
manpage does not describe the builtin wait command provided by either
of the standard shells. There is already an entry for wait.1 in the
builtins.1 MLINKS list.

24 years agoFix the strings in the driver_t structs so that they match the new names
wpaul [Mon, 20 Sep 1999 08:14:39 +0000 (08:14 +0000)]
Fix the strings in the driver_t structs so that they match the new names
in the DRIVER_MODULES() declarations. *sigh*

24 years agoIf we don't appear to have a module loaded supporting the interface
msmith [Mon, 20 Sep 1999 07:58:08 +0000 (07:58 +0000)]
If we don't appear to have a module loaded supporting the interface
we're about to operate on, try to load one.  Don't complain if the
load fails, and always press on regardless (there may not be a module
suitable or required).

With the renaming of the PCI ethernet driver modules and the addition
of appropriate miibus dependancies on those modules that need it, it is
now no longer necessary to compile many ethernet drivers into the kernel;
they will be loaded on demand the first time they are ifconfig'ed.

Inspiration from: mount
Reviewed by: obrien

24 years agoOn PIIX4 based SMP systems use the PMTMR register for timecounting.
phk [Mon, 20 Sep 1999 07:52:39 +0000 (07:52 +0000)]
On PIIX4 based SMP systems use the PMTMR register for timecounting.

It is about 2.5 microseconds or roughly 3 times faster to use this
"PIIX" timecounter than the "i8254" timecounter.  Resolution is
also 3 times better.

The code cheats and don't register the PCI device, because other pieces
of code want to use it too.

Originally spotted by:  msmith

24 years agoGoofed and didn't change the second DRIVER_MODULE() linking these with
obrien [Mon, 20 Sep 1999 07:50:10 +0000 (07:50 +0000)]
Goofed and didn't change the second DRIVER_MODULE() linking these with
the miibus.

Noticed by: wpaul

24 years agoNetBSD has moved ``extern int errno;'' to signal.h :-/
brian [Mon, 20 Sep 1999 07:36:46 +0000 (07:36 +0000)]
NetBSD has moved ``extern int errno;'' to signal.h :-/

Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>

24 years agoNetBSD has changed the el_init() prototype
brian [Mon, 20 Sep 1999 07:22:22 +0000 (07:22 +0000)]
NetBSD has changed the el_init() prototype

Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>

24 years agoNetBSD requires net/if.h for the IFF_* defines (as well as OpenBSD) !
brian [Mon, 20 Sep 1999 07:18:50 +0000 (07:18 +0000)]
NetBSD requires net/if.h for the IFF_* defines (as well as OpenBSD) !

24 years agoChange the name we register with DRIVER_MODULE() to include the leading
obrien [Mon, 20 Sep 1999 06:50:52 +0000 (06:50 +0000)]
Change the name we register with DRIVER_MODULE() to include the leading
"if_".

Reviewed by: msmith, wpaul

24 years agoCommon Error libraries are needed here.
markm [Mon, 20 Sep 1999 06:23:16 +0000 (06:23 +0000)]
Common Error libraries are needed here.

24 years agoPrepare for K5.
markm [Mon, 20 Sep 1999 06:21:51 +0000 (06:21 +0000)]
Prepare for K5.

24 years agoChange the name of the installed KLM to contain a leading "if_".
obrien [Mon, 20 Sep 1999 06:11:48 +0000 (06:11 +0000)]
Change the name of the installed KLM to contain a leading "if_".
Except for miibus which is now installed as miibus.ko.

Discussed by: msmith, peter, and wpaul

24 years agoMake if_ed work again on pci, isa, isapnp. The hack to make it work on
peter [Mon, 20 Sep 1999 05:48:16 +0000 (05:48 +0000)]
Make if_ed work again on pci, isa, isapnp.  The hack to make it work on
PCCARD is pretty revolting but should buy us time while the pccard driver
angle is sorted out.  A commit for the MCA ed attachment will follow
shortly.

24 years agoAdd an alternate transmit strategy for 3c90xB adapters based on the transmit
wpaul [Mon, 20 Sep 1999 00:24:11 +0000 (00:24 +0000)]
Add an alternate transmit strategy for 3c90xB adapters based on the transmit
strategy used in the 3Com Linux driver. The new strategy is to use transmit
descriptor polling -- that is, the NIC polls the descriptors to see when
new packets are available for transmission. The advantage to the new scheme
is that no register accesses are needed in the transmit routine. The old
scheme requires several register accesses to stall the TX engine, update the
TX DMA list pointer register, then unstall the TX engine. Hopefully the new
scheme will provide improved transmit performance with less CPU overhead.

This only affects the 3c90xB or 3c90xC cards, not the 3c90x cards. This
means the original 3c900 and 3c905 cards are unaffected. Newer cards include
the 3c900B series, the 3c905B, 3c980, 3c980B, 3c905C and 3c905C, and the
3cSOHO100-TX OfficeConnect.

24 years agoRealTek driver module wasn't being built; add it to the Makefile.
wpaul [Sun, 19 Sep 1999 23:19:59 +0000 (23:19 +0000)]
RealTek driver module wasn't being built; add it to the Makefile.

24 years agoMake some small performance tweaks to the tl driver. This should hopefully
wpaul [Sun, 19 Sep 1999 22:39:24 +0000 (22:39 +0000)]
Make some small performance tweaks to the tl driver. This should hopefully
close PR #13757, however I'm waiting on user feedback before declaring the
PR officially closed. Among other things, this improves UDP transmit
performance, and tx underruns are now detected and the TX start threshold
adjusted accordingly.

24 years agoChange distribution to krb4 in preparation for K5.
markm [Sun, 19 Sep 1999 22:32:09 +0000 (22:32 +0000)]
Change distribution to krb4 in preparation for K5.

24 years agoPrepare for K5.
markm [Sun, 19 Sep 1999 22:30:39 +0000 (22:30 +0000)]
Prepare for K5.

24 years agoChange edistribution to krb4 in preaparation for K5
markm [Sun, 19 Sep 1999 22:26:02 +0000 (22:26 +0000)]
Change edistribution to krb4 in preaparation for K5

24 years agoFix for new KerberosFix for new Kerberos44
markm [Sun, 19 Sep 1999 22:14:33 +0000 (22:14 +0000)]
Fix for new KerberosFix for new Kerberos44

24 years agoFix for new Kerberos4.
markm [Sun, 19 Sep 1999 22:11:15 +0000 (22:11 +0000)]
Fix for new Kerberos4.

24 years agoFix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.
markm [Sun, 19 Sep 1999 22:05:32 +0000 (22:05 +0000)]
Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.

24 years agoConvert the VIA Rhine driver to miibus.
wpaul [Sun, 19 Sep 1999 22:03:31 +0000 (22:03 +0000)]
Convert the VIA Rhine driver to miibus.

24 years agoFixes for new Kerberos4. Userland to follow.
markm [Sun, 19 Sep 1999 22:00:58 +0000 (22:00 +0000)]
Fixes for new Kerberos4. Userland to follow.

24 years agoMerge anf fix for build.
markm [Sun, 19 Sep 1999 21:56:09 +0000 (21:56 +0000)]
Merge anf fix for build.

24 years agoAllow the AMD PHY driver to support the DM9101 PHY. The DM9101 and the
wpaul [Sun, 19 Sep 1999 21:56:08 +0000 (21:56 +0000)]
Allow the AMD PHY driver to support the DM9101 PHY. The DM9101 and the
AMD AM79c873 have identical registers. I'm not sure why; one is probably
a clone of the other.

24 years agoMake the firewall file variable space-safe.
green [Sun, 19 Sep 1999 21:32:42 +0000 (21:32 +0000)]
Make the firewall file variable space-safe.

24 years agolibdes is bmaked and built from src/crypto/... now.
markm [Sun, 19 Sep 1999 18:49:58 +0000 (18:49 +0000)]
libdes is bmaked and built from src/crypto/... now.

24 years agoAdd link syscons.4 -> sc.4
phantom [Sun, 19 Sep 1999 18:15:16 +0000 (18:15 +0000)]
Add link syscons.4 -> sc.4

PR: docs/13289

24 years ago"Disks" is more correct than "Disks" could be.
green [Sun, 19 Sep 1999 18:04:54 +0000 (18:04 +0000)]
"Disks" is more correct than "Disks" could be.

24 years agoFix typo
phantom [Sun, 19 Sep 1999 17:57:35 +0000 (17:57 +0000)]
Fix typo

PR: docs/13814
Submitted by: Alex Vasylenko <lxv@mix.nest.org>

24 years agoThis is what was "fdfix2.patch," a fix for fd sharing. It's pretty
green [Sun, 19 Sep 1999 17:00:25 +0000 (17:00 +0000)]
This is what was "fdfix2.patch," a fix for fd sharing.  It's pretty
far-reaching in fd-land, so you'll want to consult the code for
changes.  The biggest change is that now, you don't use
fp->f_ops->fo_foo(fp, bar)
but instead
fo_foo(fp, bar),
which increments and decrements the fp refcount upon entry and exit.
Two new calls, fhold() and fdrop(), are provided.  Each does what it
seems like it should, and if fdrop() brings the refcount to zero, the
fd is freed as well.

Thanks to peter ("to hell with it, it looks ok to me.") for his review.
Thanks to msmith for keeping me from putting locks everywhere :)

Reviewed by: peter

24 years agoThis commit was generated by cvs2svn to compensate for changes in r51415,
markm [Sun, 19 Sep 1999 14:19:32 +0000 (14:19 +0000)]
This commit was generated by cvs2svn to compensate for changes in r51415,
which included commits to RCS files with non-trunk default branches.

24 years agoClean import of KTH krb4-0.10.1.
markm [Sun, 19 Sep 1999 14:19:32 +0000 (14:19 +0000)]
Clean import of KTH krb4-0.10.1.

24 years agoBig OpenSSL/KTH/FreeBSD merge, badly poisoned by $FreeBSD$'s.
markm [Sun, 19 Sep 1999 13:04:49 +0000 (13:04 +0000)]
Big OpenSSL/KTH/FreeBSD merge, badly poisoned by $FreeBSD$'s.

24 years agoTwo more devstat_end_transaction() -> devstat_end_transaction_buf().
phk [Sun, 19 Sep 1999 12:43:34 +0000 (12:43 +0000)]
Two more devstat_end_transaction() -> devstat_end_transaction_buf().

24 years agoBring BDE's printf format error fixes into EGCS.
obrien [Sun, 19 Sep 1999 11:00:01 +0000 (11:00 +0000)]
Bring BDE's printf format error fixes into EGCS.

24 years agoBring our profiling tweaks into EGCS 1.1.2.
obrien [Sun, 19 Sep 1999 10:43:38 +0000 (10:43 +0000)]
Bring our profiling tweaks into EGCS 1.1.2.

24 years ago"COMMENT_BEGIN" is no longer used.
obrien [Sun, 19 Sep 1999 10:32:18 +0000 (10:32 +0000)]
"COMMENT_BEGIN" is no longer used.

24 years agoSupport linking against libgcc_r.
obrien [Sun, 19 Sep 1999 10:31:14 +0000 (10:31 +0000)]
Support linking against libgcc_r.

Submitted by: Luoqi Chen <luoqi@chen.ml.org>

24 years agoThis should get us the same functionality we had with GCC 2.7.2.1.
obrien [Sun, 19 Sep 1999 10:28:57 +0000 (10:28 +0000)]
This should get us the same functionality we had with GCC 2.7.2.1.

*  Support for our dual ELF/a.out building ability
*  Our custom ASM_* definitions
*  Our custom debugger and profiling related definitions
*  Our custom STARTFILE/ENDFILE specs

*  The stock EGCS 1.1.2 freebsd-elf.h file depended on
   egcs-1.1.2/gcc/config/linux.h, which included "svr4.h".  We will
   include "svr4.h" via our "tm.h" definition.  So add the few bits
   from "linux.h" we actually needed.

*  Using our current crtbegin.o/crtend.o we cannot support the DWARF2
   unwinding mechanisms.  In the future we will switch to the
   non-sjlj-exceptions type exception machanism.  However the `make world'
   bootstrap problems with the EGCS crtstuff.c must be overcome first.

*  Our a.out gas doesn't "know" to use NOP's for aligns while in the text
   section.  Thus the a.out alignment generation needed tweaking from
   what we did with GCC 2.7.2.  [from BDE]

*  The definition of SUPPORTS_ONE_ONLY prevents the compiler from trying
   to use "linkonce" sections for a.out.  The definition of
   NO_DBX_FUNCTION_END we had causes it to avoid .stabs symbols that the
   assembler cannot handle for a.out.  [from JDP]

*  The previous "EXCEPTION_SECTION_FUNCTION" is the wrong name for EGCS.
   It also needed tweaking for EGCS.  [from JDP]

Also bump __FreeBSD_cc_version to 400002 in case we need to know we are
using EGCS at some point.

24 years agoFix the "dsp sync" debugging printf that was unconditional. Fix a few
peter [Sun, 19 Sep 1999 09:53:57 +0000 (09:53 +0000)]
Fix the "dsp sync" debugging printf that was unconditional.  Fix a few
formatting nits/glitches/whatever.

24 years agoUse the stock EGCS version of this.
obrien [Sun, 19 Sep 1999 09:09:21 +0000 (09:09 +0000)]
Use the stock EGCS version of this.

24 years agoDocument the new i386 family options.
obrien [Sun, 19 Sep 1999 09:00:24 +0000 (09:00 +0000)]
Document the new i386 family options.

Obtained from: invoke.texi

24 years ago- Hang the scr_stat struct from dev_t.
yokota [Sun, 19 Sep 1999 08:58:53 +0000 (08:58 +0000)]
- Hang the scr_stat struct from dev_t.
- Remove sc_get_scr_stat().  It's not necessary anymore.
- Call ttymalloc() to allocate the struct tty for each vty, rather than
  statically declaring an array of struct tty.  We still need a statically
  allocated struct tty for the first vty which is used for the kernel
  console I/O, though.
- Likewise, call ttymalloc() for /dev/sysmouse and /dev/consolectl.
- Delete unnecessary test on the pointer struct tty *tp in some functions.
- Delete unused code in scmouse.c.

WARNING: this change requires you to recompile screen savers!

24 years agoDocument -Os optimization. Add to -O{0,2} documentation.
obrien [Sun, 19 Sep 1999 08:58:44 +0000 (08:58 +0000)]
Document -Os optimization.  Add to -O{0,2} documentation.

Obtained from: invoke.texi

24 years agoMerge revs 1.2-1.11 (doc fixes and updates to reflect reality) into the
obrien [Sun, 19 Sep 1999 08:56:04 +0000 (08:56 +0000)]
Merge revs 1.2-1.11 (doc fixes and updates to reflect reality) into the
EGCS 1.1.2 manpage.

24 years agoKASSERT that we cannot use M_WAITOK in interrupt context.
phk [Sun, 19 Sep 1999 08:40:11 +0000 (08:40 +0000)]
KASSERT that we cannot use M_WAITOK in interrupt context.

Reviewed by:  bde

24 years agoAdd a version number field to the jail(2) argument so that future changes
phk [Sun, 19 Sep 1999 08:36:37 +0000 (08:36 +0000)]
Add a version number field to the jail(2) argument so that future changes
can be handled intelligently.

WARNING:  you will need to reinstall #includes and recompile jail(8).

24 years agoAdd a version number field to the jail(2) argument so that future changes
phk [Sun, 19 Sep 1999 08:36:03 +0000 (08:36 +0000)]
Add a version number field to the jail(2) argument so that future changes
can be handled intelligently.

24 years agoMove an end-paren to its intended place.
phk [Sun, 19 Sep 1999 08:28:49 +0000 (08:28 +0000)]
Move an end-paren to its intended place.

24 years agoexecute a strategic clear.
jkh [Sun, 19 Sep 1999 08:24:32 +0000 (08:24 +0000)]
execute a strategic clear.

24 years agoMerge rev 1.2 docs fixes into EGCS 1.1.2's manpage.
obrien [Sun, 19 Sep 1999 08:18:18 +0000 (08:18 +0000)]
Merge rev 1.2 docs fixes into EGCS 1.1.2's manpage.

24 years ago- Preserve the content of the back scroll buffer when changing the
yokota [Sun, 19 Sep 1999 08:07:46 +0000 (08:07 +0000)]
- Preserve the content of the back scroll buffer when changing the
  video mode.

Requested by: a lot of people.
PR: kern/13764

24 years agoFix -s option.
yokota [Sun, 19 Sep 1999 08:04:07 +0000 (08:04 +0000)]
Fix -s option.

PR: bin/13799

24 years ago- Mention that the SC_PIXEL_MODE kernel option is required, in order
yokota [Sun, 19 Sep 1999 08:03:48 +0000 (08:03 +0000)]
- Mention that the SC_PIXEL_MODE kernel option is required, in order
  to use the VESA_800x600 raster text mode.
- Fix the list of recognized keywords; "40x25" is not recognized,
  but "VGA_40x25" is.

24 years agoDeal with new "auto" setting for network_interfaces.
jkh [Sun, 19 Sep 1999 07:46:55 +0000 (07:46 +0000)]
Deal with new "auto" setting for network_interfaces.

24 years agoMake `ed' PC-Cards work again. It has been over two weeks that laptop
obrien [Sun, 19 Sep 1999 07:24:07 +0000 (07:24 +0000)]
Make `ed' PC-Cards work again.  It has been over two weeks that laptop
users have suffered from this breakage, w/o commitment from someone that
they would fix the problems.

This effectively backs out revs 1.{157-160}.  It does however fix the
build problem that caused 1.157 to be committed.

If the changes from rev 1.156-1.160 can't be fully tested by the
committer, may I offer posting a diff in the freebsd-current mailing
list for broader testing before inflicting this breakage again.

24 years ago Fix BOOTP root FS mounts. Also cleanup vfs_getnewfsid() and collapse
dillon [Sun, 19 Sep 1999 06:24:21 +0000 (06:24 +0000)]
Fix BOOTP root FS mounts.  Also cleanup vfs_getnewfsid() and collapse
    addaliasu() into addalias() (no operational change) and clarify comments
    relating to a trick that vclean() uses.

    The fix to BOOTP is yet another hack.  Actually, rootfsid handling
    is already a major hack.  The whole thing needs to be cleaned up.

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

24 years agoThis adds support for the 3Com Megahertz 574B ethernet 16-bit PC-Card.
obrien [Sun, 19 Sep 1999 06:20:23 +0000 (06:20 +0000)]
This adds support for the 3Com Megahertz 574B ethernet 16-bit PC-Card.

   1) Reworked the probe routine
   2) Addition of the 574B's product ID.
   3) Added useful info when booting verbosely.

Submitted by: Jason Young <doogie@anet-stl.com>

24 years agoUpdate for GCC 2.95.1's bundled libf2c.
obrien [Sun, 19 Sep 1999 05:59:54 +0000 (05:59 +0000)]
Update for GCC 2.95.1's bundled libf2c.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r51384,
obrien [Sun, 19 Sep 1999 05:59:11 +0000 (05:59 +0000)]
This commit was generated by cvs2svn to compensate for changes in r51384,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of GCC 2.95.1's libf2c
obrien [Sun, 19 Sep 1999 05:59:11 +0000 (05:59 +0000)]
Virgin import of GCC 2.95.1's libf2c