]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoSpelling corrections for dummynet.
ru [Wed, 2 Jun 1999 05:59:48 +0000 (05:59 +0000)]
Spelling corrections for dummynet.
Reviewed by: des,luigi

25 years agoDon't print backspaces in first column since they backup to the prev line.
hoek [Wed, 2 Jun 1999 03:42:39 +0000 (03:42 +0000)]
Don't print backspaces in first column since they backup to the prev line.

25 years agoIntroduce the ``keep-session'' option. Refer to the man
brian [Wed, 2 Jun 1999 00:46:55 +0000 (00:46 +0000)]
Introduce the ``keep-session'' option.  Refer to the man
page for details.  This allows MP over non-tty devices where
the original ppp process must not exit (such as sshd-spawned
ppp sessions).

25 years agoUnbreak memory sizing for SMP.
jlemon [Tue, 1 Jun 1999 23:45:48 +0000 (23:45 +0000)]
Unbreak memory sizing for SMP.

25 years ago|| vs && confusion in cdevsw_add().
dt [Tue, 1 Jun 1999 20:41:26 +0000 (20:41 +0000)]
|| vs && confusion in cdevsw_add().

25 years agoRemove an unused variable.
dt [Tue, 1 Jun 1999 20:29:58 +0000 (20:29 +0000)]
Remove an unused variable.

25 years agocdevsw_add(&cn_devsw), not cdevsw_add(&dev).
dt [Tue, 1 Jun 1999 20:26:04 +0000 (20:26 +0000)]
cdevsw_add(&cn_devsw), not cdevsw_add(&dev).

25 years agoGrok gtags too.
hoek [Tue, 1 Jun 1999 20:02:34 +0000 (20:02 +0000)]
Grok gtags too.

25 years agoIncrease the length of an individual device name to LINE_LEN.
brian [Tue, 1 Jun 1999 19:08:59 +0000 (19:08 +0000)]
Increase the length of an individual device name to LINE_LEN.
Adjust the base physical device name correctly after a link
transfer (allowing correct multilink callbacks).

25 years agoChange the warning message issued if pci_map_port() fails. I think this
wpaul [Tue, 1 Jun 1999 19:04:23 +0000 (19:04 +0000)]
Change the warning message issued if pci_map_port() fails. I think this
happens if you have a BIOS with a 'Plug & Play OS' setting and you leave
it set to 'Yes.' This is wrong for FreeBSD (and LoseNT): it should be set
to 'No.' Apparently it's still possible to map the iobase of the NIC and
have the card work by reading the config space manually (which is what
the driver does if pci_map_port() fails) but we need to warn the user to
do fix their machine anyway. Anyway, warn the user to check the 'Plug &
Play OS' setting in their BIOS if mapping the io space fails.

25 years agoIntroduce the makebdev() function, it does the same as the makedev()
phk [Tue, 1 Jun 1999 18:56:26 +0000 (18:56 +0000)]
Introduce the makebdev() function, it does the same as the makedev()
function for now, but that will change.

25 years agoNull commit; note that there is a new memory sizing routine that uses
jlemon [Tue, 1 Jun 1999 18:25:26 +0000 (18:25 +0000)]
Null commit; note that there is a new memory sizing routine that uses
the BIOS calls to determine the memory configuration.  This should fix
problems with >64M for good.

Reviewed by: Mike Smith

25 years agoUnifdef VM86.
jlemon [Tue, 1 Jun 1999 18:20:36 +0000 (18:20 +0000)]
Unifdef VM86.

Reviewed by: silence on on -current

25 years agoMake vm86 a standard component
jlemon [Tue, 1 Jun 1999 18:18:39 +0000 (18:18 +0000)]
Make vm86 a standard component

Reviewed by: silence on on -current

25 years agoUnifdef VM86
jlemon [Tue, 1 Jun 1999 18:17:50 +0000 (18:17 +0000)]
Unifdef VM86

Reviewed by: silence on on -current

25 years agoUpdated to support new Meteor/PPB cards (PCI-PCI Bridge).
roger [Tue, 1 Jun 1999 17:30:08 +0000 (17:30 +0000)]
Updated to support new Meteor/PPB cards (PCI-PCI Bridge).
The driver now identifies the IBM PCI-PCI Bridge fitted to newer
Matrox cards and initialises it.

