]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoThis commit was generated by cvs2svn to compensate for changes in r54359,
Ollivier Robert [Thu, 9 Dec 1999 13:01:21 +0000 (13:01 +0000)]
This commit was generated by cvs2svn to compensate for changes in r54359,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of ntpd 4.0.98f
Ollivier Robert [Thu, 9 Dec 1999 13:01:21 +0000 (13:01 +0000)]
Virgin import of ntpd 4.0.98f

24 years agoSync with sys/dev/fb/vga.c rev 1.5.
KATO Takenori [Thu, 9 Dec 1999 12:32:50 +0000 (12:32 +0000)]
Sync with sys/dev/fb/vga.c rev 1.5.

Submitted by: yokota

24 years agoSync with sys/i386/isa/wd.c rev 1.216.
KATO Takenori [Thu, 9 Dec 1999 12:30:32 +0000 (12:30 +0000)]
Sync with sys/i386/isa/wd.c rev 1.216.

24 years agoMerge from sys/i386/conf/options.i386 rev 1.128.
KATO Takenori [Thu, 9 Dec 1999 12:16:29 +0000 (12:16 +0000)]
Merge from sys/i386/conf/options.i386 rev 1.128.

24 years agoMerge from sys/i386/conf/files.i386 rev 1.284.
KATO Takenori [Thu, 9 Dec 1999 12:14:35 +0000 (12:14 +0000)]
Merge from sys/i386/conf/files.i386 rev 1.284.

24 years agoo Add usr/lib/compat/aout to the temp world. This is needed by release.
Marcel Moolenaar [Thu, 9 Dec 1999 10:45:09 +0000 (10:45 +0000)]
o Add usr/lib/compat/aout to the temp world. This is needed by release.
o If you can't beat them, join them: use symlinks to populate the obj
  tree. This avoids using mtree.

24 years agoRevert previous commit.
Marcel Moolenaar [Thu, 9 Dec 1999 09:35:36 +0000 (09:35 +0000)]
Revert previous commit.

Requested by: bde

24 years agortcalloc() is removed because it turned out not to be necessary for FreeBSD.
Yoshinobu Inoue [Thu, 9 Dec 1999 08:56:50 +0000 (08:56 +0000)]
rtcalloc() is removed because it turned out not to be necessary for FreeBSD.
(It was added as a part of KAME patch)

Specified by: jdp@polstra.com

24 years agoRemove discussion of %C in the BUGS section. The limitations on valid
Sheldon Hearn [Thu, 9 Dec 1999 07:58:28 +0000 (07:58 +0000)]
Remove discussion of %C in the BUGS section.  The limitations on valid
centuries are much more serious than those mentioned and this is not the
place to discuss the limitations of time_t.

24 years agoMerge _isa and _isasubr since only one function remained in _isasubr
Warner Losh [Thu, 9 Dec 1999 02:42:42 +0000 (02:42 +0000)]
Merge _isa and _isasubr since only one function remained in _isasubr
Saticize _isa.c
Kill compile warnings for _isa.c
Remove obsolete comment from i82365.c

24 years agoUpdate man page: BPF is supported even in the KLD version.
Archie Cobbs [Thu, 9 Dec 1999 00:25:37 +0000 (00:25 +0000)]
Update man page: BPF is supported even in the KLD version.

24 years agoFix 'make clean'
Archie Cobbs [Thu, 9 Dec 1999 00:22:34 +0000 (00:22 +0000)]
Fix 'make clean'

24 years agoFix errors unmounting remote systems which don't understand RPC_UMNTALL.
Greg Lehey [Wed, 8 Dec 1999 22:29:30 +0000 (22:29 +0000)]
Fix errors unmounting remote systems which don't understand RPC_UMNTALL.

Submitted by: Martin Blapp <mblapp@kassiopeja.lan.attic.ch>

24 years agoMake share/examples/mdoc and share/misc/mdoc.template internally
Mike Pritchard [Wed, 8 Dec 1999 22:15:09 +0000 (22:15 +0000)]
Make share/examples/mdoc and share/misc/mdoc.template internally
consistent, and consistent with mdoc(7) and mdoc.samples(7).

