]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoCorect info about help files being stored in ar archive.
abial [Wed, 28 Oct 1998 16:42:51 +0000 (16:42 +0000)]
Corect info about help files being stored in ar archive.

Submitted by: Eric P. Scott <eps@sirius.com>

25 years agoAdd missing psm0 dev entry.
abial [Wed, 28 Oct 1998 16:26:29 +0000 (16:26 +0000)]
Add missing psm0 dev entry.

Submitted by: Eric P. Scott <eps@sirius.com>

25 years agoAdded TODO list. Automate changing of the "Last updated" field.
abial [Wed, 28 Oct 1998 16:16:31 +0000 (16:16 +0000)]
Added TODO list. Automate changing of the "Last updated" field.

25 years agoFixed wrong comments in and about vm_page_deactivate().
dg [Wed, 28 Oct 1998 13:41:43 +0000 (13:41 +0000)]
Fixed wrong comments in and about vm_page_deactivate().

25 years agoAdded a second argument, "activate" to the vm_page_unwire() call so that
dg [Wed, 28 Oct 1998 13:37:02 +0000 (13:37 +0000)]
Added a second argument, "activate" to the vm_page_unwire() call so that
the caller can select either inactive or active queue to put the page on.

25 years agoSync with sys/i386/conf/Makefile.i386 revision 1.127.
kato [Wed, 28 Oct 1998 10:48:37 +0000 (10:48 +0000)]
Sync with sys/i386/conf/Makefile.i386 revision 1.127.

25 years agoClarify a rather ambiguous debugging message.
jkh [Wed, 28 Oct 1998 10:37:54 +0000 (10:37 +0000)]
Clarify a rather ambiguous debugging message.

25 years agoAdd BUS_DEBUG option in opt_bus.h
dfr [Wed, 28 Oct 1998 08:37:10 +0000 (08:37 +0000)]
Add BUS_DEBUG option in opt_bus.h

25 years agoBack out previous work-around for "vmstat -i" failing on ELF
jdp [Wed, 28 Oct 1998 06:41:24 +0000 (06:41 +0000)]
Back out previous work-around for "vmstat -i" failing on ELF
kernels.  A better fix is now committed to "src/lib/libc/gen/nlist.c"
and "src/usr.sbin/kvm_mkdb/nlist.c".

25 years agoHandle ELF symbols better. This fixes "vmstat -i" for the case
jdp [Wed, 28 Oct 1998 06:39:41 +0000 (06:39 +0000)]
Handle ELF symbols better.  This fixes "vmstat -i" for the case
where "/var/db/kvm_kernel.db" exists.

Note, kvm_mkdb tries to be clever, and skips rebuilding the database
if it thinks it's already up to date.  To see the effects of this
fix, you may need to manually delete "/var/db/kvm_kernel.db" and
then run "kvm_mkdb".

25 years agoHandle ELF symbols better. This fixes "vmstat -i" for the case
jdp [Wed, 28 Oct 1998 06:37:49 +0000 (06:37 +0000)]
Handle ELF symbols better.  This fixes "vmstat -i" for the case
where "/var/db/kvm_kernel.db" doesn't exist.

25 years agoCheck for C:\FREEBSD also, for backwards compatibility
jkh [Wed, 28 Oct 1998 02:18:08 +0000 (02:18 +0000)]
Check for C:\FREEBSD also, for backwards compatibility

25 years agomicroseq.9: general purpose parallel microcode for ppbus(4)
nsouch [Wed, 28 Oct 1998 00:55:42 +0000 (00:55 +0000)]
microseq.9: general purpose parallel microcode for ppbus(4)
ppbconf.9: general info about ppbus(4) structures

25 years agoppc.4 moved from man4 to man4.i386: parallel port chipset driver manpage
nsouch [Wed, 28 Oct 1998 00:51:40 +0000 (00:51 +0000)]
ppc.4 moved from man4 to man4.i386: parallel port chipset driver manpage

