Commit graph

43578 commits

Author SHA1 Message Date
Matt Jacob cda9006f07 minor comment update 1999-12-13 19:40:00 +00:00
Andrey A. Chernov 6d98baad02 Fix bug with internal functions when locale is active
PR:		15370
Reviewed by:	no responce from maintainer
Obtained from:	perl development sources
1999-12-13 19:11:53 +00:00
Brian Somers 9acc846078 Handle PPPoPTY correctly. 1999-12-13 18:45:21 +00:00
Warner Losh fda36f2fa5 Add notes from recent HEADS UP messages:
o soren updated the ata driver.  Please use 1213 or newer if
	  you have problems with the old stuff.
	o Enshrine the night of bared axes against wd.  Strongly push
	  users to move to ata driver.
	o Alpha users need to recompile klds after 11/29.
	o Mention the sound driver bridge code commit of 11/22.
	o change examples in 1205 entry from wd to ad.
	o Talk about new dc driver replacing all of the drivers that
	  Bill Paul has ever written.[*]

Corrections to these entries welcome.

[*] Well, at least those based on tulip clones...
1999-12-13 17:55:23 +00:00
Matthew Dillon 1e64c256dc Add a readahead heuristic to the NFS server side code. While the server
cannot unilaterally pass data to a client it can reduce the physical
    disk transaction overhead by reading larger blocks.  This results in
    better pipelining of requests/responses over the network and an almost
    100% increase in cpu efficiency on the server.  On a 100BaseTX network
    NFS read performance increases from 8.5 MBytes/sec to 10 MB/sec (maxed
    out), and cpu efficiency increases from 72% idle to 80% idle on the server.

Reviewed by:	Alfred Perlstein <bright@wintelcom.net>
1999-12-13 17:34:45 +00:00
Matthew Dillon be0c139ac2 Forgot a log message in the last commit. Fix an mbuf leak in
nfs_srvcache.c related duplicate requests on a heavily loaded
    server.  If a duplicate request is received while the previous
    request is still being processed from the cache, the previous
    mbuf chain in the cache will be replaced without first being freed.

PR:		kern/15222
1999-12-13 17:09:34 +00:00
Matthew Dillon c9940d3b84 PR: kern/15222
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
1999-12-13 17:07:03 +00:00
Alexey Zelkin 8ca720cfae Add simple manual page for amd driver
Requested by: folks on fido7.ru.unix.bsd
1999-12-13 17:00:59 +00:00
Boris Popov 5e04586968 Add module for if_ef driver and make it compile. 1999-12-13 16:42:17 +00:00
Sheldon Hearn 3b08a8bbe7 Add a warning about the perils of using an older version of sysinstall
to upgrade to a newer version of FreeBSD.

PR:		12777
Reported by:	wayne@staff.msen.com (Michael R. Wayne)
1999-12-13 16:30:55 +00:00
Boris Popov 4f93599fba Bring up an if_ef driver which allows support for four ethernet
frame types. Currently it supports only IPX protocol and doesn't
affect existing functionality when not loaded.

Reviewed by:	Ollivier Robert <roberto@keltia.freenix.fr>
1999-12-13 16:24:22 +00:00
Boris Popov 8b7805e44e Allow ifunit() routine to understand names like ed0f2. Also
fix a bug caused by using bcmp() instead of strcmp().

Reviewed by:	Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1999-12-13 15:57:11 +00:00
Peter Wemm d5756b2599 Oops. HAVE_INET6_STRUCTS was supposed to be HAS_INET6_STRUCTS. Luckily
it was implicitly on because we had AF_INET6 defined.
1999-12-13 15:43:32 +00:00
KATO Takenori 012ec02313 Merge from sys/i386/conf/files.i386 rev 1.289.
Submitted by:	yokota
1999-12-13 14:57:51 +00:00
Ollivier Robert cc5592707f Please welcome the brand new ntp4 daemon & utilities in the FreeBSD tree.
This is the second part of the commit (the third -- link in usr.sbin/Makefile)
will be done after a more complete review by phk & obrien.

