]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoRemove DDB, it leaked in here with another commit.
phk [Mon, 11 Dec 2000 14:02:00 +0000 (14:02 +0000)]
Remove DDB, it leaked in here with another commit.

Submitted by: bde

23 years agoDocument /usr/include/netnatm and /usr/share/sendmail.
ru [Mon, 11 Dec 2000 13:41:57 +0000 (13:41 +0000)]
Document /usr/include/netnatm and /usr/share/sendmail.

23 years agomdoc(7) cosmetics.
ru [Mon, 11 Dec 2000 10:18:32 +0000 (10:18 +0000)]
mdoc(7) cosmetics.

Submitted by: sheldonh

23 years ago.Nm Config -> .Nm, there is no such program "Config" in FreeBSD.
ben [Mon, 11 Dec 2000 10:14:58 +0000 (10:14 +0000)]
.Nm Config -> .Nm, there is no such program "Config" in FreeBSD.

PR: 23404
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>

23 years agoIt looks like we can't count on these devices always having a consistent
msmith [Mon, 11 Dec 2000 10:04:01 +0000 (10:04 +0000)]
It looks like we can't count on these devices always having a consistent
class/subclass, so give up trying to cull the list.  Instead, complain
in the bootverbose case, but otherwise just accept that we will have to
carry this list of device IDs around.

23 years agomdoc(7) police: reapply rev 1.7 lost in previous commit, clean up a bit.
ru [Mon, 11 Dec 2000 09:42:00 +0000 (09:42 +0000)]
mdoc(7) police: reapply rev 1.7 lost in previous commit, clean up a bit.

23 years ago Be less conservative with a recently added KASSERT. Certain edge
dillon [Mon, 11 Dec 2000 07:52:47 +0000 (07:52 +0000)]
Be less conservative with a recently added KASSERT.  Certain edge
    cases with file fragments and read-write mmap's can lead to a situation
    where a VM page has odd dirty bits, e.g. 0xFC - due to being dirtied by
    an mmap and only the fragment (representing a non-page-aligned end of
    file) synced via a filesystem buffer.  A correct solution that
    guarentees consistent m->dirty for the file EOF case is being
    worked on.  In the mean time we can't be so conservative in the
    KASSERT.

23 years agoFix a typo in the listing for the Accton "Cheetah".
bmah [Mon, 11 Dec 2000 04:51:12 +0000 (04:51 +0000)]
Fix a typo in the listing for the Accton "Cheetah".

23 years agoNew release notes: pccardc(8) beep types, PCI cleanups and pci_vendors,
bmah [Mon, 11 Dec 2000 04:50:21 +0000 (04:50 +0000)]
New release notes:  pccardc(8) beep types, PCI cleanups and pci_vendors,
OpenSSH->2.3.0 and PAM support, tcsh->6.10.0, elimination of emulation-
loading scripts, top(1) screen width fix, groff->1.16.1, growfs(8) and
ffsinfo(8), new indent(1) options.

Also fix a typo describing the Accton "Cheetah".

23 years agoMove telldir position recording type definitions and prototypes
deischen [Mon, 11 Dec 2000 04:00:36 +0000 (04:00 +0000)]
Move telldir position recording type definitions and prototypes
to "telldir.h" in order to prevent namespace pollution in
<dirent.h> (which was including <sys/queue.h>).

Add $FreeBSD$ to rewinddir.c and seekdir.c.

23 years agoFix a bug where if the interface was in promiscuous mode when the
archie [Mon, 11 Dec 2000 03:36:26 +0000 (03:36 +0000)]
Fix a bug where if the interface was in promiscuous mode when the
last hook was disconnected, the interface would not get reset to
non-promiscuous mode.

Reported by: jdp

23 years agoThis commit was generated by cvs2svn to compensate for changes in r69836,
assar [Sun, 10 Dec 2000 21:01:33 +0000 (21:01 +0000)]
This commit was generated by cvs2svn to compensate for changes in r69836,
which included commits to RCS files with non-trunk default branches.