pcf.4 added: Philips I2C/isa interface manpage

25 years agoFinally they arrive! ppbus (Parallel Port Bus framework) manpages.
nsouch [Wed, 28 Oct 1998 00:44:22 +0000 (00:44 +0000)]
Finally they arrive! ppbus (Parallel Port Bus framework) manpages.

25 years agoMore I2C framework docs. See iicbus(4) for more info.
nsouch [Wed, 28 Oct 1998 00:42:34 +0000 (00:42 +0000)]
More I2C framework docs. See iicbus(4) for more info.

25 years agoI2C framework manpages. See iicbus(4) for more info.
nsouch [Wed, 28 Oct 1998 00:40:53 +0000 (00:40 +0000)]
I2C framework manpages. See iicbus(4) for more info.

25 years agoUntimeout the chat expect timer as soon as we get a
brian [Tue, 27 Oct 1998 22:53:25 +0000 (22:53 +0000)]
Untimeout the chat expect timer as soon as we get a
match - otherwise, with a delayed (\\d) ``send'', the
timeout may happen during the send and cause a failure.
Problem reported by: David L. Vondrasek <dallas.tx@airmail.net>

25 years agoAdd ``set proctitle'' for changing argv[0]. All substitutions
brian [Tue, 27 Oct 1998 22:53:22 +0000 (22:53 +0000)]
Add ``set proctitle'' for changing argv[0].  All substitutions
are done in the same way as command execution.

For example, ``set proctitle USER INTERFACE PROCESSID'' would
be useful in a -direct profile for identifying who's connected.

25 years agoAdd ``PROCESSID'' as a constant expanded when running
brian [Tue, 27 Oct 1998 22:53:19 +0000 (22:53 +0000)]
Add ``PROCESSID'' as a constant expanded when running
commands.

25 years agoStress that ``none'' must be specified on the `set callback'
brian [Tue, 27 Oct 1998 22:53:18 +0000 (22:53 +0000)]
Stress that ``none'' must be specified on the `set callback'
line if callback is to be optional.
Requested by: Andrzej Tobola <san@koziolek.lublin.top.pl>

25 years agoFixes for handling 'wfd' (and any other disk with a non-2-character name)
msmith [Tue, 27 Oct 1998 21:14:03 +0000 (21:14 +0000)]
Fixes for handling 'wfd' (and any other disk with a non-2-character name)
Submitted by: Some from Satoh Junichi (junichi@astec.co.jp)

25 years agoAvoid interruptions while talking to keyboard controller.
rnordier [Tue, 27 Oct 1998 20:19:24 +0000 (20:19 +0000)]
Avoid interruptions while talking to keyboard controller.

25 years agobiosboot compatibility fix: change behavior of backspace in getstr().
rnordier [Tue, 27 Oct 1998 20:16:36 +0000 (20:16 +0000)]
biosboot compatibility fix: change behavior of backspace in getstr().
Noticed by: abial

Optimize away a few bytes to make space for the above.

25 years agoAdded needed splvm() protection around object page traversal in
dg [Tue, 27 Oct 1998 13:22:51 +0000 (13:22 +0000)]
Added needed splvm() protection around object page traversal in
vm_object_terminate().

25 years agoOops, the redundant tests for major numbers weren't redundant here.
bde [Tue, 27 Oct 1998 11:47:08 +0000 (11:47 +0000)]
Oops, the redundant tests for major numbers weren't redundant here.
They checked for the magic major number for the "device" behind mfs
mount points.  Use a more obvious check for this device.

Debugged by: Andrew Gallatin <gallatin@cs.duke.edu>

25 years agoLots of debugging code and some bugfixes.
dfr [Tue, 27 Oct 1998 09:21:43 +0000 (09:21 +0000)]
Lots of debugging code and some bugfixes.

Submitted by: Nick Hibma <nick.hibma@jrc.it>

