]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoTidy up a few loose ends in the fifo setup code.
Peter Wemm [Thu, 18 Nov 1999 05:15:09 +0000 (05:15 +0000)]
Tidy up a few loose ends in the fifo setup code.
Don't use NFDC as an arbitary limit, it is not required and goes against
using PnP fdc devices (eg: when PNPBIOS is turned on, the motherboard
devices (sio, fdc, etc etc) are detected via PnP, not config(8).)

24 years agoUse a common MAKEDEV between the Alpha and i386 - the only differences
Peter Wemm [Thu, 18 Nov 1999 04:31:31 +0000 (04:31 +0000)]
Use a common MAKEDEV between the Alpha and i386 - the only differences
of significance were due to the Alpha version going stale.  We use common
device numbering for devices.  Hopefully, this file's days are numbered.

24 years agoFor now, disable umodem module building, because it doesn't. Don't
Brian Feldman [Thu, 18 Nov 1999 04:27:10 +0000 (04:27 +0000)]
For now, disable umodem module building, because it doesn't.  Don't
want to break the snapshots :)

24 years agoMove Alpha conflicting entries (98,99) to 135,136. Renumber the zsc
Peter Wemm [Thu, 18 Nov 1999 04:20:23 +0000 (04:20 +0000)]
Move Alpha conflicting entries (98,99) to 135,136.  Renumber the zsc
CDEV_MAJOR entry to match..  Is "ipr" in the tree?  I can't find it.

24 years agoDon't ask about SCO/IBSC2 binary support on the Alpha.
David E. O'Brien [Thu, 18 Nov 1999 03:03:01 +0000 (03:03 +0000)]
Don't ask about SCO/IBSC2 binary support on the Alpha.

24 years agoFor the TCP transport, put the listening socket in non-blocking
John Polstra [Thu, 18 Nov 1999 03:01:06 +0000 (03:01 +0000)]
For the TCP transport, put the listening socket in non-blocking
mode.  This addresses a well-known race condition that can cause
servers to hang in accept().  The relevant case is when somebody
connects to the server and then immediately kills the connection
by sending a TCP reset.  On the server this causes select to report
a ready condition on the socket, after which the accept call blocks
because there is no longer any pending connection to accept.

In -current there is already a work-around for this in the kernel.
It was merged into -stable some time ago, but then David Greenman
reverted it because it seemed to be causing a socket leak in some
cases.  (See uipc_socket.c revision 1.51.2.3.)  Hence this userland
fix is needed in -stable, and I plan to merge it into that branch
soon because it fixes a potential DoS attack.  It may also be needed
in -current if the suspected socket leak turns out to be real.  In
any case, after thinking it over I believe the fix belongs in
userland.  An application shouldn't assume that a ready return from
select guarantees that the subsequent I/O operation cannot block.
A lot can happen between the select and the accept.

A similar fix should most likely be applied to the Unix domain
socket transport too.

Submitted by: peter
Reviewed by: jdp

24 years agofix up a whitespace screwup I made.
Julian Elischer [Thu, 18 Nov 1999 01:23:06 +0000 (01:23 +0000)]
fix up a whitespace screwup I made.

24 years agoo Remove #if XXX from around the probe code.
Warner Losh [Wed, 17 Nov 1999 23:54:39 +0000 (23:54 +0000)]
o Remove #if XXX from around the probe code.
o Rewrite probe code to work in the newbus world.
o Add preliminary pnp support.  I have no clue what the pnp ids for
  the older ISA machines/cards.  I don't have any of these cards/machines
  so I'll have to rely on the user community to give me help.
o Minor code reformatting.

Attach hasn't been touched, and there may be some config issues that
we need to deal with as well.  These will follow in time.

24 years agoAllow octal or hex input.
Greg Lehey [Wed, 17 Nov 1999 23:42:09 +0000 (23:42 +0000)]
Allow octal or hex input.
Suggested-by: Geoff Steckel <gwes@sitaranetworks.com>

24 years agoAdd the entry for usb (as opposed to usb<number>). It's minor is equivalent
Nick Hibma [Wed, 17 Nov 1999 23:02:34 +0000 (23:02 +0000)]
Add the entry for usb (as opposed to usb<number>). It's minor is equivalent
to usb255 and will be used for the event queue of the usb daemon.

