]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoUse the traditional bmake magic.
Bill Fumerola [Tue, 14 Dec 1999 08:47:59 +0000 (08:47 +0000)]
Use the traditional bmake magic.

Reviewed/approved by: sos

24 years ago-Wall.
Bill Fumerola [Tue, 14 Dec 1999 08:47:42 +0000 (08:47 +0000)]
-Wall.

Reviewed/approved by: sos

24 years agoFix the command to launch DMA for 16bit samples.
Seigo Tanimura [Tue, 14 Dec 1999 06:34:48 +0000 (06:34 +0000)]
Fix the command to launch DMA for 16bit samples.

Tested by: Steve Reid <sreid@sea-to-sky.net>

24 years agoDocument `chown's move.
David E. O'Brien [Tue, 14 Dec 1999 04:54:55 +0000 (04:54 +0000)]
Document `chown's move.

24 years agoInstall `chown' into /sbin rather than /usr/sbin as `chown' is needed by
David E. O'Brien [Tue, 14 Dec 1999 04:48:17 +0000 (04:48 +0000)]
Install `chown' into /sbin rather than /usr/sbin as `chown' is needed by
`MAKEDEV'.  And one might need to `MAKEDEV' inorder to get a device node
in order to mount /usr from.

24 years agoCompletely rip-out and redesign sysinstall's refresh model as well
Jordan K. Hubbard [Tue, 14 Dec 1999 04:25:29 +0000 (04:25 +0000)]
Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.

24 years agoPrevent spaces from being interpreted as accelerators.
Jordan K. Hubbard [Tue, 14 Dec 1999 04:18:22 +0000 (04:18 +0000)]
Prevent spaces from being interpreted as accelerators.

24 years agoBug fix:
Brian Feldman [Tue, 14 Dec 1999 02:23:14 +0000 (02:23 +0000)]
Bug fix:
   The variables "m_mclalloc_wid" and "m_mballoc_wid" were not in the
proper place.  They should have been in uipc_mbuf.c and have been global,
not in mbuf.h and local per each file that uses mbuf.h.

Sorta bug fix:
   In mbuf.h, the definitions of various things for KERNEL and not
KERNEL cases were very screwy.   This fixes all of that which I could
find.

24 years agoMake kerberos4 conditional.
Jordan K. Hubbard [Tue, 14 Dec 1999 00:47:23 +0000 (00:47 +0000)]
Make kerberos4 conditional.

24 years agoConditionalize kerberos4 to keep sources in sync.
Jordan K. Hubbard [Tue, 14 Dec 1999 00:44:05 +0000 (00:44 +0000)]
Conditionalize kerberos4 to keep sources in sync.

24 years agoFix grammar error. (missing verb)
Bill Fumerola [Mon, 13 Dec 1999 23:37:56 +0000 (23:37 +0000)]
Fix grammar error. (missing verb)

24 years agoFix some problems reported by Mike Pritchard:
Bill Paul [Mon, 13 Dec 1999 21:45:13 +0000 (21:45 +0000)]
Fix some problems reported by Mike Pritchard:

- Add a flag DC_TX_INTR_ALWAYS which causes the transmit code to
  request a TX done interrupt for every packet. The PNIC seems to need
  this to insure that the sent TX buffers get reaped in a timely fashion.

- Try to unreset the SIA as soon as possible after resetting the whole
  chip.

- Change dcphy to support either 10/100 or 10Mbps only NICs. The
  built-in 21143 ethernet in Compaq Presario machines is 10Mbps only
  and it doesn't work right if we try to advertise 100Mbps modes during
  autoneg. When restricted to only 10mbps modes, it works fine.

  Note that for now, I detect this condition by checking the PCI
  subsystem ID on this NIC (which has a Compaq vendor/device ID).
  Yes, I know that's what the SROM is supposed to be for. I'm deliberately
  ignoring the SROM wherever possible. Sue me.

The latter two fixes allow if_dc to work correctly with the built-in
ethernet on certain Compaq Presario boxes. There are liable to be quite
a few people using these as their home systems who might want to try
FreeBSD; may as well be nice to them.

Now if anybody out there has an Alpha miata with 10Mbps ethernet and
can show me the output from pciconf -l on their system, I'd be grateful.