25 years agoSome optimisations to the fragment reassembly code.
dfr [Tue, 27 Oct 1998 09:19:03 +0000 (09:19 +0000)]
Some optimisations to the fragment reassembly code.

Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>

25 years agoFix a bug in the new fragment reassembly code which was tickled by recieving
dfr [Tue, 27 Oct 1998 09:11:41 +0000 (09:11 +0000)]
Fix a bug in the new fragment reassembly code which was tickled by recieving
a fragment which wholly overlapped one or more existing fragments.

Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>

25 years ago64bit fixes.
dima [Tue, 27 Oct 1998 04:01:19 +0000 (04:01 +0000)]
64bit fixes.
(Note: ``dump'' doesn't work on alpha yet. Apparently there's a problem
somewhere is the physio() area)

Submitted by: myself && Matt Dillon.

25 years ago(`'): and (`'); -> (`:') and (`;')
fenner [Mon, 26 Oct 1998 19:36:38 +0000 (19:36 +0000)]
(`'): and (`'); -> (`:') and (`;')

25 years agoShuffle the iface-alias option so that's in alphabetical
brian [Mon, 26 Oct 1998 19:07:42 +0000 (19:07 +0000)]
Shuffle the iface-alias option so that's in alphabetical
order like the rest of the options.

25 years agoAdd ``enable proxyall'' support. This adds proxy ARP entries
brian [Mon, 26 Oct 1998 19:07:39 +0000 (19:07 +0000)]
Add ``enable proxyall'' support.  This adds proxy ARP entries
for every machine on every class C or smaller subnet that we
route to.
Add ``set {send,recv}pipe'' for controlling our socket buffer
sizes.
Mention the IP number with the problem in a few error messages.
All submitted by:     Craig Leres <leres@ee.lbl.gov>
Modified slightly by: me

25 years agoFix the interface alias code. Previously, I was expecting something
brian [Mon, 26 Oct 1998 19:07:36 +0000 (19:07 +0000)]
Fix the interface alias code.  Previously, I was expecting something
like

tun0: flags=blah
10.0.0.1 -> 10.0.0.100
10.0.0.2 -> 10.0.0.100
10.0.0.3 -> 10.0.0.100

to DTRT, despite the SIOCAIFADDR for each new alias returning
-1 & EEXIST while adding the alias anyway.  In real life, once
we have the second alias with the same destination, nothing will
route any more !  Also, because I was ignoring EEXIST, the
dynamic IP assignment code was assigning duplicate addresses
('cos it was being lied to by iface_inAdd()).

Now we have

tun0: flags=blah
10.0.0.1 -> 255.255.255.255
10.0.0.2 -> 10.0.0.100
10.0.0.3 -> 255.255.255.255

This works - stuff bound to 10.1 & 10.3 will be considered alive
by the kernel, and when they route back to the tun device, the
packets get aliased to 10.2 and go out to 10.100 (as with the
original plan).

We still see the EEXIST in SIOCAIFADDR, but ignore it when our
destination is 255.255.255.255, assuming that the alias *was*
actually added.

Additionally, ``iface add'' may now optionally be given only
the interface address.  The mask & destination default to
255.255.255.255.

25 years agoAnother instance where we default to elf only on alpha, but should
imp [Mon, 26 Oct 1998 18:27:32 +0000 (18:27 +0000)]
Another instance where we default to elf only on alpha, but should
default to aout only on i386.

25 years agoBogon I somehow inserted between compiling and commiting...
obrien [Mon, 26 Oct 1998 13:33:39 +0000 (13:33 +0000)]
Bogon I somehow inserted between compiling and commiting...

25 years agoQuiet many compiler warnings. Still fails -Wconversion in one case.
obrien [Mon, 26 Oct 1998 11:54:36 +0000 (11:54 +0000)]
Quiet many compiler warnings.  Still fails -Wconversion in one case.

Required because: -Werror is in Makefile

25 years agoRemoved redundant bitrotted checks for major numbers instead of updating
bde [Mon, 26 Oct 1998 08:53:13 +0000 (08:53 +0000)]
Removed redundant bitrotted checks for major numbers instead of updating
them.

25 years agoUpdated the major number check in vfs_object_create(). It's not
bde [Mon, 26 Oct 1998 08:07:00 +0000 (08:07 +0000)]
Updated the major number check in vfs_object_create().  It's not
clear if the check is necessary, but vfs_object_create() is called
for all vnodes and it was silly to create objects for VBLK vnodes
that don't even have a driver.

25 years agoCheck the major number of the boot device more carefully. There was only
bde [Mon, 26 Oct 1998 07:05:34 +0000 (07:05 +0000)]
Check the major number of the boot device more carefully.  There was only
a problem if the boot blocks passed bad data.

Check the major number of the dump device consistently.

25 years agoFixed breakage of the GPROF case of statclock() in the previous commit.
bde [Mon, 26 Oct 1998 06:13:18 +0000 (06:13 +0000)]
Fixed breakage of the GPROF case of statclock() in the previous commit.

25 years agoIf we know the content-length, only read that number of bytes from
fenner [Mon, 26 Oct 1998 02:39:21 +0000 (02:39 +0000)]
If we know the content-length, only read that number of bytes from
the server.  There exists a broken server which sends a few extra
garbage bytes in response to HTTP/1.1 requests.

25 years agoDon't send a DELAY value when sending CBCP_NONUM
brian [Sun, 25 Oct 1998 23:35:15 +0000 (23:35 +0000)]
Don't send a DELAY value when sending CBCP_NONUM
(as per the spec).
Spotted by: Andrzej Tobola <san@koziolek.lublin.top.pl>

25 years agoupdate to match reality
obrien [Sun, 25 Oct 1998 22:34:33 +0000 (22:34 +0000)]
update to match reality

25 years agoOops, back out some local changes that shouldn't have been in the
bde [Sun, 25 Oct 1998 20:11:36 +0000 (20:11 +0000)]
Oops, back out some local changes that shouldn't have been in the
previous commit.

25 years agoFixed breakage of the !SMP case of roundrobin() in the previous commit.
bde [Sun, 25 Oct 1998 19:57:23 +0000 (19:57 +0000)]
Fixed breakage of the !SMP case of roundrobin() in the previous commit.

25 years agoDon't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted
bde [Sun, 25 Oct 1998 19:26:18 +0000 (19:26 +0000)]
Don't follow null bdevsw pointers.  The `major(dev) < nblkdev' test rotted
when bdevsw[] became sparse.  We still depend on magic to avoid having to
check that (v_rdev) device numbers in vnodes are not NODEV.

25 years agoDon't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted
bde [Sun, 25 Oct 1998 19:24:04 +0000 (19:24 +0000)]
Don't follow null bdevsw pointers.  The `major(dev) < nblkdev' test rotted
when bdevsw[] became sparse.  We still depend on magic to avoid having to
check that (v_rdev) device numbers in vnodes are not NODEV.

Removed a redundant `major(dev) < nblkdev' test instead of updating it.

Don't follow a garbage bdevsw pointer for attempts to swap on empty
regular files.  This case currently can't happen.  Swapping on regular
files is ifdefed out in swapon() and isn't attempted for empty files
in nfs_mountroot().

25 years agoDon't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted
bde [Sun, 25 Oct 1998 19:02:48 +0000 (19:02 +0000)]
Don't follow null bdevsw pointers.  The `major(dev) < nblkdev' test rotted
when bdevsw[] became sparse.  We still depend on magic to avoid having to
check that (v_rdev) device numbers in vnodes are not NODEV.

Removed redundant `major(dev) < nblkdev' tests instead of updating them.

25 years agoNitpicking and dusting performed on a train. Removes trivial warnings
phk [Sun, 25 Oct 1998 17:44:59 +0000 (17:44 +0000)]
Nitpicking and dusting performed on a train.  Removes trivial warnings
about unused variables, labels and other lint.

25 years agoFixed device number checking in bdevvp():
bde [Sun, 25 Oct 1998 16:11:49 +0000 (16:11 +0000)]
Fixed device number checking in bdevvp():
- dev != NODEV was checked for, but 0 was returned on failure.  This was
  fixed in Lite2 (except the return code was still slightly wrong (ENODEV
  instead of ENXIO)) but the changes were not merged.  This case probably
  doesn't actually occur under FreeBSD.
- major(dev) was not checked to have a valid non-NULL bdevsw entry.  This
  caused panics when the driver for the root device didn't exist.

Fixed minor misformattings in bdevvp().  Rev.1.14 consisted mainly of
gratuitous reformattings that seem to have caused many Lite2 merge
errors.

PR: 8417

25 years agoRemove redundant files (they are recreated during building from templates
abial [Sun, 25 Oct 1998 15:48:18 +0000 (15:48 +0000)]
Remove redundant files (they are recreated during building from templates
in ../../lang/).

25 years agoChanges to comply with new syntax.
abial [Sun, 25 Oct 1998 15:31:26 +0000 (15:31 +0000)]
Changes to comply with new syntax.

Noticed by: bde, the Hawk Eye :-)

25 years agoAdd msg.
abial [Sun, 25 Oct 1998 15:17:24 +0000 (15:17 +0000)]
Add msg.

25 years agoChanges to comply with new syntax.
abial [Sun, 25 Oct 1998 15:16:58 +0000 (15:16 +0000)]
Changes to comply with new syntax.

Noticed by: bde, the Hawk Eye :-)

25 years agoAllow to use other floppy sizes for "router" floppy.
abial [Sun, 25 Oct 1998 15:15:55 +0000 (15:15 +0000)]
Allow to use other floppy sizes for "router" floppy.

25 years agoSlight style police.
obrien [Sun, 25 Oct 1998 13:29:57 +0000 (13:29 +0000)]
Slight style police.
Add some content from objformat(1).

25 years agoAdd manpage for objformat. This needs major word smithing.
obrien [Sun, 25 Oct 1998 13:25:42 +0000 (13:25 +0000)]
Add manpage for objformat.  This needs major word smithing.

25 years agoBackout out previous commit. The bug was in the kernel.
bde [Sun, 25 Oct 1998 10:59:44 +0000 (10:59 +0000)]
Backout out previous commit.  The bug was in the kernel.

25 years agoFixed sysctl attachment for statically configured vfs's.
bde [Sun, 25 Oct 1998 10:52:34 +0000 (10:52 +0000)]
Fixed sysctl attachment for statically configured vfs's.

Broken in: previous commit

25 years agoAdd some missing dependencies.
phk [Sun, 25 Oct 1998 07:23:32 +0000 (07:23 +0000)]
Add some missing dependencies.

Grumbled about in principle: bde

25 years agofix unsigned overflow
ache [Sun, 25 Oct 1998 05:06:42 +0000 (05:06 +0000)]
fix unsigned overflow
PR: 8437

25 years agoRemove redundant copies, and give credit to proper person.
abial [Sun, 25 Oct 1998 03:16:03 +0000 (03:16 +0000)]
Remove redundant copies, and give credit to proper person.

Noticed by: jkh

25 years agoWith much regret, I had to remove these two programs - their license
abial [Sun, 25 Oct 1998 03:02:56 +0000 (03:02 +0000)]
With much regret, I had to remove these two programs - their license
doesn't permit us to distribute them. I think I should take some law
classes...

Explained by: bde

25 years agoFix the interrupt mask generated for enabling/disabling interrupts 8 to 15.
paul [Sun, 25 Oct 1998 01:30:16 +0000 (01:30 +0000)]
Fix the interrupt mask generated for enabling/disabling interrupts 8 to 15.

25 years agoWork around some variables having N_UNDF types but valid values; this
msmith [Sat, 24 Oct 1998 23:12:09 +0000 (23:12 +0000)]
Work around some variables having N_UNDF types but valid values; this
makes vmstat work on ELF kernels again.
Submitted by: Daniel Rock <rock@cs.uni-sb.de>

25 years agoUpdate to current reality. We can now track several LORSTA on separate
phk [Sat, 24 Oct 1998 19:55:09 +0000 (19:55 +0000)]
Update to current reality.  We can now track several LORSTA on separate
minor devices.

Improve PLL/OCXO DAC dithering.

General remodeling.

Performance is now 2.5e-11 in frequency and +/- 100 nsec in time, both
of which are actually the limits of the transmitted signal.

25 years agoUpdate and add timekeeping code.
phk [Sat, 24 Oct 1998 19:47:42 +0000 (19:47 +0000)]
Update and add timekeeping code.

25 years agoHeader file for XRPU devices.
phk [Sat, 24 Oct 1998 19:47:29 +0000 (19:47 +0000)]
Header file for XRPU devices.

25 years agoUse sysctlbyname() to locate the vfs.nfs.nfsstats node.
msmith [Sat, 24 Oct 1998 19:36:52 +0000 (19:36 +0000)]
Use sysctlbyname() to locate the vfs.nfs.nfsstats node.
Submitted by: Daniel Rock <rock@cs.uni-sb.de>

25 years agoDon't complain about SIOCGIFMEDIA; it's harmless and not something
msmith [Sat, 24 Oct 1998 18:55:53 +0000 (18:55 +0000)]
Don't complain about SIOCGIFMEDIA; it's harmless and not something
useful here yet.

Submitted by: markm and others

25 years agoDon't put 0x in front of %p, it does it already.
msmith [Sat, 24 Oct 1998 18:35:09 +0000 (18:35 +0000)]
Don't put 0x in front of %p, it does it already.
Submitted by:  Brian Feldman <green@janus.syracuse.net>

25 years agoPR: 8429
thepish [Sat, 24 Oct 1998 10:08:05 +0000 (10:08 +0000)]
PR: 8429
Submitted by: jkb@FreeBSD.ORG
correct typo in example

25 years agoWhen invoked as "objformat" to print out the current object format,
jdp [Sat, 24 Oct 1998 02:01:30 +0000 (02:01 +0000)]
When invoked as "objformat" to print out the current object format,
produce an error message if any arguments are given on the command
line.

25 years agoLoosen our restrictions on setting enddisc, mrru,
brian [Sat, 24 Oct 1998 01:08:45 +0000 (01:08 +0000)]
Loosen our restrictions on setting enddisc, mrru,
shortseq, authname and authkey.

o Auth{name,key} may additionally be set in PHASE_ESTABLISH.
o The others may be set in PHASE_ESTABLISH as long as no links
  have yet reached DATALINK_LCP.

25 years agoReserve some space for the stack in the region we recover from the initial
msmith [Sat, 24 Oct 1998 00:31:21 +0000 (00:31 +0000)]
Reserve some space for the stack in the region we recover from the initial
bootloader.
Submitted by: dfr

25 years agoClean the ${BASE}.sym file as well.
msmith [Fri, 23 Oct 1998 22:32:27 +0000 (22:32 +0000)]
Clean the ${BASE}.sym file as well.

25 years agoRemove a debugging copy of offsetof() that snuck in.
msmith [Fri, 23 Oct 1998 22:30:52 +0000 (22:30 +0000)]
Remove a debugging copy of offsetof() that snuck in.

25 years agoEnable the PCI BIOS PnP enumerator.
msmith [Fri, 23 Oct 1998 22:29:19 +0000 (22:29 +0000)]
Enable the PCI BIOS PnP enumerator.

25 years agoPnP enumerator using the PCI BIOS. This is needlessly complex due to the
msmith [Fri, 23 Oct 1998 22:29:08 +0000 (22:29 +0000)]
PnP enumerator using the PCI BIOS.  This is needlessly complex due to the
lack of a simple "enumerate all PCI devices" function.

25 years agoAdded ability to auto-run a presentation.
abial [Fri, 23 Oct 1998 19:34:50 +0000 (19:34 +0000)]
Added ability to auto-run a presentation.

25 years agoOops, don't quite use RAW_PART instead of RAWPARTITION. Use 'a' + RAW_PART
bde [Fri, 23 Oct 1998 18:57:39 +0000 (18:57 +0000)]
Oops, don't quite use RAW_PART instead of RAWPARTITION.  Use 'a' + RAW_PART
in both places.

25 years agoIgnore `vector xxxintr' specifications except for checking their syntax.
bde [Fri, 23 Oct 1998 17:05:06 +0000 (17:05 +0000)]
Ignore `vector xxxintr' specifications except for checking their syntax.
Interrupt handlers are now configured in drivers.

Didn't update config/SMM.doc.  It doesn't have any i386 examples (not
even `isa').

Bumped CONFIGVERS.  This is not necessary for -current yet, but using
the new config with old system sources gives null pointers for all
vectors.

25 years agoSync with sys/i386/isa/clock.c revision 1.128.
kato [Fri, 23 Oct 1998 13:13:43 +0000 (13:13 +0000)]
Sync with sys/i386/isa/clock.c revision 1.128.

25 years agoRefer to vinum driver sources in a single location (outside of the
peter [Fri, 23 Oct 1998 11:56:45 +0000 (11:56 +0000)]
Refer to vinum driver sources in a single location (outside of the
kernel src/sys tree, sigh - it should really be sys/dev/vinum/*).

25 years agoMove the kld stuff to here.
peter [Fri, 23 Oct 1998 11:49:47 +0000 (11:49 +0000)]
Move the kld stuff to here.

25 years agoUpdate timecounters to new interface.
phk [Fri, 23 Oct 1998 10:46:20 +0000 (10:46 +0000)]
Update timecounters to new interface.

25 years agoChange the way we simulate stable storage for timecounters.
phk [Fri, 23 Oct 1998 10:44:52 +0000 (10:44 +0000)]
Change the way we simulate stable storage for timecounters.

If you have problems with the "calcru" messages and processes being
killed for excessive cpu time, try to increase the NTIMECOUNTER
#define and report your findings.

25 years agoRemove the tc_cost field from timecounters.
phk [Fri, 23 Oct 1998 10:42:42 +0000 (10:42 +0000)]
Remove the tc_cost field from timecounters.

25 years agofix spelling error.
jkh [Fri, 23 Oct 1998 10:27:50 +0000 (10:27 +0000)]
fix spelling error.
Submitted by: Pomegranate <daver@flag.blackened.net>

25 years agoFix behaviour for 'mkdir -m 777 / /tmp/foo'. Play "guess the style bug"
msmith [Fri, 23 Oct 1998 06:28:40 +0000 (06:28 +0000)]
Fix behaviour for 'mkdir -m 777 / /tmp/foo'.  Play "guess the style bug"
with Bruce again.

Reported by: bde

25 years agoOops, revert part of last fix. vm_pager_dealloc() can't be called until
dg [Fri, 23 Oct 1998 05:43:13 +0000 (05:43 +0000)]
Oops, revert part of last fix. vm_pager_dealloc() can't be called until
after the pages are removed from the object...so fix the problem by
not printing the diagnostic for wired fictitious pages (which is normal).

25 years agoFixed two bugs in recent commit: in vm_object_terminate, vm_pager_dealloc
dg [Fri, 23 Oct 1998 05:25:49 +0000 (05:25 +0000)]
Fixed two bugs in recent commit: in vm_object_terminate, vm_pager_dealloc
needs to be called prior to freeing remaining pages in the object so that
the device pager has an opportunity to grab its "fake" pages. Also, in
the case of wired pages, the page must be made busy prior to calling
vm_page_remove. This is a difference from 2.2.x that I overlooked when
I brought these changes forward.

25 years agoFix a problem with the way we handled device invalidation when attaching
ken [Thu, 22 Oct 1998 22:16:56 +0000 (22:16 +0000)]
Fix a problem with the way we handled device invalidation when attaching
to a device failed.

In theory, the same steps that happen when we get an AC_LOST_DEVICE async
notification should have been taken when a driver fails to attach.  In
practice, that wasn't the case.

This only affected the da, cd and ch drivers, but the fix affects all
peripheral drivers.

There were several possible problems:
 - In the da driver, we didn't remove the peripheral's softc from the da
   driver's linked list of softcs.  Once the peripheral and softc got
   removed, we'd get a kernel panic the next time the timeout routine
   called dasendorderedtag().
 - In the da, cd and possibly ch drivers, we didn't remove the
   peripheral's devstat structure from the devstat queue.  Once the
   peripheral and softc were removed, this could cause a panic if anyone
   tried to access device statistics.  (one component of the linked list
   wouldn't exist anymore)
 - In the cd driver, we didn't take the peripheral off the changer run
   queue if it was scheduled to run.  In practice, it's highly unlikely,
   and maybe impossible that the peripheral would have been on the
   changer run queue at that stage of the probe process.

The fix is:
 - Add a new peripheral callback function (the "oninvalidate" function)
   that is called the first time cam_periph_invalidate() is called for a
   peripheral.

 - Create new foooninvalidate() routines for each peripheral driver.  This
   routine is always called at splsoftcam(), and contains all the stuff
   that used to be in the AC_LOST_DEVICE case of the async callback
   handler.

 - Move the devstat cleanup call to the destructor/cleanup routines, since
   some of the drivers do I/O in their close routines.

 - Make sure that when we're flushing the buffer queue, we traverse it at
   splbio().

 - Add a check for the invalid flag in the pt driver's open routine.

Reviewed by: gibbs

25 years agoHonour the spirit rather than the implementation of the previous changes;
msmith [Thu, 22 Oct 1998 21:42:20 +0000 (21:42 +0000)]
Honour the spirit rather than the implementation of the previous changes;
if we are invoked with -m, use chmod() on the final directory component
in order to ensure the mode is correctly set.

25 years agoPnP BIOS enumerator; mostly useful for hunting PnP devices that are supported
msmith [Thu, 22 Oct 1998 20:25:06 +0000 (20:25 +0000)]
PnP BIOS enumerator; mostly useful for hunting PnP devices that are supported
by the system BIOS rather than supporting ISA PnP.

25 years agoAdd a dependancy on the BTX crt0 object
msmith [Thu, 22 Oct 1998 20:23:58 +0000 (20:23 +0000)]
Add a dependancy on the BTX crt0 object
Add the biospnp handler to the pnp handler array
Drop some old debugging code

25 years agoAdd biospnp.c
msmith [Thu, 22 Oct 1998 20:23:15 +0000 (20:23 +0000)]
Add biospnp.c

25 years agoPop the return address off the stack before making a V86_CALLF call;
msmith [Thu, 22 Oct 1998 20:22:07 +0000 (20:22 +0000)]
Pop the return address off the stack before making a V86_CALLF call;
this allows us to implement what look like C function calls from user
space "directly" to v86 mode code.  (Used for calling the PnP BIOS)

25 years agoExport an interface for presetting the ISA PnP read port address.
msmith [Thu, 22 Oct 1998 20:20:51 +0000 (20:20 +0000)]
Export an interface for presetting the ISA PnP read port address.
Make the EISA ID formatter generally available