Sumitted by: Anton Berezin <tobez@plab.ku.dk>
The Protein Laboratory, University of Copenhagen

25 years agoShorten a detour around dev_t to get a udev_t created.
phk [Tue, 1 Jun 1999 17:11:27 +0000 (17:11 +0000)]
Shorten a detour around dev_t to get a udev_t created.

25 years agoMake async/sync/physical/hdlc dumps prettier by showing printable
brian [Tue, 1 Jun 1999 16:01:48 +0000 (16:01 +0000)]
Make async/sync/physical/hdlc dumps prettier by showing printable
characters at the end of the line in hexdump style.

25 years agoFixed locations of include files.
kato [Tue, 1 Jun 1999 13:14:35 +0000 (13:14 +0000)]
Fixed locations of include files.

25 years agoGet rid of segfaults in a set-uid program.
ru [Tue, 1 Jun 1999 13:14:07 +0000 (13:14 +0000)]
Get rid of segfaults in a set-uid program.
PR: 11823
Reviewed by: des

25 years agoSync with sys/i386/isa/clock.c revision 1.136.
kato [Tue, 1 Jun 1999 12:32:54 +0000 (12:32 +0000)]
Sync with sys/i386/isa/clock.c revision 1.136.

25 years agoDamn, forgot this: time -> when.
ru [Tue, 1 Jun 1999 11:20:15 +0000 (11:20 +0000)]
Damn, forgot this: time -> when.

25 years agoCorrect dumb mistake in previous commit.
dfr [Tue, 1 Jun 1999 11:16:23 +0000 (11:16 +0000)]
Correct dumb mistake in previous commit.

25 years agoSync header line with newsyslog(8).
ru [Tue, 1 Jun 1999 10:57:38 +0000 (10:57 +0000)]
Sync header line with newsyslog(8).
PR: 11511
Reviewed by: des

25 years agoIgnore the quota.user and quota.group files rather than the
brian [Tue, 1 Jun 1999 10:47:53 +0000 (10:47 +0000)]
Ignore the quota.user and quota.group files rather than the
``quotas'' file when cleaning /tmp.

25 years agoMove fd driver back to files.${arch} since pc98 has a special fd driver.
dfr [Tue, 1 Jun 1999 09:02:27 +0000 (09:02 +0000)]
Move fd driver back to files.${arch} since pc98 has a special fd driver.

25 years agodevsw and cdevsw_add() changes for i4b.
phk [Tue, 1 Jun 1999 08:46:56 +0000 (08:46 +0000)]
devsw and cdevsw_add() changes for i4b.

Reviewed by: hm

25 years agoMention that using MYADDR and HISADDR with ``set filter''
brian [Tue, 1 Jun 1999 08:46:53 +0000 (08:46 +0000)]
Mention that using MYADDR and HISADDR with ``set filter''
will result in the rules being updated any time MYADDR
or HISADDR change.

25 years agoUSB stopped working as of the recent cdevsw cleanup. This fixes that.
n_hibma [Tue, 1 Jun 1999 07:22:01 +0000 (07:22 +0000)]
USB stopped working as of the recent cdevsw cleanup. This fixes that.

25 years agoRemove the stub driver. It's useless.
n_hibma [Tue, 1 Jun 1999 07:18:53 +0000 (07:18 +0000)]
Remove the stub driver. It's useless.

25 years agousbd_get_request_status now only returns the value if the associated
n_hibma [Tue, 1 Jun 1999 06:39:03 +0000 (06:39 +0000)]
usbd_get_request_status now only returns the value if the associated
pointer is passed.

25 years ago'make update' in the ports directory.
billf [Tue, 1 Jun 1999 02:55:44 +0000 (02:55 +0000)]
'make update' in the ports directory.

25 years agoRemember if MYADDR or HISADDR is used in a filter add tweak all
brian [Mon, 31 May 1999 23:57:40 +0000 (23:57 +0000)]
Remember if MYADDR or HISADDR is used in a filter add tweak all
filters any time either value changes.

25 years ago1) Remove the definition of usb_cdc_generic_descriptor_t. It is
n_hibma [Mon, 31 May 1999 22:35:55 +0000 (22:35 +0000)]
1) Remove the definition of usb_cdc_generic_descriptor_t. It is
equivalent to usb_descriptor_t