23 years agomerge fix from vendor for not overwriting old ticket file
assar [Sun, 10 Dec 2000 21:01:33 +0000 (21:01 +0000)]
merge fix from vendor for not overwriting old ticket file

23 years agoThis commit was generated by cvs2svn to compensate for changes in r69833,
assar [Sun, 10 Dec 2000 21:00:35 +0000 (21:00 +0000)]
This commit was generated by cvs2svn to compensate for changes in r69833,
which included commits to RCS files with non-trunk default branches.

23 years agomerge fix from vendor for removing buffer overrun
assar [Sun, 10 Dec 2000 21:00:35 +0000 (21:00 +0000)]
merge fix from vendor for removing buffer overrun

23 years agoThis commit was generated by cvs2svn to compensate for changes in r69830,
assar [Sun, 10 Dec 2000 20:59:35 +0000 (20:59 +0000)]
This commit was generated by cvs2svn to compensate for changes in r69830,
which included commits to RCS files with non-trunk default branches.

23 years agomerge fix from vendor for not looking at environment variables
assar [Sun, 10 Dec 2000 20:59:35 +0000 (20:59 +0000)]
merge fix from vendor for not looking at environment variables

23 years agoThe tunefs code assumed that the last argument was the device specification.
charnier [Sun, 10 Dec 2000 20:59:30 +0000 (20:59 +0000)]
The tunefs code assumed that the last argument was the device specification.
We need to parse the arguments first, then open the device (if
specified) and then apply the changes. This change will disallow the
(undocumented) use of multiple instances of the same argument on the
same command line for the sack of a better error message.

Other changes are:
1) the softupdates (-n) now issue a warning about remaining unchanged
2) the usage and man page is changed to specify "space | time" instead of
"optimization preference".

PR: bin/23335
Submitted by:Mark Peek <mark@whistle.com>

23 years agoRemove unused #includes, duplicate $FreeBSD$ and $NetBSD$ definitions.
charnier [Sun, 10 Dec 2000 20:57:23 +0000 (20:57 +0000)]
Remove unused #includes, duplicate $FreeBSD$ and $NetBSD$ definitions.

Reviewed by: Ruslan Ermilov <ru@FreeBSD.org>

23 years agoAdd rcsid. Remove unused #include. Remove error() definition and replace
charnier [Sun, 10 Dec 2000 20:54:13 +0000 (20:54 +0000)]
Add rcsid. Remove unused #include. Remove error() definition and replace
with warn().

23 years agoRemove one more incorrect section name. Typos.
charnier [Sun, 10 Dec 2000 20:52:43 +0000 (20:52 +0000)]
Remove one more incorrect section name. Typos.
Add rcsid. fprintf -> warn.

23 years ago(scrub_env): change to only accept a listed set of variables,
assar [Sun, 10 Dec 2000 20:50:20 +0000 (20:50 +0000)]
(scrub_env): change to only accept a listed set of variables,
including only non-filename contents for TERMCAP

23 years agoAdd a reference to the fetch(3) man page.
des [Sun, 10 Dec 2000 13:24:41 +0000 (13:24 +0000)]
Add a reference to the fetch(3) man page.

23 years agoOn Sundays through Fridays, run daily at 03:01 am.
des [Sun, 10 Dec 2000 12:54:34 +0000 (12:54 +0000)]
On Sundays through Fridays, run daily at 03:01 am.
On Saturdays, run daily and weekly sequentially, starting at 03:01 am.

This prevents daily and weekly from overlapping, while running weekly as
early as possible  (i.e. as soon as daily finishes) to give it time to
finish before monthly starts at 05:30 am.

It's probably possible to do something similar with monthly, making it
run as soon as daily (and possibly weekly, if the first of the month
is a Saturday) finishes, but this is left as an exercise for the reader.