PR: doc/15352, doc/15353

24 years agoAdd /boot.
Daniel C. Sobral [Wed, 8 Dec 1999 22:03:44 +0000 (22:03 +0000)]
Add /boot.

24 years agoUpdate mdoc(7) and mdoc.samples(7) to list the preferred order
Mike Pritchard [Wed, 8 Dec 1999 21:50:11 +0000 (21:50 +0000)]
Update mdoc(7) and mdoc.samples(7) to list the preferred order
of manual page sections.  Make the two man pages consistent
with each other in the headers they list and they order they list
them in.

Note:  this is the preferred ordering.  All new man pages/additions
to man pages should try and follow this.  Existing man pages
should be left alone, unless you are making major changes  in
the man page and re-ordering of the sections is only a
minor part of the change.

PR: doc/15352, doc/15353

24 years agosys/dkbad.h is no more.
Poul-Henning Kamp [Wed, 8 Dec 1999 19:47:08 +0000 (19:47 +0000)]
sys/dkbad.h is no more.

24 years agoNew netgraph node type 'pptpgre': this performs GRE encapsulation
Archie Cobbs [Wed, 8 Dec 1999 18:55:39 +0000 (18:55 +0000)]
New netgraph node type 'pptpgre': this performs GRE encapsulation
for the PPTP protocol as specified in RFC 2637.

24 years agoInclude net/slcompress.c in the build of this module.
Archie Cobbs [Wed, 8 Dec 1999 18:51:13 +0000 (18:51 +0000)]
Include net/slcompress.c in the build of this module.

24 years agoVersion 1.16 was a bad change, so revert it.
Warner Losh [Wed, 8 Dec 1999 18:12:02 +0000 (18:12 +0000)]
Version 1.16 was a bad change, so revert it.