24 years agoAdd a `build-tools' target for make_hash and make_keys.
Marcel Moolenaar [Mon, 13 Dec 1999 21:25:08 +0000 (21:25 +0000)]
Add a `build-tools' target for make_hash and make_keys.

24 years agoAdd new option, -L that will listen the various listen queue lengths.
Guido van Rooij [Mon, 13 Dec 1999 20:08:44 +0000 (20:08 +0000)]
Add new option, -L that will listen the various listen queue lengths.

Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
Clive Lin <clive@GnatS.CirX.ORG>

24 years agoAdd the NMEA and the ONCORE driver.
Ollivier Robert [Mon, 13 Dec 1999 19:44:07 +0000 (19:44 +0000)]
Add the NMEA and the ONCORE driver.

Submitted by: wollman, phk

24 years agominor comment update
Matt Jacob [Mon, 13 Dec 1999 19:40:00 +0000 (19:40 +0000)]
minor comment update

24 years agoFix bug with internal functions when locale is active
Andrey A. Chernov [Mon, 13 Dec 1999 19:11:53 +0000 (19:11 +0000)]
Fix bug with internal functions when locale is active

PR: 15370
Reviewed by: no responce from maintainer
Obtained from: perl development sources

24 years agoHandle PPPoPTY correctly.
Brian Somers [Mon, 13 Dec 1999 18:45:21 +0000 (18:45 +0000)]
Handle PPPoPTY correctly.

24 years agoAdd notes from recent HEADS UP messages:
Warner Losh [Mon, 13 Dec 1999 17:55:23 +0000 (17:55 +0000)]
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...

24 years ago Add a readahead heuristic to the NFS server side code. While the server
Matthew Dillon [Mon, 13 Dec 1999 17:34:45 +0000 (17:34 +0000)]
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>

24 years ago Forgot a log message in the last commit. Fix an mbuf leak in
Matthew Dillon [Mon, 13 Dec 1999 17:09:34 +0000 (17:09 +0000)]
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

24 years agoPR: kern/15222
Matthew Dillon [Mon, 13 Dec 1999 17:07:03 +0000 (17:07 +0000)]
PR: kern/15222
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>

24 years agoAdd simple manual page for amd driver
Alexey Zelkin [Mon, 13 Dec 1999 17:00:59 +0000 (17:00 +0000)]
Add simple manual page for amd driver

Requested by: folks on fido7.ru.unix.bsd

24 years agoAdd module for if_ef driver and make it compile.
Boris Popov [Mon, 13 Dec 1999 16:42:17 +0000 (16:42 +0000)]
Add module for if_ef driver and make it compile.

24 years agoAdd a warning about the perils of using an older version of sysinstall
Sheldon Hearn [Mon, 13 Dec 1999 16:30:55 +0000 (16:30 +0000)]
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)

24 years agoBring up an if_ef driver which allows support for four ethernet
Boris Popov [Mon, 13 Dec 1999 16:24:22 +0000 (16:24 +0000)]
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>

24 years agoAllow ifunit() routine to understand names like ed0f2. Also
Boris Popov [Mon, 13 Dec 1999 15:57:11 +0000 (15:57 +0000)]
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>

24 years agoOops. HAVE_INET6_STRUCTS was supposed to be HAS_INET6_STRUCTS. Luckily
Peter Wemm [Mon, 13 Dec 1999 15:43:32 +0000 (15:43 +0000)]
Oops.  HAVE_INET6_STRUCTS was supposed to be HAS_INET6_STRUCTS.  Luckily
it was implicitly on because we had AF_INET6 defined.

24 years agoMerge from sys/i386/conf/files.i386 rev 1.289.
KATO Takenori [Mon, 13 Dec 1999 14:57:51 +0000 (14:57 +0000)]
Merge from sys/i386/conf/files.i386 rev 1.289.

Submitted by: yokota

24 years agoPlease welcome the brand new ntp4 daemon & utilities in the FreeBSD tree.
Ollivier Robert [Mon, 13 Dec 1999 14:09:56 +0000 (14:09 +0000)]
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)

24 years agoMerge from sys/dev/kbd/kbd.c rev 1.13.
KATO Takenori [Mon, 13 Dec 1999 13:19:38 +0000 (13:19 +0000)]
Merge from sys/dev/kbd/kbd.c rev 1.13.

Submitted by: yokota