23 years agoThe ICH2 reports itself as a PCI:ISA bridge, so don't special-case it
msmith [Sun, 10 Dec 2000 11:15:19 +0000 (11:15 +0000)]
The ICH2 reports itself as a PCI:ISA bridge, so don't special-case it
here.

Submitted by: Michael Harnois <mdharnois@home.com>

23 years agoAdded 'MACHINE=pc98' to MKMODULESENV variable. It is needed to make modules
nyan [Sun, 10 Dec 2000 10:28:01 +0000 (10:28 +0000)]
Added 'MACHINE=pc98' to MKMODULESENV variable. It is needed to make modules
for PC-98 on IBM-PC box.

23 years agoAdded '-DPC98' to CFLAGS if MACHINE == pc98.
nyan [Sun, 10 Dec 2000 10:07:50 +0000 (10:07 +0000)]
Added '-DPC98' to CFLAGS if MACHINE == pc98.

23 years agoRemoved the VoxWare sound drivers.
nyan [Sun, 10 Dec 2000 10:02:32 +0000 (10:02 +0000)]
Removed the VoxWare sound drivers.

23 years agoActually install pci_vendors.
bde [Sun, 10 Dec 2000 08:06:36 +0000 (08:06 +0000)]
Actually install pci_vendors.

23 years agoo Remove mcclock
marcel [Sun, 10 Dec 2000 04:32:34 +0000 (04:32 +0000)]
o  Remove mcclock
o  s/alpha/ia64/g

23 years agoSync-up so that buils actually work again.
marcel [Sun, 10 Dec 2000 04:31:16 +0000 (04:31 +0000)]
Sync-up so that buils actually work again.

23 years agoAdd history.
obrien [Sun, 10 Dec 2000 01:10:54 +0000 (01:10 +0000)]
Add history.

23 years agoPut the bits in place for Alpha support for ext2. Not tested.
mjacob [Sat, 9 Dec 2000 22:32:49 +0000 (22:32 +0000)]
Put the bits in place for Alpha support for ext2. Not tested.

23 years agoCorrect to a common %ld the 5 argument to a printf.
mjacob [Sat, 9 Dec 2000 22:32:01 +0000 (22:32 +0000)]
Correct to a common %ld the 5 argument to a printf.

23 years agoUse a pointer to a size_t for the 4th argument to copyinstr-
mjacob [Sat, 9 Dec 2000 22:31:34 +0000 (22:31 +0000)]
Use a pointer to a size_t for the 4th argument to copyinstr-
not a pointer to a u_int.

23 years agoStore in globaldata our CPU ID#. Provide a lock for panics - only one
mjacob [Sat, 9 Dec 2000 20:52:42 +0000 (20:52 +0000)]
Store in globaldata our CPU ID#. Provide a lock for panics - only one
CPU can panic at a time.
Obtained from:Andrew Gallatin <gallatin@cs.duke.edu>

23 years agoThe options I added where not formated to new manpage style specs.
obrien [Sat, 9 Dec 2000 19:03:21 +0000 (19:03 +0000)]
The options I added where not formated to new manpage style specs.

23 years agoAdd proc/<pid>/cmdline.
des [Sat, 9 Dec 2000 16:20:48 +0000 (16:20 +0000)]
Add proc/<pid>/cmdline.

23 years agoAdd a dependency on procfs.
des [Sat, 9 Dec 2000 16:20:35 +0000 (16:20 +0000)]
Add a dependency on procfs.

23 years agoadded growfs(8) including ffsinfo(8) to the freebsd base system
tomsoft [Sat, 9 Dec 2000 15:27:35 +0000 (15:27 +0000)]
added growfs(8) including ffsinfo(8) to the freebsd base system

Reviewed by:  grog