2) Rename USB_CDC_CM_CM_OVER_DATA to USB_CDC_CM_OVER_DATA

25 years agoOn the new Meteor cards, the Philips SAA 7116 is connected to the PCI bus
roger [Mon, 31 May 1999 22:13:37 +0000 (22:13 +0000)]
On the new Meteor cards, the Philips SAA 7116 is connected to the PCI bus
via an IBM PCI-PCI bridge (82351 or 82352 or 82353)

The driver must identify if it is on a secondary PCI bus, which is
created via the IBM PCI-PCI bridge. If it is, then it must initialise
the IBM PCI-PCI bridge correctly.

To do this, the following new functions are added.
Because they use the pcici_t tag, they are considered 2.2 compatibility APIs
  pcici_t * pci_get_parent_from_tag(pcici_t tag);
  int       pci_get_bus_from_tag(pcici_t tag);

(The _from_tag suffix is used to prevent clashes with similarly named
 newbus PCI API functions)

Submitted by: Anton Berezin <tobez@plab.ku.dk>
Reviewed by:  Doug Rabson <dfr@nlsystems.com>
Reworked by:  Me (roger)

25 years agoDon't use nblkdev.
dt [Mon, 31 May 1999 20:44:11 +0000 (20:44 +0000)]
Don't use nblkdev.

25 years agoRemove declaration of the nblkdev and nchrdev variables.
dt [Mon, 31 May 1999 20:42:41 +0000 (20:42 +0000)]
Remove declaration of the nblkdev and nchrdev variables.

25 years ago* Change include file locations.
dfr [Mon, 31 May 1999 18:39:17 +0000 (18:39 +0000)]
* Change include file locations.
* Fix some misunderstandings about the return value of resource_int_value().
* Make it build on alpha (doesn't work yet...)

25 years agoRemove fd driver from its old home and change files which include rtc.h
dfr [Mon, 31 May 1999 18:36:14 +0000 (18:36 +0000)]
Remove fd driver from its old home and change files which include rtc.h
to account for its new location.

25 years agoThe fd driver has moved from i386/isa to isa.
dfr [Mon, 31 May 1999 18:33:24 +0000 (18:33 +0000)]
The fd driver has moved from i386/isa to isa.

25 years agoSimplify cdevsw registration.
phk [Mon, 31 May 1999 11:29:30 +0000 (11:29 +0000)]
Simplify cdevsw registration.

The cdevsw_add() function now finds the major number(s) in the
struct cdevsw passed to it.  cdevsw_add_generic() is no longer
needed, cdevsw_add() does the same thing.

cdevsw_add() will print an message if the d_maj field looks bogus.

Remove nblkdev and nchrdev variables.  Most places they were used
bogusly.  Instead check a dev_t for validity by seeing if devsw()
or bdevsw() returns NULL.

Move bdevsw() and devsw() functions to kern/kern_conf.c

Bump __FreeBSD_version to 400006

This commit removes:
        72 bogus makedev() calls
        26 bogus SYSINIT functions

if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.

I4b and vinum not changed.  Patches emailed to authors.  LINT
probably broken until they catch up.

25 years agoYou'll see them eventually :-)
phk [Mon, 31 May 1999 07:43:44 +0000 (07:43 +0000)]
You'll see them eventually :-)

25 years agoThe PPSAPI group defines the polarity in draft 3, we guessed it wrong.
phk [Mon, 31 May 1999 06:57:31 +0000 (06:57 +0000)]
The PPSAPI group defines the polarity in draft 3, we guessed it wrong.

25 years agoAdd the 'advocacy' category, sort this document.
billf [Sun, 30 May 1999 23:59:36 +0000 (23:59 +0000)]
Add the 'advocacy' category, sort this document.

25 years agoprocedure, not proceedure.
billf [Sun, 30 May 1999 21:31:18 +0000 (21:31 +0000)]
procedure, not proceedure.

25 years agoAdd support for SiS 900 chipset (PCI ID 0x1039/0x0900), which appears to
wpaul [Sun, 30 May 1999 18:55:20 +0000 (18:55 +0000)]
Add support for SiS 900 chipset (PCI ID 0x1039/0x0900), which appears to
be yet another rebadged RealTek 8139.

25 years agoEnable attachment of multiple drivers to a single device.
n_hibma [Sun, 30 May 1999 18:49:17 +0000 (18:49 +0000)]
Enable attachment of multiple drivers to a single device.

25 years agoNotify CAM of the removed device on detach.
n_hibma [Sun, 30 May 1999 18:46:04 +0000 (18:46 +0000)]
Notify CAM of the removed device on detach.

25 years agoWhoops, forgot to update xl_mediacheck() to account for the 3c905C.
wpaul [Sun, 30 May 1999 18:11:47 +0000 (18:11 +0000)]
Whoops, forgot to update xl_mediacheck() to account for the 3c905C.

25 years agoHead for the hills friends and neighbors, 3Com has yet another 3c90X
wpaul [Sun, 30 May 1999 18:09:17 +0000 (18:09 +0000)]
Head for the hills friends and neighbors, 3Com has yet another 3c90X
chipset. First you thrilled to the 3c905, then you trembled at the
3c905B, now gaze in wonder at: the 3c905C! This appears to be another
3c90X series chip called the Tornado (PCI ID 0x10B7/0x9200) and should
be equivalent (from the driver API perspective) to the 3c905B, so all
we have to do is add the PCI ID to the list.

25 years agoGeneral code cleanup [incomplete]. Make the arrow keys work.
hoek [Sun, 30 May 1999 18:06:58 +0000 (18:06 +0000)]
General code cleanup [incomplete].  Make the arrow keys work.

25 years agoThis commit should be a extensive NO-OP:
phk [Sun, 30 May 1999 16:53:49 +0000 (16:53 +0000)]
This commit should be a extensive NO-OP:

        Reformat and initialize correctly all "struct cdevsw".

        Initialize the d_maj and d_bmaj fields.

        The d_reset field was not removed, although it is never used.

I used a program to do most of this, so all the files now use the
same consistent format.  Please keep it that way.

Vinum and i4b not modified, patches emailed to respective authors.

25 years agoDon't bogusly define a d_reset_t function.
phk [Sun, 30 May 1999 14:55:24 +0000 (14:55 +0000)]
Don't bogusly define a d_reset_t function.

25 years ago1) Add URL for printer class specification
n_hibma [Sun, 30 May 1999 13:03:00 +0000 (13:03 +0000)]
1) Add URL for printer class specification
2) Change name of UE_IN to UE_DIR
3) Enable printing of the Printer Id string
4) Clean up debugging output while we are at it.