24 years agoChange the name of the modules from <name>_mod to <name>
Nick Hibma [Wed, 17 Nov 1999 22:47:11 +0000 (22:47 +0000)]
Change the name of the modules from <name>_mod to <name>

Suggested by: David O'Brien <obrien@FreeBSD.ORG>

24 years agoAdd network pass4 - after all local (/usr/local/etc/rc.d f.e.)
Andrey A. Chernov [Wed, 17 Nov 1999 22:38:02 +0000 (22:38 +0000)]
Add network pass4 - after all local (/usr/local/etc/rc.d f.e.)
daemons started. Move log_in_vain option there. It is needed to avoid
lot of connections to port 80 logged on production WWW server prior
Apache started from /usr/local/etc/rc.d

24 years agoSynchronisation with NetBSD as of 1999/11/16:
Nick Hibma [Wed, 17 Nov 1999 22:33:51 +0000 (22:33 +0000)]
Synchronisation with NetBSD as of 1999/11/16:

Cleaning up the code:
- Declare many functions static
- Change variable names to make them more self explanatory
- Change usbd_request_handle -> usbd_xfer_handle
- Syntactical changes
- Remove some unused code
- Other KNF changes

Interrupt context handling
- Change delay to usbd_delay_ms were possible (takes polling mode into
  account)
- Change detection mechanism for interrupt context

Add support for pre-allocation DMA-able memory by device driver

Add preliminary support for isochronous to the UHCI driver (not for OHCI
yet).

usb.c, uhci.c, ohci.c
- Initial attempt at detachable USB host controllers
- Handle the use_polling flag with a lttle more care and only set it if
we are cold booting.

usb.c, uhci.c ohci.c, usbdi.c usbdi_util.c usb_subr.c
- Make sure an aborted pipe is marked as not running.
- Start queued request in the right order.
- Insert some more DIAGNOSTIC sanity checks.
- Remove (almost) unused definitions USBD_XFER_OUT and USBD_XFER_IN.

usb.c, usb_subr.c
- Add an event mechanism so that a userland process can watch devices
  come and go.

ohci.c
- Handle the case when a USB transfer is so long that it crosses two
  page (4K) boundaries.  OHCI cannot do that with a single TD so we make
  a chain.

ulpt.c
- Use a bigger buffer when transferring data.
- Pre-allocate the DMA buffer.  This makes the driver slightly more
  efficient.
- Comment out the GET_DEVICE_ID code, because for some unknown reason it
  causes printing to fail sometimes.

usb.h
- Add a macro to extract the isoc type.
- Add a macro to check whether the routine has been entered after splusb
  and if not, complain.

usbdi.c
- Fix a glitch in dequeueing and aborting requests on interrupt pipes.
- Add a flag in the request to determine if the data copying is done by
  the driver or the usbdi layer.

24 years ago"b_unused1" was.
Poul-Henning Kamp [Wed, 17 Nov 1999 21:43:00 +0000 (21:43 +0000)]
"b_unused1" was.

Fix comment for b_caller[12] fields.

Spotted by:     grog

24 years agoDo timeouts in terms of hz
Poul-Henning Kamp [Wed, 17 Nov 1999 21:40:14 +0000 (21:40 +0000)]
Do timeouts in terms of hz

Spotted by:     julian

24 years agoMake proc/*/cmdline use the cached argv if available.
Poul-Henning Kamp [Wed, 17 Nov 1999 21:35:07 +0000 (21:35 +0000)]
Make proc/*/cmdline use the cached argv if available.

Submitted by:   Paul Saab <paul@mu.org>
Reviewed by:    phk

24 years agoThe function `procfs_getattr()' in procfs doesn't set the value of
Poul-Henning Kamp [Wed, 17 Nov 1999 21:33:25 +0000 (21:33 +0000)]
The function `procfs_getattr()' in procfs doesn't set the value of
vap->va_fsid, so we cannot get valid information about procfs.

Submitted by:   SAWADA Mizuki miz@pa.aix.or.jp
Reviewed by:    phk
PR:     1654