23 years agoA bunch of fixes that have been rotting in my tree for a month or two
des [Sat, 9 Dec 2000 13:25:54 +0000 (13:25 +0000)]
A bunch of fixes that have been rotting in my tree for a month or two
waiting for procfs to get fixed:

  - Use fill_eproc() to obtain correct VM stats. Attempt to compute VmLib.

  - Fill some more fields in proc/<pid>/stat, and add four (unimplemented)
    fields after studying a recent Linux kernel.

  - Compute CPU frequency only once instead of twice.

  - Fix some comments that were OBE.

  - Fix indentation except where it makes the code less readable.

23 years agoAdd a module version (so that linprocfs can properly depend on procfs)
des [Sat, 9 Dec 2000 13:17:51 +0000 (13:17 +0000)]
Add a module version (so that linprocfs can properly depend on procfs)

23 years agoAdd four missing source files.
des [Sat, 9 Dec 2000 13:17:35 +0000 (13:17 +0000)]
Add four missing source files.

23 years agoAdd or fix FreeBSD IDs.
obrien [Sat, 9 Dec 2000 09:52:52 +0000 (09:52 +0000)]
Add or fix FreeBSD IDs.

23 years ago"Implement -[n]fcb (formatting of block comments) and attempt to implement
obrien [Sat, 9 Dec 2000 09:45:09 +0000 (09:45 +0000)]
"Implement -[n]fcb (formatting of block comments) and attempt to implement
no-space=after-sizeof (not optional) and no-space-after 'struct foo *'
(not optional).  Without these, indent unKNFizes even more perfectly KNF code."

Submitted by: bde

23 years agoCosmetic nit; separate slot/function with '.' not ':'
msmith [Sat, 9 Dec 2000 09:37:07 +0000 (09:37 +0000)]
Cosmetic nit; separate slot/function with '.' not ':'