24 years agoMerge from sys/dev/syscons/syscons.c rev 1.330.
KATO Takenori [Mon, 13 Dec 1999 13:17:24 +0000 (13:17 +0000)]
Merge from sys/dev/syscons/syscons.c rev 1.330.

24 years agoMerge from sys/i386/conf/Makefile.i386 rev 1.166.
KATO Takenori [Mon, 13 Dec 1999 13:15:32 +0000 (13:15 +0000)]
Merge from sys/i386/conf/Makefile.i386 rev 1.166.

24 years ago- Pull in kbd.c when sc or vt is included in the kernel, even if
Kazutaka YOKOTA [Mon, 13 Dec 1999 13:01:00 +0000 (13:01 +0000)]
- 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.

24 years agoDocument VGLGetXY and VGLSetXY functions.
Andrzej Bialecki [Mon, 13 Dec 1999 10:48:22 +0000 (10:48 +0000)]
Document VGLGetXY and VGLSetXY functions.

Reviewed by: sos

24 years ago- Add a module event function to the ukbd driver and make the ukbd KLD
Kazutaka YOKOTA [Mon, 13 Dec 1999 10:36:36 +0000 (10:36 +0000)]
- Add a module event function to the ukbd driver and make the ukbd KLD
  module work.
- Delete unnecessary #include.

24 years agoAdd DMA support for the SiS 5591 and old PIIX chipsets.
Søren Schmidt [Mon, 13 Dec 1999 10:19:39 +0000 (10:19 +0000)]
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.

24 years ago- Remember the keyboard repeat delay and rate.
Kazutaka YOKOTA [Mon, 13 Dec 1999 09:31:43 +0000 (09:31 +0000)]
- Remember the keyboard repeat delay and rate.
- Add a new ioctl, KDGETREPEAT, to retrieve the keyboard repeat rate.
- Delete unnecessary #include.

24 years agoAdd a run of Linux ldconfig.
Martin Cracauer [Mon, 13 Dec 1999 08:38:22 +0000 (08:38 +0000)]
Add a run of Linux ldconfig.

24 years agoExtra capital letter in COnsole
Chris Piazza [Mon, 13 Dec 1999 06:08:24 +0000 (06:08 +0000)]
Extra capital letter in COnsole

24 years ago Fix a timeout deadlock that can occur when the process holding the
Matthew Dillon [Mon, 13 Dec 1999 04:24:55 +0000 (04:24 +0000)]
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

24 years agomore dma underrun fixes, using a per-channel 2nd buffer
Cameron Grant [Mon, 13 Dec 1999 03:29:09 +0000 (03:29 +0000)]
more dma underrun fixes, using a per-channel 2nd buffer

Submitted by: tanimura

24 years agoFix two problems with pipe_write():
Tor Egge [Mon, 13 Dec 1999 02:55:47 +0000 (02:55 +0000)]
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>

24 years agoexplain that ioflags can be used to give read-ahead hints to the underlying
Alfred Perlstein [Mon, 13 Dec 1999 02:28:53 +0000 (02:28 +0000)]
explain that ioflags can be used to give read-ahead hints to the underlying
filesystem.

24 years agoThe current code incorrectly assumes that all vlans
Jordan K. Hubbard [Mon, 13 Dec 1999 01:57:00 +0000 (01:57 +0000)]
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

24 years agosys/net/if_vlan.c fails to maintain the IFF_RUNNING flag on the
Jordan K. Hubbard [Mon, 13 Dec 1999 01:38:14 +0000 (01:38 +0000)]
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

24 years agoKeep fortunes short, so motd won't scroll outside the screen.
Daniel C. Sobral [Mon, 13 Dec 1999 01:05:15 +0000 (01:05 +0000)]
Keep fortunes short, so motd won't scroll outside the screen.

24 years agoExercise sufficient editorial license and further shorten motd.
Daniel C. Sobral [Mon, 13 Dec 1999 00:58:53 +0000 (00:58 +0000)]
Exercise sufficient editorial license and further shorten motd.

Stolen from: jkh

24 years agoAlways set INP_IPV4 flag for IPv4 pcb entries, because netstat needs it
Yoshinobu Inoue [Mon, 13 Dec 1999 00:39:20 +0000 (00:39 +0000)]
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