25 years ago- When aborting an interrupt pipe, just wait for 1ms for the completion
n_hibma [Sun, 30 May 1999 12:49:39 +0000 (12:49 +0000)]
- When aborting an interrupt pipe, just wait for 1ms for the completion
of the current interrupt trasaction.
- Do not schedule the next interrupt transaction if the pipe is being
aborted or the last round of the interrupt transaction ended with error.

Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>

25 years agoWhen the mouse is being disconnected, do the followings:
n_hibma [Sun, 30 May 1999 12:48:49 +0000 (12:48 +0000)]
When the mouse is being disconnected, do the followings:
- Call ums_disable() to abort the pipe.
- Do not wake up processes which has been waiting or polling for mouse
  data.  It won't be available anymore.

Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>

25 years agoSimplistic pnp support. Needs more ids to be added.
dfr [Sun, 30 May 1999 11:14:39 +0000 (11:14 +0000)]
Simplistic pnp support. Needs more ids to be added.

25 years agoNo support for pnp yet.
dfr [Sun, 30 May 1999 11:12:30 +0000 (11:12 +0000)]
No support for pnp yet.

25 years agoNo support for pnp devices yet.
dfr [Sun, 30 May 1999 11:10:10 +0000 (11:10 +0000)]
No support for pnp devices yet.

25 years agoAllow up to 8 ports, 4 memory regions and two irqs and drqs.
dfr [Sun, 30 May 1999 11:05:39 +0000 (11:05 +0000)]
Allow up to 8 ports, 4 memory regions and two irqs and drqs.

25 years ago* Use ISA_DELETE_RESOURCE to cancel memory resource if driver clears maddr.
dfr [Sun, 30 May 1999 11:04:31 +0000 (11:04 +0000)]
* Use ISA_DELETE_RESOURCE to cancel memory resource if driver clears maddr.
* Don't allow new-style isapnp devices through the compat interfaces.