23 years agoAdd `_PATH_DEVZERO'.
obrien [Sat, 9 Dec 2000 09:35:55 +0000 (09:35 +0000)]
Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.

23 years ago - Fix the device database parsing code so that it actually works.
msmith [Sat, 9 Dec 2000 09:15:38 +0000 (09:15 +0000)]
 - Fix the device database parsing code so that it actually works.
 - Improve the formatting for devices identified by the database.
 - Fix the pcib_route_interrupt method definition, as an old version
   snuck in here somehow 8(
 - Remove a couple of the vendor/device IDs for PCI:ISA bridges which
   correctly identify themselves.

Submitted by: peter

23 years agoMoved the snc driver position before the sn driver.
nyan [Sat, 9 Dec 2000 04:51:13 +0000 (04:51 +0000)]
Moved the snc driver position before the sn driver.

Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>

23 years agoFixed to support 3Com 3C569B for PC-98.
nyan [Sat, 9 Dec 2000 04:25:07 +0000 (04:25 +0000)]
Fixed to support 3Com 3C569B for PC-98.

Submitted by: "Hirokazu WATANABE" <gwna@geocities.co.jp>

23 years agoRemove a comment that referrred to the obsolete mtxf struct.
jhb [Sat, 9 Dec 2000 00:14:43 +0000 (00:14 +0000)]
Remove a comment that referrred to the obsolete mtxf struct.

23 years agoUpdate for new location of pcireg.h.
msmith [Sat, 9 Dec 2000 00:07:46 +0000 (00:07 +0000)]
Update for new location of pcireg.h.

23 years agoNext-phase PCI system update; move PCI core code to sys/dev and update
msmith [Fri, 8 Dec 2000 22:26:48 +0000 (22:26 +0000)]
Next-phase PCI system update; move PCI core code to sys/dev and update
header include path to include sys/dev to avoid massive #include updates.

23 years agoNext phase in the PCI subsystem cleanup.
msmith [Fri, 8 Dec 2000 22:11:23 +0000 (22:11 +0000)]
Next phase in the PCI subsystem cleanup.

 - Move PCI core code to dev/pci.
 - Split bridge code out into separate modules.
 - Remove the descriptive strings from the bridge drivers.  If you
   want to know what a device is, use pciconf.  Add support for
   broadly identifying devices based on class/subclass, and for
   parsing a preloaded device identification database so that if
   you want to waste the memory, you can identify *anything* we know
   about.
 - Remove machine-dependant code from the core PCI code.  APIC interrupt
   mapping is performed by shadowing the intline register in machine-
   dependant code.
 - Bring interrupt routing support to the Alpha
   (although many platforms don't yet support routing or mapping
   interrupts entirely correctly).  This resulted in spamming
   <sys/bus.h> into more places than it really should have gone.
 - Put sys/dev on the kernel/modules include path.  This avoids
   having to change *all* the pci*.h includes.

23 years agoFix some nits in the globs used to describe the various sets of atomic
jhb [Fri, 8 Dec 2000 22:10:28 +0000 (22:10 +0000)]
Fix some nits in the globs used to describe the various sets of atomic
operations.

Submitted by: jake, jasone

23 years agoConvert more malloc+bzero to malloc+M_ZERO.
dwmalone [Fri, 8 Dec 2000 21:51:06 +0000 (21:51 +0000)]
Convert more malloc+bzero to malloc+M_ZERO.

Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>

23 years agoFix probe/attach a little. We don't have to call bpfattach() anymore
wpaul [Fri, 8 Dec 2000 21:35:11 +0000 (21:35 +0000)]
Fix probe/attach a little. We don't have to call bpfattach() anymore
since ether_ifattach() does it for us. We do need to call ether_ifdetach()
instead of if_detach(). And we don't have to check for ifp->if_name
already being initialized because it never will be in FreeBSD 4.x and
above.

Reviewed by: Warner Losh, Duncan Barclay

23 years agoRevert the previous change I made to cpu_switch. It doesn't help as
jake [Fri, 8 Dec 2000 21:31:52 +0000 (21:31 +0000)]
Revert the previous change I made to cpu_switch.  It doesn't help as
much as I thought it would and according to bde was a pessimization.

23 years agoFix typo.
archie [Fri, 8 Dec 2000 21:01:47 +0000 (21:01 +0000)]
Fix typo.

Submitted by: Ben Smithurst <csxbcs@comp.leeds.ac.uk>

23 years agoStaticise some malloc pools
msmith [Fri, 8 Dec 2000 20:48:33 +0000 (20:48 +0000)]
Staticise some malloc pools

Submitted by: phk

23 years agoDo not check for existence of ${_dir}/kern/ , because for modules that set
jasone [Fri, 8 Dec 2000 20:36:32 +0000 (20:36 +0000)]
Do not check for existence of ${_dir}/kern/ , because for modules that set
.PATH to ${.CURDIR}/[...]/kern , the "exists" expression will fail for the
form exists(${.CURDIR}/[...]/kern/).  This appears to be happening because
make is searching for the argument to "exists" by using .PATH rather than a
relative search, because .PATH and the argument match at the beginning.
Additionally, make appears to consider a path that starts with ${.CURDIR}
as relative, even though it expands to an absolute path.

The reason that most people aren't seeing this problem is that the absolute
paths of /usr/src/sys and /sys are also searched, so as long as the kernel
source can be found in at least one of those places, no problems surface.
This problem was inadvertently introduced on 1 December 2000, with the
addition of the sysvipc modules.

23 years agoStaticize some malloc M_ instances.
phk [Fri, 8 Dec 2000 20:09:00 +0000 (20:09 +0000)]
Staticize some malloc M_ instances.

23 years agoFix a jump to the wrong label, <sigh>. Put a period at the end of a
jake [Fri, 8 Dec 2000 19:53:37 +0000 (19:53 +0000)]
Fix a jump to the wrong label, <sigh>.  Put a period at the end of a
sentence in a comment.

Submitted by: bde

23 years agoFixes to the Aironet driver to clear up some WEP issues.
archie [Fri, 8 Dec 2000 19:02:35 +0000 (19:02 +0000)]
Fixes to the Aironet driver to clear up some WEP issues.
"Security notes" section to the man page added by me.

PR: 23097
Submitted by: Doug Ambrisko <ambrisko@whistle.com>

23 years agoFixes to the Aironet driver to clear up some WEP issues.
archie [Fri, 8 Dec 2000 19:00:10 +0000 (19:00 +0000)]
Fixes to the Aironet driver to clear up some WEP issues.

PR: 23097
Submitted by: Doug Ambrisko <ambrisko@whistle.com>

23 years agoArgh, revert the clobber changes. Since %ecx and %edx aren't call safe,
jhb [Fri, 8 Dec 2000 18:21:06 +0000 (18:21 +0000)]
Argh, revert the clobber changes.  Since %ecx and %edx aren't call safe,
calling the C functions mtx_enter_hard() and mtx_exit_hard() clobbers them.
Note that %eax is also not call safe, but it is already clobbered due to
cmpxchg.  However, now we are back to not compiling again, so these macros
are still left disabled for now.

23 years agostaticize.
phk [Fri, 8 Dec 2000 15:07:24 +0000 (15:07 +0000)]
staticize.

23 years agoRemove conflicts between unsinged char *s and int s.
non [Fri, 8 Dec 2000 13:50:20 +0000 (13:50 +0000)]
Remove conflicts between unsinged char *s and int s.
It was possible cause of kernel panic.

Pointed Out by: phk@FreeBSD.ORG

23 years agoThe drivers ncv, nsp and stg are already merged to -stable.
non [Fri, 8 Dec 2000 12:52:42 +0000 (12:52 +0000)]
The drivers ncv, nsp and stg are already merged to -stable.

23 years agomdoc(7) police: Once again, remove single-space hard sentence breaks.
ru [Fri, 8 Dec 2000 12:42:24 +0000 (12:42 +0000)]
mdoc(7) police: Once again, remove single-space hard sentence breaks.

23 years agostrunvis(3) and unvis(3) are the same files.
alex [Fri, 8 Dec 2000 12:35:06 +0000 (12:35 +0000)]
strunvis(3) and unvis(3) are the same files.

23 years agomdoc(7) police: once again, remove the hard sentence breaks.
ru [Fri, 8 Dec 2000 12:25:05 +0000 (12:25 +0000)]
mdoc(7) police: once again, remove the hard sentence breaks.

23 years agoThere are four types of encoding now, not three. Most of them use the
alex [Fri, 8 Dec 2000 12:17:53 +0000 (12:17 +0000)]
There are four types of encoding now, not three.  Most of them use the
backslash as a special char, but not all.

23 years agoRun weekly a little bit later to give more time for daily to complete
obrien [Fri, 8 Dec 2000 10:55:33 +0000 (10:55 +0000)]
Run weekly a little bit later to give more time for daily to complete
(since it starts later now).

23 years agoRemove a warning.
n_hibma [Fri, 8 Dec 2000 10:44:15 +0000 (10:44 +0000)]
Remove a warning.

Reported by: phk

23 years agoRemove unused declarations for spending and sdelayed, and remove unused
jake [Fri, 8 Dec 2000 10:39:00 +0000 (10:39 +0000)]
Remove unused declarations for spending and sdelayed, and remove unused
#defines for bits corresponding to pending interrupts.  Yay threads!

23 years agoWhitespace. Make the indentation for MPASS and MPASS2 consistent and
jake [Fri, 8 Dec 2000 09:51:13 +0000 (09:51 +0000)]
Whitespace.  Make the indentation for MPASS and MPASS2 consistent and
slightly more sane.  Make the arguments to the nop MPASS2 match those
of the functional one.  Change 4 spaces to a tab.  Don't indeent a
label so its easier to see.

23 years agoResolve conflicts from the 20001201 merge.
msmith [Fri, 8 Dec 2000 09:22:18 +0000 (09:22 +0000)]
Resolve conflicts from the 20001201 merge.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r69746,
msmith [Fri, 8 Dec 2000 09:20:40 +0000 (09:20 +0000)]
This commit was generated by cvs2svn to compensate for changes in r69746,
which included commits to RCS files with non-trunk default branches.

23 years agoUpdate to the 20001201 ACPI CA snapshot.
msmith [Fri, 8 Dec 2000 09:20:40 +0000 (09:20 +0000)]
Update to the 20001201 ACPI CA snapshot.

23 years agoAdd macros MPASS3 and MPASS4, which take the file and line number
jake [Fri, 8 Dec 2000 09:17:16 +0000 (09:17 +0000)]
Add macros MPASS3 and MPASS4, which take the file and line number
as parameters.  Use them in the mutex inlines so that the file and
line numbers are those of the caller instead of always in this file.

23 years ago - Convert a lot of homebrew debugging output to use the ACPI CA debugging
msmith [Fri, 8 Dec 2000 09:16:20 +0000 (09:16 +0000)]
 - Convert a lot of homebrew debugging output to use the ACPI CA debugging
   infrastructure.  It's not perfect, but it's a lot better than what
   we've been using so far.  The following rules apply to this:
    o BSD component names should be capitalised
    o Layer names should be taken from the non-CA set for now.  We
      may elect to add some new BSD-specific layers later.

 - Make it possible to turn off selective debugging flags or layers
   by listing them in debug.acpi.layer or debug.acpi.level prefixed
   with !.

 - Fully implement support for avoiding nodes in the ACPI namespace.
   Nodes may be listed in the debug.acpi.avoid environment variable;
   these nodes and all their children will be ignored (although still
   scanned over) by ACPI functions which scan the namespace.  Multiple
   nodes can be specified, separated by whitespace.

 - Implement support for selectively disabling ACPI subsystem components
   via the debug.acpi.disable environment variable.  The following
   components can be disabled:
    o bus creation/scanning of the ACPI 'bus'
    o children attachment of children to the ACPI 'bus'
    o button the acpi_button control-method button driver
    o ec the acpi_ec embedded-controller driver
    o isa acpi replacement of PnP BIOS for ISA device discovery
    o lid the control-method lid switch driver
    o pci pci root-bus discovery
    o processor CPU power/speed management
    o thermal system temperature detection and control
    o timer ACPI timecounter
   Multiple components may be disabled by specifying their name(s)
   separated by whitespace.

 - Add support for ioctl registration.  ACPI subsystem components may
   register ioctl handlers with the /dev/acpi generic ioctl handler,
   allowing us to avoid the need for a multitude of /dev/acpi* control
   devices, etc.

23 years agoChange the calling conventions of the MTX_ENTER macro to match
jake [Fri, 8 Dec 2000 08:49:36 +0000 (08:49 +0000)]
Change the calling conventions of the MTX_ENTER macro to match
that of MTX_EXIT.  Don't assume that the reg parameter to MTX_ENTER
holds curproc, load it explicitly.  Put semi-colons at the end of
the macros to be more consistent and so its harder to forget them
when these change.

23 years agoKill some bogus "register" keywords.
phk [Fri, 8 Dec 2000 06:57:39 +0000 (06:57 +0000)]
Kill some bogus "register" keywords.
Go Ansi on the functions.

23 years agoWell, the previous commit wasn't entirely correct either. For now, just
jhb [Fri, 8 Dec 2000 05:03:34 +0000 (05:03 +0000)]
Well, the previous commit wasn't entirely correct either.  For now, just
disable the optimized mutex micro-operations for the non-I386_CPU case
and fall back to the C stubs that call the atomic_foo() inlines.

23 years agoWhen TFTP tries to open a file, it is expecting struct open_file
ps [Fri, 8 Dec 2000 05:02:12 +0000 (05:02 +0000)]
When TFTP tries to open a file, it is expecting struct open_file
member f_devdata to be a pointer to a socket number.  When currdev
is "pxe", that assumption is correct.  When currdev is "disk*", that
assumption is incorrect.

Submitted by: Jim Browne <jbrowne@jbrowne.com>

23 years agoAdd "empty" makefile. Cross-building fails without it.
marcel [Fri, 8 Dec 2000 04:08:09 +0000 (04:08 +0000)]
Add "empty" makefile. Cross-building fails without it.

23 years agoAdd Linuxulator manpage. Derived from i386 version.
marcel [Fri, 8 Dec 2000 02:52:26 +0000 (02:52 +0000)]
Add Linuxulator manpage. Derived from i386 version.

23 years agoThe osfulator can be compiled-in now:
marcel [Fri, 8 Dec 2000 02:49:01 +0000 (02:49 +0000)]
The osfulator can be compiled-in now:
o  add kernel option to the synopsis.
o  remove "only as module" from bugs.

Reviewed by: sheldonh

23 years agoAdd comments to the proc structure to describe how each member will be
jhb [Fri, 8 Dec 2000 00:58:54 +0000 (00:58 +0000)]
Add comments to the proc structure to describe how each member will be
locked.  This list is subject to change, but hopefully many changes will
not have to be made.

23 years agoAdd missing #include.
archie [Fri, 8 Dec 2000 00:49:37 +0000 (00:49 +0000)]
Add missing #include.

23 years agoOnly call bwillwrite() for vnodes. Do not penalize devices or pipes.
dillon [Thu, 7 Dec 2000 23:45:57 +0000 (23:45 +0000)]
Only call bwillwrite() for vnodes.  Do not penalize devices or pipes.

23 years agoWhen I converted this driver, I neglected to deal with packet alignment.
wpaul [Thu, 7 Dec 2000 23:30:51 +0000 (23:30 +0000)]
When I converted this driver, I neglected to deal with packet alignment.
We must force payload alignment to a longword boundary to make the
alpha happy. This should stop the driver from trapping on the alpha
when the interface is ifconfig'ed (actually, when the first frame is
received).

23 years agoHide intrstate in the #ifdef where it belongs.
phk [Thu, 7 Dec 2000 22:38:22 +0000 (22:38 +0000)]
Hide intrstate in the #ifdef where it belongs.

23 years agoDon't use a private malloc(9) type for something this M_DEVBUFish.
phk [Thu, 7 Dec 2000 22:33:12 +0000 (22:33 +0000)]
Don't use a private malloc(9) type for something this M_DEVBUFish.

Noticed long time ago by: bde

23 years agoAdd needed include of <sys/devicestat.h>
phk [Thu, 7 Dec 2000 22:31:13 +0000 (22:31 +0000)]
Add needed include of <sys/devicestat.h>

23 years agoMove extern tsc_present outside function to quelch a warning.
phk [Thu, 7 Dec 2000 22:30:11 +0000 (22:30 +0000)]
Move extern tsc_present outside function to quelch a warning.

23 years agoAdd __ucmpdi2 prototype to quelch a warning.
phk [Thu, 7 Dec 2000 22:28:20 +0000 (22:28 +0000)]
Add __ucmpdi2 prototype to quelch a warning.

23 years agoAdd back some now needed #include <sys/systm.h>
phk [Thu, 7 Dec 2000 22:19:06 +0000 (22:19 +0000)]
Add back some now needed #include <sys/systm.h>

Fix various warnings while here anyway.

23 years agoBuild the sym driver as a kernel module.
alex [Thu, 7 Dec 2000 21:46:04 +0000 (21:46 +0000)]
Build the sym driver as a kernel module.