NOTE: the number of drivers included in the default configuration is very
minimal, mainly local clocks and the one I use RAWDCF. Anyone wanting to
have a more complete version will find recompilation very easy.

It builds and runs on both alpha & i386. It also does survive "make world".

Reviewed by:	phk, obrien (partly)
1999-12-13 14:09:56 +00:00
KATO Takenori 7a32bd78a7 Merge from sys/dev/kbd/kbd.c rev 1.13.
Submitted by:	yokota
1999-12-13 13:19:38 +00:00
KATO Takenori a6b0e95eef Merge from sys/dev/syscons/syscons.c rev 1.330. 1999-12-13 13:17:24 +00:00
KATO Takenori 33dc682a2c Merge from sys/i386/conf/Makefile.i386 rev 1.166. 1999-12-13 13:15:32 +00:00
Kazutaka YOKOTA 83c5d22d61 - Pull in kbd.c when sc or vt is included in the kernel, even if
no keyboard driver is defined in the kernel config file.
1999-12-13 13:01:00 +00:00
Andrzej Bialecki 4c9d1e5462 Document VGLGetXY and VGLSetXY functions.
Reviewed by:	sos
1999-12-13 10:48:22 +00:00
Kazutaka YOKOTA 7a4803c7f6 - Add a module event function to the ukbd driver and make the ukbd KLD
module work.
- Delete unnecessary #include.
1999-12-13 10:36:36 +00:00
Søren Schmidt 54ecff8b84 Add DMA support for the SiS 5591 and old PIIX chipsets.
Add a missing DELAY(1) in ata_wait.

Change the info from ad_version, so the ATA version from the disk can
be used to quantify the DAM modes valid for this drive, ie be more
selective with turning DMA on on older disks that should not support it..

Fix the probe for BIOS enabled DMA in the generic case, master/slave
was reversed in the test.

Check the return for ata_command in all cases, and print warnings if
it fails.

Call ata_dmainit with all dmamodes off when falling back to PIO mode,
that should take care of both the Promise & HPT366 controllers not
being able to handle the fallback...

Cleanup the printf's in the drivers, use the prober device name (if
possible) instead of ataN-master/slave.
1999-12-13 10:19:39 +00:00
Kazutaka YOKOTA 579958932a - Remember the keyboard repeat delay and rate.
- Add a new ioctl, KDGETREPEAT, to retrieve the keyboard repeat rate.
- Delete unnecessary #include.
1999-12-13 09:31:43 +00:00
Martin Cracauer e14140f43e Add a run of Linux ldconfig. 1999-12-13 08:38:22 +00:00
Chris Piazza 0b96c7476e Extra capital letter in COnsole 1999-12-13 06:08:24 +00:00
Matthew Dillon 4682c8eac9 Fix a timeout deadlock that can occur when the process holding the
receive lock hasn't yet managed to send its own request.

PR:		kern/15055
Submitted by:	Ian Dowse iedowse@maths.tcd.ie
1999-12-13 04:24:55 +00:00
Cameron Grant 5f070b6772 more dma underrun fixes, using a per-channel 2nd buffer
Submitted by:	tanimura
1999-12-13 03:29:09 +00:00
Tor Egge f52523701c Fix two problems with pipe_write():
1. Data written beyond end of pipe buffer, causing kernel memory corruption.

    - Check that space is still valid after obtaining the pipe lock.

    - Defer the calculation of transfer size until the pipe
      lock has been obtained.

    - Update the pipe buffer pointers while holding the pipe lock.

 2. Writes of size <= PIPE_BUF not always atomic.

    - Allow an internal write to span two contiguous segments,
      so writes of size <= PIPE_BUF can be kept atomic
      when wrapping around from the end to the start of the
      pipe buffer.

PR:		15235
Reviewed by:	Matt Dillon <dillon@FreeBSD.org>
1999-12-13 02:55:47 +00:00
Alfred Perlstein 1e12157c61 explain that ioflags can be used to give read-ahead hints to the underlying
filesystem.
1999-12-13 02:28:53 +00:00
Jordan K. Hubbard c0230c1b3d The current code incorrectly assumes that all vlans
are configured, and/or associated with a parent device.  If you
receive a frame for a VLAN that's not in the list, you walk off
the end of the list.  Boom.