24 years agoOops! bypassing Makefile.inc0 without adding a `world' target is not
Marcel Moolenaar [Wed, 8 Dec 1999 18:10:15 +0000 (18:10 +0000)]
Oops! bypassing Makefile.inc0 without adding a `world' target is not
a good idea. Adding `world' to Makefile is save, because all hairy
bits are in Makefile.inc1 anyway.

24 years ago[ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the
Kenneth D. Merry [Wed, 8 Dec 1999 17:44:04 +0000 (17:44 +0000)]
[ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the
background ]

Rename sys/pci/pci_ioctl.h to sys/sys/pciio.h to make it easier for
userland programs to use this interface.  Reformat the file, and add a
BSD-style copyright to it.

Add a new man page for pci(4).  The PCIOCGETCONF, PCIOCREAD, and PCIOCWRITE
ioctls are documented, but the PCIOCATTACHED ioctl is not documented
because it is not implemented.

Change includes of <pci/pci_ioctl.h> to <sys/pciio.h> or remove them
altogether.  In many cases, pci_ioctl.h was unused.

Reviewed by: steve

24 years agoAdd opt_svr4.h to SRCS. This fixes make depend.
Marcel Moolenaar [Wed, 8 Dec 1999 17:27:40 +0000 (17:27 +0000)]
Add opt_svr4.h to SRCS. This fixes make depend.

24 years agoAdd maintainer tag, and add a description of a few more things we've
Peter Wemm [Wed, 8 Dec 1999 16:49:38 +0000 (16:49 +0000)]
Add maintainer tag, and add a description of a few more things we've
added/changed locally for FreeBSD.

24 years agoAdd maintainer tags
Peter Wemm [Wed, 8 Dec 1999 16:43:32 +0000 (16:43 +0000)]
Add maintainer tags

24 years agoRevert rev 1.8.
David E. O'Brien [Wed, 8 Dec 1999 16:00:08 +0000 (16:00 +0000)]
Revert rev 1.8.

NOT Approved by: obrien

24 years agoPrevent digit-gobbling for all but %l and %e, which can't be fixed.
Sheldon Hearn [Wed, 8 Dec 1999 15:49:10 +0000 (15:49 +0000)]
Prevent digit-gobbling for all but %l and %e, which can't be fixed.
Discuss in the BUGS section of the manpage, problems involved with
the use of %C, %e, %l, %p, %U and %W.

PR: 13901
Reported by: scott@chronis.pobox.com

24 years agoBackout changes made in 1.102 following feedback from NTSC users
Roger Hardiman [Wed, 8 Dec 1999 14:01:30 +0000 (14:01 +0000)]
Backout changes made in 1.102 following feedback from NTSC users

There seems to be some problem with the new rgb_vbi_prog() RISC
code not working for NTSC users.

This means that European teletext users will need to start
Alevt (or open /dev/vbi0) BEFORE starting FXTV (or opening /dev/bktr0)
if they want to capture VBI data for Teletext/Videotext or WaveTop

Reported by: Chris Csanady <cc@137.org>, Kenneth D. Merry <ken@kdm.org>,
             Randy Bush <randy@psg.com>

24 years agoMaintain compatibility with FreeBSD versions that don't have mkstemps
Marcel Moolenaar [Wed, 8 Dec 1999 13:53:16 +0000 (13:53 +0000)]
Maintain compatibility with FreeBSD versions that don't have mkstemps

24 years agoRemove support for symlinks instead of copies. This also avoids
Marcel Moolenaar [Wed, 8 Dec 1999 13:47:30 +0000 (13:47 +0000)]
Remove support for symlinks instead of copies. This also avoids
using mtree. Space is being saved by other means.

24 years agoRestore the upgrade path from -stable to -current and prepare for
Marcel Moolenaar [Wed, 8 Dec 1999 13:45:11 +0000 (13:45 +0000)]
Restore the upgrade path from -stable to -current and prepare for
non-root cross-building.

o  Makefile.inc0 is not used anymore.
o  The legacy aout build has been removed.
o  Selectively build tools *before* building includes/libraries.
o  Avoid using mtree to populate the obj tree.

24 years agoinstall(1) lookalike that can be used during a build. Any options
Marcel Moolenaar [Wed, 8 Dec 1999 13:40:44 +0000 (13:40 +0000)]
install(1) lookalike that can be used during a build. Any options
are ignored and the remaining is passed on to cp(1). This allows
a build to be run as non-root without forcing any user/group
setting and also prevents setting any file flags.

This may not be the right place for buildtools.

24 years agoAdd note about `mountd -r'
Alexey Zelkin [Wed, 8 Dec 1999 13:12:49 +0000 (13:12 +0000)]
Add note about `mountd -r'

PR: docs/15067
Submitted by: Nick Hibma <hibma@skylink.it>

24 years agoAdd support for compiling SVR4 as a static module
Mark Newton [Wed, 8 Dec 1999 12:13:13 +0000 (12:13 +0000)]
Add support for compiling SVR4 as a static module

("AND THE CROWD GOES... uh.")

Tested by: Joerg Wunsch <joerg_wunsch@interface-business.de>

24 years agoChange the devstat priorities to the std values now in devicestats.h
Søren Schmidt [Wed, 8 Dec 1999 12:08:47 +0000 (12:08 +0000)]
Change the devstat priorities to the std values now in devicestats.h

24 years agoRemove unnecessary includes
Mark Newton [Wed, 8 Dec 1999 12:01:59 +0000 (12:01 +0000)]
Remove unnecessary includes

Prodded by: phk

24 years agoMake this buildable with MROUTING defined.
Yoshinobu Inoue [Wed, 8 Dec 1999 11:57:36 +0000 (11:57 +0000)]
Make this buildable with MROUTING defined.

Specified by: eivind, phk

24 years agoForced commit for correct version ID on files dependent on
Mark Newton [Wed, 8 Dec 1999 11:50:48 +0000 (11:50 +0000)]
Forced commit for correct version ID on files dependent on
syscalls.master

Noticed by: marcel

24 years agoMake this actually build with current sources.
Doug Rabson [Wed, 8 Dec 1999 11:47:48 +0000 (11:47 +0000)]
Make this actually build with current sources.

24 years agoAccept 12 for %l, because it's logical to expect "%l:%M" to work for
Sheldon Hearn [Wed, 8 Dec 1999 11:11:40 +0000 (11:11 +0000)]
Accept 12 for %l, because it's logical to expect "%l:%M" to work for
"12:00" and because strftime(3) does the same.

24 years agoSVR4 emulator source files now take their compilation options from
Mark Newton [Wed, 8 Dec 1999 10:51:17 +0000 (10:51 +0000)]
SVR4 emulator source files now take their compilation options from
opt_global.h and opt_svr4.h, instead of from the command line.  This
brings them in-line with most of the rest of the kernel.

svr4_ioctl.c has also failed to compile with debugging for a while
now;  fixed by adding systm.h and socketvar.

Some svr4 source files are automatically generated from syscalls.master;
these have been committed as consequential changes, otherwise everyone
will have to "make svr4_sysent.c".

Changes:

sys/svr4/svr4.h include opt_global.h and opt_svr4.h
sys/svr4/svr4_ioctl.c include svr4.h, sys/systm.h and sys/socketvar.h
sys/svr4/svr4_ipc.c include svr4.h
sys/svr4/svr4_resource.c  include svr4.h
sys/svr4/svr4_socket.c include svr4.h
sys/svr4/svr4_ttold.c include svr4.h
sys/svr4/syscalls.master include svr4.h
sys/svr4/svr4_syscallnames.c dependent on syscalls.master
sys/svr4/svr4_sysent.c dependent on syscalls.master
sys/svr4/svr4_syscall.h dependent on syscalls.master
sys/svr4/svr4_proto.h dependent on syscalls.master
sys/modules/svr4/Makefile create opt_global.h and opt_svr4.h

24 years agoMake adjtime(2) adjust boottime so it doesn't cause non-monotonous
Poul-Henning Kamp [Wed, 8 Dec 1999 10:02:12 +0000 (10:02 +0000)]
Make adjtime(2) adjust boottime so it doesn't cause non-monotonous
uptime.

24 years agoScan cdevs for potential root devices, rather than bdevs.
Poul-Henning Kamp [Wed, 8 Dec 1999 10:01:18 +0000 (10:01 +0000)]
Scan cdevs for potential root devices, rather than bdevs.

24 years agoRemove sysinstall knowledge of the wd based devices..
Søren Schmidt [Wed, 8 Dec 1999 09:51:00 +0000 (09:51 +0000)]
Remove sysinstall knowledge of the wd based devices..

24 years agoRemove BAD144 support, it has already been disabled for some time.
Poul-Henning Kamp [Wed, 8 Dec 1999 09:33:00 +0000 (09:33 +0000)]
Remove BAD144 support, it has already been disabled for some time.

24 years agoFinally use the new ata driver.
Søren Schmidt [Wed, 8 Dec 1999 09:19:37 +0000 (09:19 +0000)]
Finally use the new ata driver.

24 years agoRemove unused #includes.
Poul-Henning Kamp [Wed, 8 Dec 1999 08:59:40 +0000 (08:59 +0000)]
Remove unused #includes.

Obtained from: http://bogon.freebsd.dk/include

24 years agoSwitch to using suspend/resume methods rather than the APM hooks.
Warner Losh [Wed, 8 Dec 1999 07:55:20 +0000 (07:55 +0000)]
Switch to using suspend/resume methods rather than the APM hooks.
Should have no effect, but does make things a little cleaner.  I
thought this was the race that was causing problems, but it turned out
to be in pccardd waking up after the empty/insert events had happened
and being confused.

Minor cleanup:
o Remove isahd from pccard_devinfo
o remove extra from controller
o formatting nits
o use PCCARD_DEVINFO(d) rather than a bare device_get_ivars(d)

24 years agoIf last state was supended, remove the card. This is a kludge, there
Warner Losh [Wed, 8 Dec 1999 07:47:41 +0000 (07:47 +0000)]
If last state was supended, remove the card.  This is a kludge, there
is a race here that the old code didn't deal with, and I'm not
completely sure this is the right way to solve it, but it works here.

Should get rid of the dreaded "No free configuration for card" message.

24 years agoStyle nit.
David E. O'Brien [Wed, 8 Dec 1999 06:42:50 +0000 (06:42 +0000)]
Style nit.

24 years agoDocument what "X" in the table means.
David E. O'Brien [Wed, 8 Dec 1999 06:42:08 +0000 (06:42 +0000)]
Document what "X" in the table means.

24 years agoWhen erroring out that there is not enough space to write the corefile,
David E. O'Brien [Wed, 8 Dec 1999 06:22:58 +0000 (06:22 +0000)]
When erroring out that there is not enough space to write the corefile,
tell the user how much space is avaible for writing the corefile, and how
much space we wanted.

24 years agoFix alloc_driver() so that calls devclass_get_device() with slt->slotnum
Bill Paul [Wed, 8 Dec 1999 05:34:17 +0000 (05:34 +0000)]
Fix alloc_driver() so that calls devclass_get_device() with slt->slotnum
as the unit argument instead of 0. disable_slot() calls
devclass_get_device() correctly, however because alloc_driver() does
it wrong, disable_slot() is unable to locate the child devices
attached to the pccard bus and thus fails to call device_delete_child()
on them. The end result is that when a card is removed, its detach
routine is never called, and re-insertion always fails.

With this fix (and the previous one to if_wi.c), I can now insert,
remove and re-insert my WaveLAN/IEEE card and things behave correctly.
kldunloading the if_wi.ko module also seems to work properly now.

Ok'ed by: imp

24 years agoRevamp the devstat priority system. All disks now have the same priority.
Kenneth D. Merry [Wed, 8 Dec 1999 04:45:23 +0000 (04:45 +0000)]
Revamp the devstat priority system.  All disks now have the same priority.
The same goes for CD drivers and tape drivers.  In systems with mixed IDE
and SCSI, devices in the same priority class will be sorted in attach
order.

Also, the 'CCD' priority is now the 'ARRAY' priority, and a number of
drivers have been modified to use that priority.

This includes the necessary changes to all drivers, except the ATA drivers.
Soren will modify those separately.

This does not include and does not require any change in the devstat
version number, since no known userland applications use the priority
enumerations.

Reviewed by: msmith, sos, phk, jlemon, mjacob, bde

24 years agoI've been Brucified! I did evil things with typedefs, but I'll do it
Brian Feldman [Wed, 8 Dec 1999 02:44:46 +0000 (02:44 +0000)]
I've been Brucified!  I did evil things with typedefs, but I'll do it
the correct (but less aesthetic) way, now.  New lesson: correctness
and aestheticity may be mutually exclusive at times.

Brucified by: bde

24 years agoFix invocation of bus_teardown_intr(). The last arg is supposed to be
Bill Paul [Wed, 8 Dec 1999 02:00:10 +0000 (02:00 +0000)]
Fix invocation of bus_teardown_intr(). The last arg is supposed to be
sc->wi_intrhand, not &sc->wi_intrhand.

24 years agoo Implement IRQ activation. We do this in bus_{setup,teardown}_intr,
Warner Losh [Wed, 8 Dec 1999 01:42:44 +0000 (01:42 +0000)]
o Implement IRQ activation.  We do this in bus_{setup,teardown}_intr,
  per discussions on -arch.  This is different than -current's pccard
  code, but shouldn't have any real difference.
o More code cleanup.

Next step: convert bus_space_* mapping stuff to newbus.

24 years agoAdd a cross-reference to fabs(3) man page.
Chris Costello [Tue, 7 Dec 1999 23:09:58 +0000 (23:09 +0000)]
Add a cross-reference to fabs(3) man page.

PR: docs/15337
Submitted by: Bruce A. Mah <bmah@ca.sandia.gov>

24 years agoCommit the kernel part of our DVD support. Nothing much to say really,
Søren Schmidt [Tue, 7 Dec 1999 22:25:28 +0000 (22:25 +0000)]
Commit the kernel part of our DVD support. Nothing much to say really,
its just a number of new ioctl's, the rest is done in userland.

24 years agoFix typo errors, remove repeated paragraphs, update incorrect (i.e. mixed up)
Chris Costello [Tue, 7 Dec 1999 22:10:35 +0000 (22:10 +0000)]
Fix typo errors, remove repeated paragraphs, update incorrect (i.e. mixed up)
information.

PR: docs/15139
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>

24 years agoTry a little harder at the VIA DMA support.
Søren Schmidt [Tue, 7 Dec 1999 22:07:18 +0000 (22:07 +0000)]
Try a little harder at the VIA DMA support.
Only use UDMA66 on 82C686 and with prober cable.

24 years agoCorrect the synopsis for the wi(4) driver: it's just "device wi0" now, not
Bill Paul [Tue, 7 Dec 1999 21:52:41 +0000 (21:52 +0000)]
Correct the synopsis for the wi(4) driver: it's just "device wi0" now, not
"device wi0 at isa? port? irq?".

24 years agoSpruce up the Sundance ST201 driver:
Bill Paul [Tue, 7 Dec 1999 20:14:42 +0000 (20:14 +0000)]
Spruce up the Sundance ST201 driver:

- Convert to using TX descritor polling similar to the xl driver (the
  ST201 is a clone of the 3c90xB chipset and offers the same transmit
  polling scheme). This should reduce TX overhad a little.

- Make sure to reset PHY when switching mode, as in the starfire driver.

- Fix instances of free() that should be contigfree().

- Remove dead code.

24 years agoBump CIS_MAXSTR from 30 to 254. pccard appears to define the entire
Warner Losh [Tue, 7 Dec 1999 19:23:56 +0000 (19:23 +0000)]
Bump CIS_MAXSTR from 30 to 254.  pccard appears to define the entire
section we take them from to be up to 255 bytes long, so that's the
max size for the string.  They can't all be this big, but I don't have
a better number and better to be a little long than a little short.

Also only consume len characters of the cis buffer so we don't run off
the end into the next buffer and get garbage.  This second patch
shouldn't impact anything, but I'll hold off back porting this to
-stable until I get more reports on the stability before/after this
fix.

24 years agoTweak the DC_REDUCED_MII_POLL code in dc_mii_tick() for the DC_IS_INTEL()
Bill Paul [Tue, 7 Dec 1999 19:18:41 +0000 (19:18 +0000)]
Tweak the DC_REDUCED_MII_POLL code in dc_mii_tick() for the DC_IS_INTEL()
case. The idea is to reduce how often we call mii_tick(), however currently
it may not be called often enough, which prevents autonegotiation from
being driven correctly.

This should improve the chances of successfully autonegotiating media
settings on non-MII 21143 NICs. (Still waiting for confirmation from
some testers, but the code is clearly wrong in any case.)

24 years agoUpdate the sample for $init_path to reflect the kernel default.
Mike Smith [Tue, 7 Dec 1999 18:35:58 +0000 (18:35 +0000)]
Update the sample for $init_path to reflect the kernel default.

24 years agoUpdate to reflect use of : not ; as separator in paths passed to the
Mike Smith [Tue, 7 Dec 1999 18:31:43 +0000 (18:31 +0000)]
Update to reflect use of : not ; as separator in paths passed to the
kernel.

24 years agoudp IPv6 support, IPv6/IPv4 tunneling support in kernel,
Yoshinobu Inoue [Tue, 7 Dec 1999 17:39:16 +0000 (17:39 +0000)]
udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
packet divert at kernel for IPv6/IPv4 translater daemon

This includes queue related patch submitted by jburkhol@home.com.

Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project

24 years agoFix bug where tuner i2c address was not set for IMS Turbo cards
Roger Hardiman [Tue, 7 Dec 1999 17:23:39 +0000 (17:23 +0000)]
Fix bug where tuner i2c address was not set for IMS Turbo cards
Put back Hauppauge Tuner types 0x5, 0x0a, 0x1a which I deleted by mistake.

24 years agoBuild gasp (GAS Preprocessor). This is needed for building Glide.
Doug Rabson [Tue, 7 Dec 1999 17:01:27 +0000 (17:01 +0000)]
Build gasp (GAS Preprocessor). This is needed for building Glide.

24 years agoFix support for disk with > 64K cyls.
Søren Schmidt [Tue, 7 Dec 1999 14:49:00 +0000 (14:49 +0000)]
Fix support for disk with > 64K cyls.

24 years agoTemporary adjustment to build after pnp changes. There is a new version
Peter Wemm [Tue, 7 Dec 1999 12:06:31 +0000 (12:06 +0000)]
Temporary adjustment to build after pnp changes.  There is a new version
in the pipeline apparently.

OK'ed by: hm

24 years agoFix the ioctl CONS_FINDMODE and its underlying subroutine
Kazutaka YOKOTA [Tue, 7 Dec 1999 11:23:58 +0000 (11:23 +0000)]
Fix the ioctl CONS_FINDMODE and its underlying subroutine
xxx_query_mode() in the vga and vesa drivers.

- xxx_query_mode() returns 0 (success) and a positive error number.
- Copy mode information on success.
- Remove redundant structure copy.

The bug first found in -STABLE by jmg.

24 years agoMerge from sys/isa/fd.c rev 1.170.
KATO Takenori [Tue, 7 Dec 1999 09:32:59 +0000 (09:32 +0000)]
Merge from sys/isa/fd.c rev 1.170.

24 years agoMerge from sys/isa/sio.c rev 1.277 & 1.278.
KATO Takenori [Tue, 7 Dec 1999 09:29:15 +0000 (09:29 +0000)]
Merge from sys/isa/sio.c rev 1.277 & 1.278.

24 years agoMerge from sys/i386/conf/files.i386 rev 1.283.
KATO Takenori [Tue, 7 Dec 1999 09:23:44 +0000 (09:23 +0000)]
Merge from sys/i386/conf/files.i386 rev 1.283.

24 years agoMerge from sys/dev/syscons/syscons.c rev 1.328.
KATO Takenori [Tue, 7 Dec 1999 09:21:19 +0000 (09:21 +0000)]
Merge from sys/dev/syscons/syscons.c rev 1.328.

24 years agoMerge from sys/i386/i386/userconfig.c rev 1.162 & 1.163.
KATO Takenori [Tue, 7 Dec 1999 09:16:52 +0000 (09:16 +0000)]
Merge from sys/i386/i386/userconfig.c rev 1.162 & 1.163.

24 years agoTonight's cleanups.
Warner Losh [Tue, 7 Dec 1999 06:44:38 +0000 (06:44 +0000)]
Tonight's cleanups.
o Implement memory and I/O activation/deactivation.  irq not handled.
o switch pcic_chip functions around to use more convenient types.
o kill __P and most of the old K&R prototypes just to be mean.
o minor other nits

24 years agoRemove a bunch of un-needed includes.
Julian Elischer [Tue, 7 Dec 1999 05:50:48 +0000 (05:50 +0000)]
Remove a bunch of un-needed includes.
Submitted by: phk@freebsd.org

24 years agoChange the default poweroff delay from 0 to 5 seconds. This seems to be
Mike Smith [Tue, 7 Dec 1999 04:35:37 +0000 (04:35 +0000)]
Change the default poweroff delay from 0 to 5 seconds.  This seems to be
adequate for the IDE disks that I have available for testing.  Most seem
to wait between 1 and 3 seconds before flushing their caches.

Add the ability to override the delay at compile time via the
undocumented option POWEROFF_DELAY.  The delay can still be set via
sysctl as it was originally implemented.

24 years agoMake some examples reflect defaults.
Daniel C. Sobral [Tue, 7 Dec 1999 04:24:05 +0000 (04:24 +0000)]
Make some examples reflect defaults.

24 years agoRecognize the Pioneer CD-ROM DRM-6324X as a changer.
Kenneth D. Merry [Tue, 7 Dec 1999 04:14:56 +0000 (04:14 +0000)]
Recognize the Pioneer CD-ROM DRM-6324X as a changer.

PR: kern/15198
Submitted by: Don Lewis <truckman@FreeBSD.org>

24 years agoDo proper constification in args.c. This shuts up -Wcast-qual (thanks,
Brian Feldman [Tue, 7 Dec 1999 03:32:37 +0000 (03:32 +0000)]
Do proper constification in args.c.  This shuts up -Wcast-qual (thanks,
bfumerola for that pointer!) in GCC complaining about losing a const.

While I'm here, might as well mark in the Makefile that I'm the
${MAINTAINER}.  It seems like that's what everyone's doing these days.

24 years agoThe typo was actually that ``if'' was misspelled as ``it.''
Chris Costello [Tue, 7 Dec 1999 03:16:18 +0000 (03:16 +0000)]
The typo was actually that ``if'' was misspelled as ``it.''

24 years agoFix a typo (specifically, the word ``it'' was used twice in a row where it
Chris Costello [Tue, 7 Dec 1999 03:13:17 +0000 (03:13 +0000)]
Fix a typo (specifically, the word ``it'' was used twice in a row where it
did not need to be).

PR: 15207
Submitted by: Kazuo Seki <seki@is.utsunomiya-u.ac.jp>

24 years ago-Wall cleanup / variable correctness.
Bill Fumerola [Tue, 7 Dec 1999 03:00:55 +0000 (03:00 +0000)]
-Wall cleanup / variable correctness.

Reviewed by: green

24 years agoChange ``.Dq Fl o'' to ``.Dq -o''
Chris Costello [Tue, 7 Dec 1999 02:47:59 +0000 (02:47 +0000)]
Change ``.Dq Fl o'' to ``.Dq -o''

24 years ago-Wall cleanup.
Bill Fumerola [Tue, 7 Dec 1999 02:01:29 +0000 (02:01 +0000)]
-Wall cleanup.

XXX: The signal handling "fix" for worm(6) is wrong. However, the functions
themselves are wrong as well: See sigaction(2).

24 years agoReckognize the 'Avance Asound 100'
Bill Fumerola [Tue, 7 Dec 1999 01:53:24 +0000 (01:53 +0000)]
Reckognize the 'Avance Asound 100'

Submitted by: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>

24 years agoAdd vendor NetChip with its device NET1080 (host-to-host adapter)
Nick Hibma [Tue, 7 Dec 1999 01:19:51 +0000 (01:19 +0000)]
Add vendor NetChip with its device NET1080 (host-to-host adapter)

24 years agoAdd reference to netgraph(4) in the 'see also' section.
Archie Cobbs [Mon, 6 Dec 1999 23:35:40 +0000 (23:35 +0000)]
Add reference to netgraph(4) in the 'see also' section.

24 years ago"raw" -> "block" Block devices have been what are now gone, not "raw"
Warner Losh [Mon, 6 Dec 1999 22:42:01 +0000 (22:42 +0000)]
"raw" -> "block" Block devices have been what are now gone, not "raw"
devices.

Submitted by: David O'Brian

24 years agoI always forget to check before I reboot a system, and while it
Poul-Henning Kamp [Mon, 6 Dec 1999 22:35:51 +0000 (22:35 +0000)]
I always forget to check before I reboot a system, and while it
boots I try in vain to remember which month or even year this system
was last booted in.

Print out the uptime before rebooting, and give people like me
less (or more as it may be) to think about while the systems boots.

24 years agoInclude BSD-license.
Wolfram Schneider [Mon, 6 Dec 1999 22:33:40 +0000 (22:33 +0000)]
Include BSD-license.

PR: misc/15262
Submitted by:  alex@big.endian.de

24 years agoMention the '6' flag in the flags summary. (Forgotten in the last commit).
Josef Karthauser [Mon, 6 Dec 1999 21:49:07 +0000 (21:49 +0000)]
Mention the '6' flag in the flags summary.  (Forgotten in the last commit).

24 years agoLast minute patch that I forgot to apply: check return code of iplattach()
Guido van Rooij [Mon, 6 Dec 1999 21:21:47 +0000 (21:21 +0000)]
Last minute patch that I forgot to apply: check return code of iplattach()

24 years agoAdd braces ({}) to all the places that they're missing.
Josef Karthauser [Mon, 6 Dec 1999 21:18:32 +0000 (21:18 +0000)]
Add braces ({}) to all the places that they're missing.

24 years agoMove basic ifilter utils to sbin where they shold have been committed by
Guido van Rooij [Mon, 6 Dec 1999 20:50:04 +0000 (20:50 +0000)]
Move basic ifilter utils to sbin where they shold have been committed by
me in the first place. While we're at it: add MAINTAINER line