24 years agoAdd colldef to the list of tools. It's needed on older systems.
Marcel Moolenaar [Sun, 12 Dec 1999 22:24:08 +0000 (22:24 +0000)]
Add colldef to the list of tools. It's needed on older systems.

24 years agoArgh, fix a stupid typo. :-(
Peter Wemm [Sun, 12 Dec 1999 21:36:19 +0000 (21:36 +0000)]
Argh, fix a stupid typo. :-(

24 years agoo Add gensetdefs to the list of tools.
Marcel Moolenaar [Sun, 12 Dec 1999 21:24:07 +0000 (21:24 +0000)]
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.

24 years agoMove mlx, ncp and nwfs to the common area, they build on the Alpha and
Peter Wemm [Sun, 12 Dec 1999 21:17:08 +0000 (21:17 +0000)]
Move mlx, ncp and nwfs to the common area, they build on the Alpha and
are marked cross-platform in conf/files..

24 years agoAllow it to be compiled as cross-tool.
Marcel Moolenaar [Sun, 12 Dec 1999 21:16:46 +0000 (21:16 +0000)]
Allow it to be compiled as cross-tool.

24 years agoZap unused CFLAGS += -DNCP
Peter Wemm [Sun, 12 Dec 1999 21:15:51 +0000 (21:15 +0000)]
Zap unused CFLAGS += -DNCP

24 years agoFix pointer problem for the Alpha
Peter Wemm [Sun, 12 Dec 1999 21:10:53 +0000 (21:10 +0000)]
Fix pointer problem for the Alpha

24 years agoNote that Tekram controllers are supported again.
Jordan K. Hubbard [Sun, 12 Dec 1999 21:06:44 +0000 (21:06 +0000)]
Note that Tekram controllers are supported again.

PR: 15090
Reported by: Ilmar S. Habibulin <ilmar@ints.ru>

24 years agoMove mlx from x86-only to generic. It builds on the Alpha and is in the
Peter Wemm [Sun, 12 Dec 1999 21:00:42 +0000 (21:00 +0000)]
Move mlx from x86-only to generic.  It builds on the Alpha and is in the
common conf/files for the main kernel..

24 years agotime_t is an int on the Alpha, not long.
Peter Wemm [Sun, 12 Dec 1999 20:59:29 +0000 (20:59 +0000)]
time_t is an int on the Alpha, not long.

24 years agoMove amr from x86-specific to generic. (it's in the generic conf/files
Peter Wemm [Sun, 12 Dec 1999 20:55:49 +0000 (20:55 +0000)]
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...)

24 years agoDon't waste time creating amr.h since it (and NAMR) aren't used.
Peter Wemm [Sun, 12 Dec 1999 20:54:53 +0000 (20:54 +0000)]
Don't waste time creating amr.h since it (and NAMR) aren't used.

24 years agoFix a printf format problem on the Alpha, where size_t == unsigned long,
Peter Wemm [Sun, 12 Dec 1999 20:53:31 +0000 (20:53 +0000)]
Fix a printf format problem on the Alpha, where size_t == unsigned long,
not unsigned int as on the x86.

24 years agoFix joy and put it back in the MI section. (yes, it works on Alpha)
Peter Wemm [Sun, 12 Dec 1999 20:42:58 +0000 (20:42 +0000)]
Fix joy and put it back in the MI section.  (yes, it works on Alpha)

24 years agoMake this kld'able (#include "joy.h" no longer required as there are no
Peter Wemm [Sun, 12 Dec 1999 20:39:35 +0000 (20:39 +0000)]
Make this kld'able  (#include "joy.h" no longer required as there are no
references to NJOY any more after newbusification)

24 years agoChange "atapi" (the old one) from "present but broken" to "not present".
Peter Wemm [Sun, 12 Dec 1999 20:35:47 +0000 (20:35 +0000)]
Change "atapi" (the old one) from "present but broken" to "not present".

24 years agoRemove a whole bunch of "CFLAGS+= -DFSNAME" cruft. It hasn't been
Peter Wemm [Sun, 12 Dec 1999 20:34:11 +0000 (20:34 +0000)]
Remove a whole bunch of "CFLAGS+= -DFSNAME" cruft.  It hasn't been
needed for ages, but keeps getting cut/pasted into new Makefiles.
(Once apon a time it was used to activate mount arguments in
 <sys/mount.h>, but that was killed with extreme prejudice long ago)

24 years agosd->da, wd->ad
Chris Piazza [Sun, 12 Dec 1999 19:12:45 +0000 (19:12 +0000)]
sd->da, wd->ad

24 years agoLook for disk devices rather than bdevs.
Poul-Henning Kamp [Sun, 12 Dec 1999 17:43:12 +0000 (17:43 +0000)]
Look for disk devices rather than bdevs.

Approved by: grog

24 years agoBring these more into line with other modules that have .h files generated
Peter Wemm [Sun, 12 Dec 1999 16:47:33 +0000 (16:47 +0000)]
Bring these more into line with other modules that have .h files generated
on the fly.

24 years agoUse the -c and -h args of vnode_if.sh to generate only the .h file that
Peter Wemm [Sun, 12 Dec 1999 16:45:58 +0000 (16:45 +0000)]
Use the -c and -h args of vnode_if.sh to generate only the .h file that
we use.  The .c half is statically compiled into the kernel.  It's kinda
silly to generate a .h file on the fly that has inlines to call the
.c stuff when the .c code is fixed.

Also, zap the special treatment for VFS_KLD modules.  This treatment
applies to lots of things, not just VFS's.

24 years ago Make the cvs-supfile cover the entire repository - add the doc hierarchy.
Matthew Dillon [Sun, 12 Dec 1999 16:44:26 +0000 (16:44 +0000)]
Make the cvs-supfile cover the entire repository - add the doc hierarchy.

Approved by: jkh

24 years agoUse a seperate -c and -h mode. The vnode_if.c file is compiled only into
Peter Wemm [Sun, 12 Dec 1999 16:43:05 +0000 (16:43 +0000)]
Use a seperate -c and -h mode.  The vnode_if.c file is compiled only into
the kernel while the vnode_if.h header is a bunch of inlines to call the
code that is in the kernel. Generating the .h file on the fly is kinda
bogus because it has to match the one compiled into the kernel.

IMHO we should have kern/vnode_if.c and sys/vnode_if.h committed in the
tree but that's another battle.

24 years agoPut on asbestos suit and put a splcam() around the 'Mounting root from..'
Peter Wemm [Sun, 12 Dec 1999 16:34:43 +0000 (16:34 +0000)]
Put on asbestos suit and put a splcam() around the 'Mounting root from..'
message to stop it splitting.  Every single scsi machine I've seen seems
to reliably collide with this and it's rather annoying.

24 years agoThe sysctl mod_xx hack is no longer required now that we have totally
Peter Wemm [Sun, 12 Dec 1999 16:30:34 +0000 (16:30 +0000)]
The sysctl mod_xx hack is no longer required now that we have totally
dynamic sysctl registration.

24 years agoRemove some horrible #if 0'd code that has no hope of working now. It
Peter Wemm [Sun, 12 Dec 1999 14:47:23 +0000 (14:47 +0000)]
Remove some horrible #if 0'd code that has no hope of working now.  It
used to edit the old-style isa_devtab config tables to insert a mapping
for a pci device into the isa tables so that the wdc driver could probe
it later.  This has been #if 0'd since April.

24 years agoTurn on warnings for the wd* driver with a loud pointer to ata*. This
Peter Wemm [Sun, 12 Dec 1999 14:31:40 +0000 (14:31 +0000)]
Turn on warnings for the wd* driver with a loud pointer to ata*.  This
doesn't break builds, but is difficult to miss..

24 years agoReplace the svr4_sys_getdents64() routine with a port of linux_getdents() --
Mark Newton [Sun, 12 Dec 1999 11:25:33 +0000 (11:25 +0000)]
Replace the svr4_sys_getdents64() routine with a port of linux_getdents() --
differences between the VFS interface between FreeBSD and NetBSD make
it easier to pick up the Linux one than to continue development with the
NetBSD port.

This patch fixes a bug which caused duplicate filenames to be seen by
callers to svr4_sys_getdents64(), leading to malformed directory listings
from Solaris client programs.

Obtained from: The Linuxulator, with a pointer from marcel

24 years agoAvoid excessive redundancy in svr4_sys_getmsg() and svr4_sys_putmsg():
Mark Newton [Sun, 12 Dec 1999 10:28:30 +0000 (10:28 +0000)]
Avoid excessive redundancy in svr4_sys_getmsg() and svr4_sys_putmsg():
Only look up the provided descriptor in fd_ofiles[] once.

Submitted by: Ville-Pertti Keinone <will@iki.fi>

24 years agofd_revoke() shouldn't panic if the descriptor provided is not a file or
Mark Newton [Sun, 12 Dec 1999 10:27:04 +0000 (10:27 +0000)]
fd_revoke() shouldn't panic if the descriptor provided is not a file or
socket.  Return EINVAL instead.

Submitted by: Ville-Pertti Keinone <will@iki.fi>

24 years ago Add blurb on massive improvements to NFS
Matthew Dillon [Sun, 12 Dec 1999 09:53:11 +0000 (09:53 +0000)]
Add blurb on massive improvements to NFS

Reviewed by: jkh

24 years agoAdd a 'warning' option for the files* files. This is intended to enable
Peter Wemm [Sun, 12 Dec 1999 09:38:48 +0000 (09:38 +0000)]
Add a 'warning' option for the files* files.  This is intended to enable
giving a dire warning about certain drivers going away in the future.

24 years ago-Wall fixes.
Bill Fumerola [Sun, 12 Dec 1999 07:25:14 +0000 (07:25 +0000)]
-Wall fixes.

24 years ago Fix a number of server-side issues related to aborting badly formed
Matthew Dillon [Sun, 12 Dec 1999 07:06:39 +0000 (07:06 +0000)]
Fix a number of server-side issues related to aborting badly formed
    NFS packets, mainly initializing structure pointers to NULL which
    are conditionally freed prior to return.

PR: kern/15249
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>

24 years ago-Wall fixes.
Bill Fumerola [Sun, 12 Dec 1999 06:40:28 +0000 (06:40 +0000)]
-Wall fixes.

24 years ago-Wall fixes.
Bill Fumerola [Sun, 12 Dec 1999 06:30:46 +0000 (06:30 +0000)]
-Wall fixes.

24 years ago-Wall fixes.
Bill Fumerola [Sun, 12 Dec 1999 06:17:25 +0000 (06:17 +0000)]
-Wall fixes.

24 years ago Synopsis of problem being fixed: Dan Nelson originally reported that
Matthew Dillon [Sun, 12 Dec 1999 06:09:57 +0000 (06:09 +0000)]
Synopsis of problem being fixed:  Dan Nelson originally reported that
    blocks of zeros could wind up in a file written to over NFS by a client.
    The problem only occurs a few times per several gigabytes of data.   This
    problem turned out to be bug #3 below.

    bug #1:

        B_CLUSTEROK must be cleared when an NFS buffer is reverted from
        stage 2 (ready for commit rpc) to stage 1 (ready for write).
        Reversions can occur when a dirty NFS buffer is redirtied with new
        data.

        Otherwise the VFS/BIO system may end up thinking that a stage 1
        NFS buffer is clusterable.  Stage 1 NFS buffers are not clusterable.

    bug #2:

        B_CLUSTEROK was inappropriately set for a 'short' NFS buffer (short
        buffers only occur near the EOF of the file).  Change to only set
        when the buffer is a full biosize (usually 8K).  This bug has no
        effect but should be fixed in -current anyway.  It need not be
        backported.

    bug #3:

        B_NEEDCOMMIT was inappropriately set in nfs_flush() (which is
typically only called by the update daemon).  nfs_flush()
        does a multi-pass loop but due to the lack of vnode locking it
        is possible for new buffers to be added to the dirtyblkhd list
        while a flush operation is going on.  This may result in nfs_flush()
        setting B_NEEDCOMMIT on a buffer which has *NOT* yet gone through its
        stage 1 write, causing only the commit rpc to be made and thus
        causing the contents of the buffer to be thrown away (never sent to
        the server).

    The patch also contains some cleanup, which only applies to the commit
    into -current.

Reviewed by: dg, julian
Originally Reported by: Dan Nelson <dnelson@emsphone.com>

24 years agoBump local version number to 1.3.4.
Boris Popov [Sun, 12 Dec 1999 05:53:02 +0000 (05:53 +0000)]
Bump local version number to 1.3.4.

24 years agoThis is Bosko Milekic's mbuf allocation waiting code. Basically, this
Brian Feldman [Sun, 12 Dec 1999 05:52:51 +0000 (05:52 +0000)]
This is Bosko Milekic's mbuf allocation waiting code.  Basically, this
means that running out of mbuf space isn't a panic anymore, and code
which runs out of network memory will sleep to wait for it.

Submitted by: Bosko Milekic <bmilekic@dsuper.net>
Reviewed by: green, wollman

24 years agoUpdate to version 1.3.4 of ncplib. Cleanup header files.
Boris Popov [Sun, 12 Dec 1999 05:50:07 +0000 (05:50 +0000)]
Update to version 1.3.4 of ncplib. Cleanup header files.

24 years agoI shouldn't have incremented PART_OFF; it was wrong and broke label
Jordan K. Hubbard [Sun, 12 Dec 1999 04:58:02 +0000 (04:58 +0000)]
I shouldn't have incremented PART_OFF; it was wrong and broke label
display to boot.  Also fix some various warning fluff while I'm in
here cleaning up.

24 years agoWhen booting verbose, indicate if we are using manual termination
Justin T. Gibbs [Sun, 12 Dec 1999 04:54:14 +0000 (04:54 +0000)]
When booting verbose, indicate if we are using manual termination
settings for U2 cards.

Don't assume that all aic7859 cards are 2930CUs.

24 years agoMove the wakeup_one() prototype from proc.h to systm.h. It now hangs
Brian Feldman [Sun, 12 Dec 1999 04:21:27 +0000 (04:21 +0000)]
Move the wakeup_one() prototype from proc.h to systm.h.  It now hangs
out with it's sibling, wakeup().

24 years agoBuild a.out tools if MACHINE_ARCH == i386 and MACHINE == pc98.
Yoshihiro Takahashi [Sun, 12 Dec 1999 03:54:58 +0000 (03:54 +0000)]
Build a.out tools if MACHINE_ARCH == i386 and MACHINE == pc98.
The boot2 for pc98 is still a.out program.

I made the original patch, and many problems were fixed by Marcel Moolenaar.

24 years ago Remove accidental pollution unrelated to previous commit. The issue
Matthew Dillon [Sun, 12 Dec 1999 03:28:14 +0000 (03:28 +0000)]
Remove accidental pollution unrelated to previous commit.  The issue
    here is real but has not yet been discussed with Eivind.

24 years ago-Wall fixes.
Bill Fumerola [Sun, 12 Dec 1999 03:22:37 +0000 (03:22 +0000)]
-Wall fixes.

24 years ago Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
Matthew Dillon [Sun, 12 Dec 1999 03:19:33 +0000 (03:19 +0000)]
Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
    madvise().

    This feature prevents the update daemon from gratuitously flushing
    dirty pages associated with a mapped file-backed region of memory.  The
    system pager will still page the memory as necessary and the VM system
    will still be fully coherent with the filesystem.  Modifications made
    by other means to the same area of memory, for example by write(), are
    unaffected.  The feature works on a page-granularity basis.

    MAP_NOSYNC allows one to use mmap() to share memory between processes
    without incuring any significant filesystem overhead, putting it in
    the same performance category as SysV Shared memory and anonymous memory.

Reviewed by: julian, alc, dg

24 years ago-Wall fixes.
Bill Fumerola [Sun, 12 Dec 1999 03:04:17 +0000 (03:04 +0000)]
-Wall fixes.

24 years agoFinally give mk_cmds(1) a man page.
Chris Costello [Sun, 12 Dec 1999 02:43:07 +0000 (02:43 +0000)]
Finally give mk_cmds(1) a man page.

PR: docs/4691
Submitted by: Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>

24 years agomake sb dependant on sbc
Cameron Grant [Sun, 12 Dec 1999 02:30:19 +0000 (02:30 +0000)]
make sb dependant on sbc
add support for non-pnp cards to sbc
move card identification to sbc
channel-swapping code is in sb now instead of dsp
vibra16x support is still broken, but will be fixed soon

note: sbc is now compulsory for sb cards

for pnp cards use:
device sbc0

for non-pnp cards eg:
device sbc0 at isa? port 0x240 irq 5 drq 3 flags 0x15
(hints as oldpcm)

both in addition to:
device pcm0

Reviewed by: tanimura,dfr
Said he liked it: peter