25 years agoDon't include isa_dma.h if we have already seen isavar.h
dfr [Sun, 30 May 1999 11:03:10 +0000 (11:03 +0000)]
Don't include isa_dma.h if we have already seen isavar.h

25 years ago* Add ivars for ISA pnp.
dfr [Sun, 30 May 1999 11:02:17 +0000 (11:02 +0000)]
* Add ivars for ISA pnp.
* Move isa_dma* declarations to isavar.h.
* Add a method ISA_DELETE_RESOURCE() to the ISA interface.
* Tidy up include protection defines.

25 years agoIn pci_alloc_resource() only check start and end to see if its a default.
dfr [Sun, 30 May 1999 10:54:31 +0000 (10:54 +0000)]
In pci_alloc_resource() only check start and end to see if its a default.

25 years agoActivate/deactivate resources by calling the method, not through the
dfr [Sun, 30 May 1999 10:50:57 +0000 (10:50 +0000)]
Activate/deactivate resources by calling the method, not through the
resource manager automatic handling of RF_ACTIVE.

25 years agoUse resource allocation apis to get ports.
dfr [Sun, 30 May 1999 10:49:25 +0000 (10:49 +0000)]
Use resource allocation apis to get ports.

25 years agoTypo: "can't boot 'boot'" should be "can't boot 'kernel'"
dfr [Sun, 30 May 1999 10:45:03 +0000 (10:45 +0000)]
Typo: "can't boot 'boot'" should be "can't boot 'kernel'"

25 years ago* Add a function devclass_create() which looks up the named devclass and
dfr [Sun, 30 May 1999 10:27:11 +0000 (10:27 +0000)]
* Add a function devclass_create() which looks up the named devclass and
  creates it if it doesn't exist.
* Rename resource_list_remove() to resource_list_delete() for consistency.

25 years agoAddendum to 1.155. Verify the existence of the object before checking
alc [Sun, 30 May 1999 01:12:19 +0000 (01:12 +0000)]
Addendum to 1.155.  Verify the existence of the object before checking
its reference count.

25 years agoWhen memory mapping a PCI device (like XFree86 does) on an XP1000, we must
gallatin [Sat, 29 May 1999 19:47:51 +0000 (19:47 +0000)]
When memory mapping a PCI device (like XFree86 does) on an XP1000, we must
use ALPHA_PHYS_TO_K0SEG(offset) rather than just plain offet.  I've verified
that this does not break other platforms (I've tested an AlphaStation 200
and a Personal Workstation 500au with this patch).

As to why this works, well.. Its black magic as far as I know.  I obtained
this hack from Myricom, who in turn, obtained it from Compaq engineers.
Without this hack, XFree86 cannot talk to a PCI graphics card.

Reviewed by: Doug Rabson <dfr@nlsystems.com>
Obtained from:  feldy@myri.com (Bob Felderman)

25 years agoFix my DOC2k CHRDEV goof
phk [Sat, 29 May 1999 19:36:55 +0000 (19:36 +0000)]
Fix my DOC2k CHRDEV goof

25 years agoA small change to allow automatic detection of the boot
gallatin [Sat, 29 May 1999 19:23:20 +0000 (19:23 +0000)]
A small change to allow automatic detection of the boot
disk on Compaq XP1000's where Disk zero is dka0.0.0.6.1,
eg bus #1, slot #6.

Reviewed by: Doug Rabson <dfr@nlsystems.com>

25 years ago"Tn DNS" -> ".Tn DNS"
nik [Sat, 29 May 1999 13:08:54 +0000 (13:08 +0000)]
"Tn DNS" -> ".Tn DNS"

PR:             docs/10474
Submitted by:   Yoshiteru Kageyama <yt-kage@cb3.so-net.ne.jp>

25 years agoFix a couple of typos related to wfd.
nik [Sat, 29 May 1999 13:08:12 +0000 (13:08 +0000)]
Fix a couple of typos related to wfd.

PR:             docs/10624
Submitted by:   Joe Abley <jabley@buddha.clear.net.nz>

25 years agoFix typo which causes an unnecessary line break.
nik [Sat, 29 May 1999 13:02:00 +0000 (13:02 +0000)]
Fix typo which causes an unnecessary line break.