24 years agomodfind(char *) -> modfind(const char *)
Brian Somers [Wed, 17 Nov 1999 21:32:40 +0000 (21:32 +0000)]
modfind(char *) -> modfind(const char *)

Reminded by: dfr

24 years agoFix ``set proctitle'' by using setproctitle().
Brian Somers [Wed, 17 Nov 1999 21:12:35 +0000 (21:12 +0000)]
Fix ``set proctitle'' by using setproctitle().

24 years agoMake setproctitle(NULL) restore all of the original arguments
Brian Somers [Wed, 17 Nov 1999 21:12:17 +0000 (21:12 +0000)]
Make setproctitle(NULL) restore all of the original arguments
(if it's able).

24 years agoThe logic for blackhole processing does not free mbufs if the
Poul-Henning Kamp [Wed, 17 Nov 1999 20:57:49 +0000 (20:57 +0000)]
The logic for blackhole processing does not free mbufs if the
blackhole flag is set.

PR: 14958
Submitted by: Larry Baird <lab@gta.com>
Reviewed by: phk

24 years agopurity change for name length checking code
Andrey A. Chernov [Wed, 17 Nov 1999 20:51:35 +0000 (20:51 +0000)]
purity change for name length checking code

24 years agoMerge with OpenBSD whois (with bugfixes missed there)
Andrey A. Chernov [Wed, 17 Nov 1999 19:11:51 +0000 (19:11 +0000)]
Merge with OpenBSD whois (with bugfixes missed there)

New features are:
Automatic lookup using *.whois-servers.net
Recursive lookup using Registrar's name
Fallback to InterNIC for non-domains
-m for RADB database
-Q to turn recursion/fallback off

Obtained from: OpenBSD

24 years agogcc 2.95.2
Warner Losh [Wed, 17 Nov 1999 18:06:56 +0000 (18:06 +0000)]
gcc 2.95.2

24 years agoWhen allocating a new PKTHDR mbuf, always set m->m_pkthdr.rcvif = NULL.
Archie Cobbs [Wed, 17 Nov 1999 17:41:22 +0000 (17:41 +0000)]
When allocating a new PKTHDR mbuf, always set m->m_pkthdr.rcvif = NULL.

24 years agoFix a couple of boo-boos in the last delta.
Matt Jacob [Wed, 17 Nov 1999 17:11:21 +0000 (17:11 +0000)]
Fix a couple of boo-boos in the last delta.

24 years agoThe pipleline problem introduced in version 1.22 wasn't fully fixed in
Martin Cracauer [Wed, 17 Nov 1999 16:53:34 +0000 (16:53 +0000)]
The pipleline problem introduced in version 1.22 wasn't fully fixed in
1.23. This revision should work for long pipes both in
here-documents/backquote and in normal cases.

Fix works for jmz, bde.

24 years agoReduce max length of user names to 15 characters to reflect reality.
David Nugent [Wed, 17 Nov 1999 16:31:51 +0000 (16:31 +0000)]
Reduce max length of user names to 15 characters to reflect reality.
This also prevents the line-wrap and messed up display that occurs
when there happens to be one or more names with 15 chars.

24 years agoBuild genrtl.h before print-rtl.o.
David E. O'Brien [Wed, 17 Nov 1999 15:50:45 +0000 (15:50 +0000)]
Build genrtl.h before print-rtl.o.

Submitted by: John Hay <jhay@mikom.csir.co.za> (basic idea, changed by me)

24 years agoUse the same technique as ps(1) to avoid the need for setgid. (ie: use
Peter Wemm [Wed, 17 Nov 1999 15:28:45 +0000 (15:28 +0000)]
Use the same technique as ps(1) to avoid the need for setgid.  (ie: use
/dev/null as the default kernel and /dev/mem filenames, but still allow
the usual overrides)

24 years agoI'm probably jumping the gun, but what the heck, this is -current.
Peter Wemm [Wed, 17 Nov 1999 13:37:30 +0000 (13:37 +0000)]
I'm probably jumping the gun, but what the heck, this is -current.
Turn off setgid-kmem for /bin/ps, it's now quite functional without it.
ps no longer needs /dev/*mem or /proc.  (It will still use some /proc
files if they are available for -e, but it's not required, so it'll
happily run in a jail or chroot).

The proc stats are now part of eproc (obtained via sysctl) and no longer
needs to beat up the u-page reading code and the problems with that.

This also has the side effect of disabling 'ps -e' for normal users
*EXCEPT* when looking at their own processes.  ie: they can see
environments in processes with their uid, enforced by the ownership of
/proc/*/mem.  Root can still see them all, as it can open all /proc/*/mem.

24 years agoUse eproc.e_stats, not a series of crude hacks to fetch it from the u-area.
Peter Wemm [Wed, 17 Nov 1999 12:52:42 +0000 (12:52 +0000)]
Use eproc.e_stats, not a series of crude hacks to fetch it from the u-area.
Also, fix some indentation that got messed up somehow..

24 years agoAdd e_stats (p->p_stats, from struct user->u_stats) to eproc so it's
Peter Wemm [Wed, 17 Nov 1999 12:49:22 +0000 (12:49 +0000)]
Add e_stats (p->p_stats, from struct user->u_stats) to eproc so it's
fetchable via sysctl.  This saves ps having to read the u-area for stats.
Be sure to recompile libkvm, ps, w, top and the usual suspects.

24 years agoFix invalid option name: DIVERT -> IPDIVERT
Alexey Zelkin [Wed, 17 Nov 1999 12:34:35 +0000 (12:34 +0000)]
Fix invalid option name: DIVERT -> IPDIVERT

24 years agoAdd perlopentut.pod, perlreftut.pod and perlthrtut.pod to the list of
Sheldon Hearn [Wed, 17 Nov 1999 12:22:51 +0000 (12:22 +0000)]
Add perlopentut.pod, perlreftut.pod and perlthrtut.pod to the list of
pod files to be converted to and installed as manual pages.

These were probably overlooked in the last minor version number upgrade
to perl5.  This change was approved by the perl5 maintainer.

PR: 14649
Submitted by: Andy Farkas <andyf@speednet.com.au>

24 years agoAllow sub-Makefile's to determine the version of the OS we are make'ing on.
David E. O'Brien [Wed, 17 Nov 1999 07:42:40 +0000 (07:42 +0000)]
Allow sub-Makefile's to determine the version of the OS we are make'ing on.

24 years agoAdd `mkstemp.c' to the mix if we are building on something older than
David E. O'Brien [Wed, 17 Nov 1999 07:39:51 +0000 (07:39 +0000)]
Add `mkstemp.c' to the mix if we are building on something older than
__FreeBSD_version < 400004.

This allows -STABLE to build -CURRENT sources.

[mkstemps() was added to -current just before the version bump to 400004
(a matter of hours in this case), so the test is as exact as possible.]

Submitted by: marcel

24 years agoMake "-mpreferred-stack-boundary=2" the default on the i386.
David E. O'Brien [Wed, 17 Nov 1999 07:30:35 +0000 (07:30 +0000)]
Make "-mpreferred-stack-boundary=2" the default on the i386.
This reduces the size of the kernel and modules when compiled with GCC 2.95.

24 years agoPay attention to the "KEEP THIS IN SYNC" comment, and sync the `tm.h'
David E. O'Brien [Wed, 17 Nov 1999 07:20:27 +0000 (07:20 +0000)]
Pay attention to the "KEEP THIS IN SYNC" comment, and sync the `tm.h'
header with src/gcc/usr.bin/cc/cc_tools/Makefile.

24 years ago* Remove a trailing ";" from a macro.
David E. O'Brien [Wed, 17 Nov 1999 07:18:25 +0000 (07:18 +0000)]
* Remove a trailing ";" from a macro.
* Style cleanup.

24 years agoThis temperary file can die now.
David E. O'Brien [Wed, 17 Nov 1999 07:03:32 +0000 (07:03 +0000)]
This temperary file can die now.

24 years agoFix for 11815 (at mount time do a throwaway read of the front of the
Matt Jacob [Wed, 17 Nov 1999 06:05:09 +0000 (06:05 +0000)]
Fix for 11815 (at mount time do a throwaway read of the front of the
tape to force the drive to do a media access so it knows what media
may be inserted).

Also Ken's make_dev patches- relatively untested.

24 years agoGet rid of some trailing commas in enumerated types that cause gcc to
Kenneth D. Merry [Wed, 17 Nov 1999 05:06:52 +0000 (05:06 +0000)]
Get rid of some trailing commas in enumerated types that cause gcc to
complain when some warnings are turned on.

Requested by: Bertrand Petit <elrond@phoe.frmug.org>

24 years agoConvert the xpt, pass, pt and target drivers to use the new
Kenneth D. Merry [Wed, 17 Nov 1999 04:59:09 +0000 (04:59 +0000)]
Convert the xpt, pass, pt and target drivers to use the new
make_dev()/destroy_dev() interface.

24 years agoPut the listening socket into non-blocking mode before doing an
Peter Wemm [Wed, 17 Nov 1999 03:32:05 +0000 (03:32 +0000)]
Put the listening socket into non-blocking mode before doing an
accept(2).  This is a not really problem on -current as the accept race
is fixed, however it is a MFC candidate for -stable.

This could possibly be slightly more efficient and leave the listening
socket permanently in non-blocking mode, but I wasn't certain that I
could catch all the stream/wait (not nowait) mode implications.

24 years agoFixed sorting on time. On i386's, time differences of more than 2147
Bruce Evans [Wed, 17 Nov 1999 03:25:54 +0000 (03:25 +0000)]
Fixed sorting on time.  On i386's, time differences of more than 2147
seconds caused overflow.  Use a type-safe but slightly slower comparison.
Comparisons for other fields are still fragile.

Fixed rounding of cputime (don't do extra work to get it slightly wrong
by first converting without rounding to milliseconds).

Removed dead code for setting cputime.

Fixed comments about cputime.

24 years agoFix a bug in the hack that protects against FTP bounce attacks.
John Polstra [Wed, 17 Nov 1999 01:54:17 +0000 (01:54 +0000)]
Fix a bug in the hack that protects against FTP bounce attacks.
It used to loop back up to the accept() call and block there,
shutting out all other transports until a new connection came in.
Now it returns instead after dropping the connection.  That will
take it back to the select() loop where all transports can be
serviced.  I intend to MFC this within a day or two since it
fixes a DoS vulnerability.

24 years agoRemove -O from CFLAGS
Nick Hibma [Wed, 17 Nov 1999 01:40:24 +0000 (01:40 +0000)]
Remove -O from CFLAGS

24 years agoDon't complain loudly about unknown termcap capabilities, eg:
Peter Wemm [Wed, 17 Nov 1999 01:01:02 +0000 (01:01 +0000)]
Don't complain loudly about unknown termcap capabilities, eg:
{vladivostok:/usr/home/ken:1:0} echo |more
"TERMCAP", line 0, col 60, terminal 'screen': unknown capability 'G0'
"TERMCAP", line 0, col 806, terminal 'screen': unknown capability 'AX'

Submitted by: Kenneth D. Merry <ken@kdm.org>

24 years agoAdd option NETGRAPH_KSOCKET.
Archie Cobbs [Tue, 16 Nov 1999 23:49:07 +0000 (23:49 +0000)]
Add option NETGRAPH_KSOCKET.

24 years agoAdd option NETGRAPH_KSOCKET.
Archie Cobbs [Tue, 16 Nov 1999 23:30:05 +0000 (23:30 +0000)]
Add option NETGRAPH_KSOCKET.

24 years agoAdd reference to new netgraph node type "ksocket".
Archie Cobbs [Tue, 16 Nov 1999 23:27:37 +0000 (23:27 +0000)]
Add reference to new netgraph node type "ksocket".

24 years agoNew Netgraph node type "ksocket".
Archie Cobbs [Tue, 16 Nov 1999 23:27:10 +0000 (23:27 +0000)]
New Netgraph node type "ksocket".

Obtained from:  Whistle source tree

24 years agoNew netgraph node type "ksocket".
Archie Cobbs [Tue, 16 Nov 1999 23:25:11 +0000 (23:25 +0000)]
New netgraph node type "ksocket".

Obtained from: Whistle source tree

24 years agoTypo
Nick Hibma [Tue, 16 Nov 1999 22:02:16 +0000 (22:02 +0000)]
Typo

24 years agoAdd the USB modules.
Nick Hibma [Tue, 16 Nov 1999 22:00:46 +0000 (22:00 +0000)]
Add the USB modules.

24 years agoRemove some extraneous ifdefs, and don't try to put the socket in
Brian Somers [Tue, 16 Nov 1999 21:57:48 +0000 (21:57 +0000)]
Remove some extraneous ifdefs, and don't try to put the socket in
O_NONBLOCK.  The select() is the best best as I don't want to muck
about with the send/receive thresholds.

24 years agoUse modfind() to check if a kld is already loaded.
Brian Somers [Tue, 16 Nov 1999 21:57:34 +0000 (21:57 +0000)]
Use modfind() to check if a kld is already loaded.

Submitted mostly by: green

24 years agomodfind(char *) -> modfind(const char *)
Brian Somers [Tue, 16 Nov 1999 21:51:35 +0000 (21:51 +0000)]
modfind(char *) -> modfind(const char *)

Ok'd by: dfr

24 years agoIntroduce commandline caching in the kernel.
Poul-Henning Kamp [Tue, 16 Nov 1999 20:31:58 +0000 (20:31 +0000)]
Introduce commandline caching in the kernel.

This fixes some nasty procfs problems for SMP, makes ps(1) run much faster,
and makes ps(1) even less dependent on /proc which will aid chroot and
jails alike.

To disable this facility and revert to previous behaviour:
        sysctl -w kern.ps_arg_cache_limit=0

For full details see the current@FreeBSD.org mail-archives.

24 years agoAdd Nokia Cellular Data Card DTP2 and DTP-2 ver II
Roger Hardiman [Tue, 16 Nov 1999 17:44:31 +0000 (17:44 +0000)]
Add Nokia Cellular Data Card DTP2 and DTP-2 ver II

24 years agoAdded $FreeBSD$ idents.
Josef Karthauser [Tue, 16 Nov 1999 17:27:07 +0000 (17:27 +0000)]
Added $FreeBSD$ idents.

24 years agoAdded $FreeBSD$ tags.
Josef Karthauser [Tue, 16 Nov 1999 17:16:18 +0000 (17:16 +0000)]
Added $FreeBSD$ tags.

24 years agoCommit the remaining part of PR14914:
Poul-Henning Kamp [Tue, 16 Nov 1999 16:28:58 +0000 (16:28 +0000)]
Commit the remaining part of PR14914:

   Alot of the code in sys/kern directly accesses the *Q_HEAD and *Q_ENTRY
   structures for list operations.  This patch makes all list operations
   in sys/kern use the queue(3) macros, rather than directly accessing the
   *Q_{HEAD,ENTRY} structures.

Reviewed by:    phk
Submitted by:   Jake Burkholder <jake@checker.org>
PR:     14914

24 years agoFix usage of m_pullup().
Bill Paul [Tue, 16 Nov 1999 15:34:52 +0000 (15:34 +0000)]
Fix usage of m_pullup().

24 years agoMchines whose interrupts are not routed through the ISA pic were still
Andrew Gallatin [Tue, 16 Nov 1999 14:01:12 +0000 (14:01 +0000)]
Mchines whose interrupts are not routed through the ISA pic were still
registering their interrupts with rman as though they were going through
the ISA pic.  This prevents a conflict between isa & pci for irqs on such
machines.

Also hookup the chipset struct before calling platform.pci_intr_init().
This allows me to call inw/outw down in the platform code.

Add interrupt printfs to match the CIA chipset.

Reviewed by: dfr
Tested by: wilko

24 years agoFixed to compile bs driver with gcc 2.95.2.
Yoshihiro Takahashi [Tue, 16 Nov 1999 12:28:28 +0000 (12:28 +0000)]
Fixed to compile bs driver with gcc 2.95.2.

24 years agoSync with sys/i386/isa/pcaudio.c revision 1.57.
Yoshihiro Takahashi [Tue, 16 Nov 1999 12:21:14 +0000 (12:21 +0000)]
Sync with sys/i386/isa/pcaudio.c revision 1.57.

24 years agoFix breakage in previous commit.
Marcel Moolenaar [Tue, 16 Nov 1999 12:10:29 +0000 (12:10 +0000)]
Fix breakage in previous commit.

24 years agoFixed warnings.
Yoshihiro Takahashi [Tue, 16 Nov 1999 11:59:19 +0000 (11:59 +0000)]
Fixed warnings.

24 years agoRemove -mno-486 option and add -mpreferred-stack-boundary=2 option.
Yoshihiro Takahashi [Tue, 16 Nov 1999 11:56:38 +0000 (11:56 +0000)]
Remove -mno-486 option and add -mpreferred-stack-boundary=2 option.

24 years agoFix breakage in previous commit.
Marcel Moolenaar [Tue, 16 Nov 1999 11:55:58 +0000 (11:55 +0000)]
Fix breakage in previous commit.

24 years agoFix breakage by previous commit.
Marcel Moolenaar [Tue, 16 Nov 1999 11:49:21 +0000 (11:49 +0000)]
Fix breakage by previous commit.

24 years agoFix breage by previous commit
Marcel Moolenaar [Tue, 16 Nov 1999 11:47:40 +0000 (11:47 +0000)]
Fix breage by previous commit

24 years agoRemove unsupported hardstatus related terminal capabilities for the
Joseph Koshy [Tue, 16 Nov 1999 11:01:19 +0000 (11:01 +0000)]
Remove unsupported hardstatus related terminal capabilities for the
'xterm' entry.

PR: misc/12209
Submitted by: Christian Weisgerber

24 years agoThis is a partial commit of the patch from PR 14914:
Poul-Henning Kamp [Tue, 16 Nov 1999 10:56:05 +0000 (10:56 +0000)]
This is a partial commit of the patch from PR 14914:

   Alot of the code in sys/kern directly accesses the *Q_HEAD and *Q_ENTRY
   structures for list operations.  This patch makes all list operations
   in sys/kern use the queue(3) macros, rather than directly accessing the
   *Q_{HEAD,ENTRY} structures.

This batch of changes compile to the same object files.

Reviewed by:    phk
Submitted by:   Jake Burkholder <jake@checker.org>
PR:     14914

24 years agoAdd type int to those variables without a type. This is caused by the
Marcel Moolenaar [Tue, 16 Nov 1999 10:26:38 +0000 (10:26 +0000)]
Add type int to those variables without a type. This is caused by the
frequent use of ``register var'' instead of ``register int var'' and
the removal of the register hint in the previous commit.

24 years agoSync our register usage with NetBSD's (non-)usage.
Bill Fumerola [Tue, 16 Nov 1999 02:58:06 +0000 (02:58 +0000)]
Sync our register usage with NetBSD's (non-)usage.

24 years agoAdd $FreeBSD$
Bill Fumerola [Tue, 16 Nov 1999 02:45:03 +0000 (02:45 +0000)]
Add $FreeBSD$

24 years agoCurchill --> Churchill
Josef Karthauser [Tue, 16 Nov 1999 01:03:12 +0000 (01:03 +0000)]
Curchill --> Churchill

The submitter also posted a change to 'fortunes.sp.ok', but it
looks like this file is no longer needed in our version so I've
left the typo in the file.  (It also doesn't have a $FreeBSD$ tag,
and I couldn't easily find in the code whether it will allow comments
within it or not.)

PR: 14832
Submitted by: mfisher@parsons.rh.rit.edu

24 years agoCosmetic changes.
Yoshihiro Takahashi [Tue, 16 Nov 1999 00:42:18 +0000 (00:42 +0000)]
Cosmetic changes.

24 years agoInstall loader.rc.
Yoshihiro Takahashi [Tue, 16 Nov 1999 00:38:20 +0000 (00:38 +0000)]
Install loader.rc.

24 years agothis is a full fix for writes not aligned to the sample size selected.
Cameron Grant [Mon, 15 Nov 1999 23:57:33 +0000 (23:57 +0000)]
this is a full fix for writes not aligned to the sample size selected.
should be a no-op in most cases.

24 years agoRemoved the asm version of conv(). This is should be faster in its new
David E. O'Brien [Mon, 15 Nov 1999 23:27:40 +0000 (23:27 +0000)]
Removed the asm version of conv().  This is should be faster in its new
C form.  See src/sys/i386/isa/sound/audio.c rev.1.23

Submitted by: bde

24 years agoset default ogain to 50 since some sb cards produce no sound at 0
Cameron Grant [Mon, 15 Nov 1999 23:22:52 +0000 (23:22 +0000)]
set default ogain to 50 since some sb cards produce no sound at 0

24 years agoFix __asm__ clobber list abuses.
David E. O'Brien [Mon, 15 Nov 1999 23:20:56 +0000 (23:20 +0000)]
Fix __asm__ clobber list abuses.

24 years agoFix __asm__ clobber list abuse.
David E. O'Brien [Mon, 15 Nov 1999 23:16:06 +0000 (23:16 +0000)]
Fix __asm__ clobber list abuse.

Submitted by: bde

24 years ago* remove i386 specific mark
Alexey Zelkin [Mon, 15 Nov 1999 23:14:32 +0000 (23:14 +0000)]
* remove i386 specific mark
* some style and syntax fixes
* some duplicated $FreeBSD$ tags removed

24 years agoDeactivate manpages repo-copied to man4 directory (all these drivers
Alexey Zelkin [Mon, 15 Nov 1999 23:10:44 +0000 (23:10 +0000)]
Deactivate manpages repo-copied to man4 directory (all these drivers
not i386 specific anymore -- move them to appropriate place)

24 years agoUpdate the ASCII diagram for FreeBSD 3.3
Chris Costello [Mon, 15 Nov 1999 23:09:34 +0000 (23:09 +0000)]
Update the ASCII diagram for FreeBSD 3.3

24 years agoActivate manpages repo-copied from man4.i386.
Alexey Zelkin [Mon, 15 Nov 1999 23:05:18 +0000 (23:05 +0000)]
Activate manpages repo-copied from man4.i386.

24 years agoAdd some more comments to the sl_compress_tcp() function.
Archie Cobbs [Mon, 15 Nov 1999 20:17:04 +0000 (20:17 +0000)]
Add some more comments to the sl_compress_tcp() function.

24 years agoFix aliasing bug causing in_cksum() to fail on odd packet sizes
Pierre Beyssac [Mon, 15 Nov 1999 20:04:53 +0000 (20:04 +0000)]
Fix aliasing bug causing in_cksum() to fail on odd packet sizes
due to compiler optimization.

PR: bin/13292
Suggested by: wollman

24 years agoMore bug fixes for the VJ Compression node. Seems to work now (really).
Archie Cobbs [Mon, 15 Nov 1999 20:02:58 +0000 (20:02 +0000)]
More bug fixes for the VJ Compression node. Seems to work now (really).

24 years agoSegment registers can be read(write) to(from) memory locations as well as
Luoqi Chen [Mon, 15 Nov 1999 19:45:19 +0000 (19:45 +0000)]
Segment registers can be read(write) to(from) memory locations as well as
general registers.

24 years agoFix a minor bogon.
David E. O'Brien [Mon, 15 Nov 1999 19:26:58 +0000 (19:26 +0000)]
Fix a minor bogon.

24 years ago add two more codes to ICMP error 12 (Parameter Problem).
Jonathan M. Bresler [Mon, 15 Nov 1999 18:27:30 +0000 (18:27 +0000)]
add two more codes to ICMP error 12 (Parameter Problem).
these two are detailed in RFC1700.

Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>

24 years agoRemove CROSS_MAKE_FLAGS.
Marcel Moolenaar [Mon, 15 Nov 1999 17:07:45 +0000 (17:07 +0000)]
Remove CROSS_MAKE_FLAGS.

24 years agoFix a typo in the DRIVER_MODULE() declaration which caused a collision
Peter Wemm [Mon, 15 Nov 1999 17:03:30 +0000 (17:03 +0000)]
Fix a typo in the DRIVER_MODULE() declaration which caused a collision
with the real mss module.

24 years agoRemove duplicate entry for ADS7180 - it's meant to be handled by the
Peter Wemm [Mon, 15 Nov 1999 17:02:32 +0000 (17:02 +0000)]
Remove duplicate entry for ADS7180  - it's meant to be handled by the
forked-off ad1816 driver.