Submitted by:	C. Stephen Gunn <csg@waterspout.com>
PR:		15291
1999-12-13 01:57:00 +00:00
Jordan K. Hubbard ae290324a4 sys/net/if_vlan.c fails to maintain the IFF_RUNNING flag on the
vlan interfaces it manages.  This prevents the interface from
actually sending or receiving data.

Submitted by:	C. Stephen Gunn <csg@waterspout.com>
PR:		15290
1999-12-13 01:38:14 +00:00
Daniel C. Sobral 07b5ccc39d Keep fortunes short, so motd won't scroll outside the screen. 1999-12-13 01:05:15 +00:00
Daniel C. Sobral bbb0c07eeb Exercise sufficient editorial license and further shorten motd.
Stolen from: jkh
1999-12-13 00:58:53 +00:00
Yoshinobu Inoue 79ea3cf110 Always set INP_IPV4 flag for IPv4 pcb entries, because netstat needs it
to print out protocol specific pcb info.

A patch submitted by guido@gvr.org, and asmodai@wxs.nl also reported
the problem.
Thanks and sorry for your troubles.

Submitted by: guido@gvr.org
Reviewed by: shin
1999-12-13 00:39:20 +00:00
Marcel Moolenaar 4ac29d1e8a Add colldef to the list of tools. It's needed on older systems. 1999-12-12 22:24:08 +00:00
Peter Wemm 00943c9151 Argh, fix a stupid typo. :-( 1999-12-12 21:36:19 +00:00
Marcel Moolenaar 0dd0e829e5 o Add gensetdefs to the list of tools.
o  Don't set CFLAGS in the bootstrap env. It is very likely to be
   overridden my any CFLAGS setting in /etc/make.conf. Setting it
   here is almost useless. So far, it doesn't seem necessary.
1999-12-12 21:24:07 +00:00
Peter Wemm de8708acc2 Move mlx, ncp and nwfs to the common area, they build on the Alpha and
are marked cross-platform in conf/files..
1999-12-12 21:17:08 +00:00
Marcel Moolenaar 3666ebdc3d Allow it to be compiled as cross-tool. 1999-12-12 21:16:46 +00:00
Peter Wemm 983b11b5c3 Zap unused CFLAGS += -DNCP 1999-12-12 21:15:51 +00:00
Peter Wemm fc6e400716 Fix pointer problem for the Alpha 1999-12-12 21:10:53 +00:00
Jordan K. Hubbard 80da3ae170 Note that Tekram controllers are supported again.
PR:		15090
Reported by:	Ilmar S. Habibulin <ilmar@ints.ru>
1999-12-12 21:06:44 +00:00
Peter Wemm 7a377dc1b6 Move mlx from x86-only to generic. It builds on the Alpha and is in the
common conf/files for the main kernel..
1999-12-12 21:00:42 +00:00
Peter Wemm 72c10febd0 time_t is an int on the Alpha, not long. 1999-12-12 20:59:29 +00:00
Peter Wemm 7c229969ba Move amr from x86-specific to generic. (it's in the generic conf/files
in the main kernel and builds fine on the alpha here...)
1999-12-12 20:55:49 +00:00
Peter Wemm 89aaf624ea Don't waste time creating amr.h since it (and NAMR) aren't used. 1999-12-12 20:54:53 +00:00
Peter Wemm 87280b0a70 Fix a printf format problem on the Alpha, where size_t == unsigned long,
not unsigned int as on the x86.
1999-12-12 20:53:31 +00:00
Peter Wemm 484fa03fbf Fix joy and put it back in the MI section. (yes, it works on Alpha) 1999-12-12 20:42:58 +00:00
Peter Wemm d00177ef7e Make this kld'able (#include "joy.h" no longer required as there are no
references to NJOY any more after newbusification)
1999-12-12 20:39:35 +00:00
Peter Wemm b4c7ee1c09 Change "atapi" (the old one) from "present but broken" to "not present". 1999-12-12 20:35:47 +00:00