PR:             docs/11561
Submitted by:   Norihiro Kumagai <kuma@nk.rim.or.jp>

25 years agoDescription of LOCKLEAF said "inode" when it should have said "vnode".
nik [Sat, 29 May 1999 13:00:40 +0000 (13:00 +0000)]
Description of LOCKLEAF said "inode" when it should have said "vnode".

PR:             docs/11596
Submitted by:   Robert Watson <robert@fledge.watson.org>

25 years agoNote that using the dirent.d_type member is non-portable, and might
nik [Sat, 29 May 1999 12:59:51 +0000 (12:59 +0000)]
Note that using the dirent.d_type member is non-portable, and might
fail on some filesystems.

PR:             docs/11645
Submitted by:   Harold Gutch <logix@foobar.franken.de>

25 years agoFix the typos, and add new entries (like the /etc/periodic/ and /etc/mail/
nik [Sat, 29 May 1999 12:58:44 +0000 (12:58 +0000)]
Fix the typos, and add new entries (like the /etc/periodic/ and /etc/mail/
directories).

PR:             docs/11695
Submitted by:   Chris Costello <chris@calldei.com>

25 years ago$Header$ -> $Id$
kris [Sat, 29 May 1999 08:16:34 +0000 (08:16 +0000)]
$Header$ -> $Id$
Manpage formatting/grammatical fixes.
Check return value of malloc()
Add sccsid[], other minor source code cleanups

Submitted by: Philippe Charnier

25 years agoXref mountd in text.
kris [Sat, 29 May 1999 08:14:00 +0000 (08:14 +0000)]
Xref mountd in text.

Submitted by: Philippe Charnier

25 years agoManpage cleanup, move $Id$ to #ifndef lint, remove unused includes,
kris [Sat, 29 May 1999 08:12:38 +0000 (08:12 +0000)]
Manpage cleanup, move $Id$ to #ifndef lint, remove unused includes,
grammatical fixes.

Submitted by: Philippe Charnier

25 years agoStop the TSC from being used as timecounter on K5/step0 machines.
phk [Sat, 29 May 1999 06:57:55 +0000 (06:57 +0000)]
Stop the TSC from being used as timecounter on K5/step0 machines.

25 years agoDon't put CVS files in ports. It's kinda useful for cvs updating
jkh [Sat, 29 May 1999 00:42:05 +0000 (00:42 +0000)]
Don't put CVS files in ports.  It's kinda useful for cvs updating
a ports tree which was installed initially with the system later,
but this is probably not the general case (user CVSups the repository
rather than the checked-out bits) and it's penalizing everyone else
with excessive inode consumption.

25 years agoFix support for the PNIC II. Earlier I had assumed that the PNIC II was
wpaul [Fri, 28 May 1999 18:43:25 +0000 (18:43 +0000)]
Fix support for the PNIC II. Earlier I had assumed that the PNIC II was
similar to the PNIC I (supported by the pn driver). In fact, it's really
a Macronix 98715A with wake on LAN support added. According to LinkSys,
the PNIC II was jointly developed by Lite-On and Macronis. I get the
feeling Macronix did most of the work. (The datasheet has the Macronix
logo on it, and is in fact nearly identical to the 98715 datasheet, except
for the extra wake on LAN registers.) In any case, the PNIC II works just
fine with the Macronix driver.

The changes are:

- Move PCI ID for the PNIC II from the pn driver to the mx driver.
- Mention PNIC II support in mx.4.
- Mention PNIC II support in RELNOTES.TXT and HARDWARE.TXT.

25 years agoFixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter.
bde [Fri, 28 May 1999 14:08:59 +0000 (14:08 +0000)]
Fixed glitches (jumps) of about 1/HZ seconds for the i8254 timecounter.
The old version only worked right when the time was read strictly
more often than every 1/HZ seconds, but we only guarantee reading
it every (1/HZ + epsilon) seconds.  Part of rev.1.126-1.127 attempted
to fix this but didn't succeed.  Detect counter rollover using the
heuristic from the old version of microtime() with additional
complications for supporting calls from fast interrupt handlers.
This works provided i8254 interrupts are not delayed by more than
1/(2*HZ) seconds.

This needs more comments, and cleanups for the SMP case, and more
testing of the SMP case before it is merged into RELENG_3.

Tested by: jhay

25 years agoFixes from OpenBSD:
kris [Fri, 28 May 1999 13:23:27 +0000 (13:23 +0000)]
Fixes from OpenBSD:

Add $Id$
Removes temp file exploits in gzexe (predictable filenames)
Fixes some typos
Fixes a buffer overrun in gzip -S
Don't prepend /usr/local/bin to path in scripts
Correct location of /usr/share/misc/termcap

Obtained from: OpenBSD

25 years agoDon't call disable_intr() when interrupts are already disabled, since
bde [Fri, 28 May 1999 13:23:21 +0000 (13:23 +0000)]
Don't call disable_intr() when interrupts are already disabled, since
disable_intr() does non-recursive locking in the SMP case.  This should
fix cy-driver-related panics when SMP is configured.

Broken in: rev.1.73 (3.1 and -current)

25 years agoUse .Dq instead of ``'' in manpage
kris [Fri, 28 May 1999 12:47:31 +0000 (12:47 +0000)]
Use .Dq instead of ``'' in manpage
Use optimal blocksize for rm -P, instead of always using 8192-byte blocks
to overwrite the file.

Obtained from: OpenBSD

25 years agoSet FTP_PASSIVE_MODE=YES by default in the default login class.
jkh [Fri, 28 May 1999 11:07:16 +0000 (11:07 +0000)]
Set FTP_PASSIVE_MODE=YES by default in the default login class.

25 years agoAdd new Bt848/Bt878 driver options.
roger [Fri, 28 May 1999 10:27:22 +0000 (10:27 +0000)]
Add new Bt848/Bt878 driver options.
(Eventually I expect to move these into the man page)

25 years agoremote the bt848/bt878 comments
roger [Fri, 28 May 1999 09:55:59 +0000 (09:55 +0000)]
remote the bt848/bt878 comments

Suggested by: Bruce

25 years agoDocument device_add_child_ordered().
dfr [Fri, 28 May 1999 09:38:25 +0000 (09:38 +0000)]
Document device_add_child_ordered().

25 years agoAllow a sio port with its flags set to DEBUGGER+LLCONSOLE to be used for
dfr [Fri, 28 May 1999 09:37:11 +0000 (09:37 +0000)]
Allow a sio port with its flags set to DEBUGGER+LLCONSOLE to be used for
gdb. This allows the sio probe for that port to be disabled which stops
it from confusing the debugger.

25 years ago* Change device_add_child_after() to device_add_child_ordered() which is
dfr [Fri, 28 May 1999 09:25:16 +0000 (09:25 +0000)]
* Change device_add_child_after() to device_add_child_ordered() which is
  easier to use and more flexible.
* Change BUS_ADD_CHILD to take an order argument instead of a place.
* Define a partial ordering for isa devices so that sensitive devices are
  probed before non-sensitive ones.

25 years agoDon't forget to free the mbufs that get processed by
brian [Fri, 28 May 1999 08:03:24 +0000 (08:03 +0000)]
Don't forget to free the mbufs that get processed by
mp_Assemble().
Leak spotted by: louqi

25 years agoAlways output a linefeed when we've decided whether to boot
brian [Fri, 28 May 1999 08:01:52 +0000 (08:01 +0000)]
Always output a linefeed when we've decided whether to boot
or display a loader prompt; either we've said
"Booting [%s]..." or we've received a non-line-feed character
and need a '\n' anyway.

25 years agopmap_object_init_pt:
alc [Fri, 28 May 1999 05:38:56 +0000 (05:38 +0000)]
pmap_object_init_pt:
The size of vm_object::memq is vm_object::resident_page_count,
not vm_object::size.

25 years agofix End key name
ache [Fri, 28 May 1999 04:52:29 +0000 (04:52 +0000)]
fix End key name

25 years agodon't include Makefile.inc twice
ache [Fri, 28 May 1999 04:43:35 +0000 (04:43 +0000)]
don't include Makefile.inc twice

25 years agoAdd description on configuration options and the EXAMPLE section.
yokota [Fri, 28 May 1999 04:33:20 +0000 (04:33 +0000)]
Add description on configuration options and the EXAMPLE section.