]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoNew netgraph node type for Ethernet bridging.
Archie Cobbs [Fri, 1 Sep 2000 01:37:25 +0000 (01:37 +0000)]
New netgraph node type for Ethernet bridging.

24 years agoNew netgraph node type for Ethernet bridging.
Archie Cobbs [Fri, 1 Sep 2000 01:37:13 +0000 (01:37 +0000)]
New netgraph node type for Ethernet bridging.
No ipfw support yet.

24 years agoDocument change to the default mount dir.
David E. O'Brien [Fri, 1 Sep 2000 01:17:18 +0000 (01:17 +0000)]
Document change to the default mount dir.

24 years agoSince this is off the vendor branch, might as well change the default
David E. O'Brien [Fri, 1 Sep 2000 01:15:56 +0000 (01:15 +0000)]
Since this is off the vendor branch, might as well change the default
mounting directory to what we always specify in /etc/defaults/rc.conf.

24 years agoRemove our override on the default time that a looked up name remains
David E. O'Brien [Fri, 1 Sep 2000 01:08:52 +0000 (01:08 +0000)]
Remove our override on the default time that a looked up name remains
cached when not in use.  This changes the FreeBSD default from 30 minutes
to 5 minutes.  JKH was the one that added the override to amd_flags, but
there was no reason given other to serve as an example of what could be
done.

24 years agoFix wrong offset bug in ng_enaddr_unparse().
Archie Cobbs [Fri, 1 Sep 2000 00:28:03 +0000 (00:28 +0000)]
Fix wrong offset bug in ng_enaddr_unparse().

24 years agoTake a shot at fixing multiple pci busses on i386.
Peter Wemm [Thu, 31 Aug 2000 23:11:35 +0000 (23:11 +0000)]
Take a shot at fixing multiple pci busses on i386.
pcib_set_bus() cannot be used on the new child because it is
meant to be used on the *pci* device (it looks at the parent internally)
not the pcib being added.  Bite the bullet and use ivars for the bus
number to avoid any doubts about whether the softc is consistant between
probe and attach.  This should not break the Alpha code.

24 years agoAvoid free'ing a NULL pointer.
Archie Cobbs [Thu, 31 Aug 2000 23:08:52 +0000 (23:08 +0000)]
Avoid free'ing a NULL pointer.

24 years agoCleanup after repo copy of sys/svr4 to sys/compat/svr4.
David E. O'Brien [Thu, 31 Aug 2000 22:54:09 +0000 (22:54 +0000)]
Cleanup after repo copy of sys/svr4 to sys/compat/svr4.

24 years agoCasts are needed to subtract u_longs.
Brian Feldman [Thu, 31 Aug 2000 22:21:33 +0000 (22:21 +0000)]
Casts are needed to subtract u_longs.

Submitted by: tor

24 years agoRemove duplicate static definition of pci_devclass
Peter Wemm [Thu, 31 Aug 2000 21:27:51 +0000 (21:27 +0000)]
Remove duplicate static definition of pci_devclass

24 years agoSlightly improve the description of "crypto". "DES" is a subset of
Mark Murray [Thu, 31 Aug 2000 17:59:01 +0000 (17:59 +0000)]
Slightly improve the description of "crypto". "DES" is a subset of
what we have in secure/.

24 years agoIntroduce explicit break statements in the various chipsets'
Andrew Gallatin [Thu, 31 Aug 2000 16:19:27 +0000 (16:19 +0000)]
Introduce explicit break statements in the various chipsets'
foo_pcib_[read|write]_config() functions rather than relying on
a break or return being in the CFG macro.

This fixes a panic later in the boot process on a UP1000.  From
inspection, it looks like this fixes a similar problem in the tsunami code.

Approved by: dfr

24 years agofix a typo introduced by Doug's busspace changes that causes UP1000s to
Andrew Gallatin [Thu, 31 Aug 2000 16:11:20 +0000 (16:11 +0000)]
fix a typo introduced by Doug's busspace changes that causes UP1000s to
crash very early in the boot process with a ksp not valid halt to the SRM.

submitted by: dfr

24 years agoForced commit to note that the previous commit closed a PR.
Dag-Erling Smørgrav [Thu, 31 Aug 2000 16:06:04 +0000 (16:06 +0000)]
Forced commit to note that the previous commit closed a PR.

PR: 19748

24 years agoImport XPG4-compliant basename(3) and dirname(3) from OpenBSD.
Dag-Erling Smørgrav [Thu, 31 Aug 2000 15:56:15 +0000 (15:56 +0000)]
Import XPG4-compliant basename(3) and dirname(3) from OpenBSD.
The man pages need some adjustments.

PR: 12960, 12962
Submitted by: James Howard <howardjp@wam.umd.edu>
Obtained from: OpenBSD

24 years agoo p_cansee() wasn't setting privused when suser() was required to override
Robert Watson [Thu, 31 Aug 2000 15:55:17 +0000 (15:55 +0000)]
o p_cansee() wasn't setting privused when suser() was required to override
  kern.ps_showallprocs.  Apparently got lost in the merge process from
  the capability patches.  Now fixed.

Submitted by: jdp
Obtained from: TrustedBSD Project

24 years agoMerge rest piece of ACPI driver.To activate acpi driver ,add
Takanori Watanabe [Thu, 31 Aug 2000 15:34:54 +0000 (15:34 +0000)]
Merge rest piece of ACPI driver.To activate acpi driver ,add

device acpi

line. Merge finished. But still experimental phase.Need more hack!

Obtained from:ACPI for FreeBSD project

24 years agoDocument the FTP_PROXY and HTTP_PROXY variables better.
Dag-Erling Smørgrav [Thu, 31 Aug 2000 15:13:22 +0000 (15:13 +0000)]
Document the FTP_PROXY and HTTP_PROXY variables better.

24 years agoActivate acpi.
Mitsuru IWASAKI [Thu, 31 Aug 2000 15:12:23 +0000 (15:12 +0000)]
Activate acpi.

24 years agoimport amldb(8) from ACPI For FreeBSD project.
Mitsuru IWASAKI [Thu, 31 Aug 2000 14:45:00 +0000 (14:45 +0000)]
import amldb(8) from ACPI For FreeBSD project.

Obtained from:  ACPI For FreeBSD project

24 years agoimport acpidump(8) from ACPI For FreeBSD project.
Mitsuru IWASAKI [Thu, 31 Aug 2000 14:42:32 +0000 (14:42 +0000)]
import acpidump(8) from ACPI For FreeBSD project.

Obtained from:  ACPI For FreeBSD project

24 years agoimport acpiconf(8) from ACPI For FreeBSD project.
Mitsuru IWASAKI [Thu, 31 Aug 2000 14:41:23 +0000 (14:41 +0000)]
import acpiconf(8) from ACPI For FreeBSD project.

Obtained from:  ACPI For FreeBSD project

24 years agoAdd Makefile for acpi userland tools.
Mitsuru IWASAKI [Thu, 31 Aug 2000 14:38:47 +0000 (14:38 +0000)]
Add Makefile for acpi userland tools.

Obtained from: ACPI For FreeBSD project

24 years agoGrab ADJUST_CHECKSUM() macro from alias_local.h.
Ruslan Ermilov [Thu, 31 Aug 2000 12:54:55 +0000 (12:54 +0000)]
Grab ADJUST_CHECKSUM() macro from alias_local.h.

24 years agoCreate aliasing links for incoming ICMP echo/timestamp requests.
Ruslan Ermilov [Thu, 31 Aug 2000 12:47:57 +0000 (12:47 +0000)]
Create aliasing links for incoming ICMP echo/timestamp requests.
This makes outgoing ICMP echo/timestamp replies to be de-aliased
with the right source IP, not exactly the primary aliasing IP.

24 years agoFix hangs caused by overzealous code removal.
Brian Feldman [Thu, 31 Aug 2000 11:31:58 +0000 (11:31 +0000)]
Fix hangs caused by overzealous code removal.

Thanks, Nickolay, for figuring out this is the problem.

Submitted by: Nickolay Dudorov <nnd@mail.nsk.ru>

24 years agoDon't unlink the target file if it's not a regular file.
Dag-Erling Smørgrav [Thu, 31 Aug 2000 11:24:15 +0000 (11:24 +0000)]
Don't unlink the target file if it's not a regular file.

24 years agoModified PCI config space access code via pcib_if rather than using
Mitsuru IWASAKI [Thu, 31 Aug 2000 11:16:42 +0000 (11:16 +0000)]
Modified PCI config space access code via pcib_if rather than using
pci_cfg{read|write}.
 - Obtain device_t pcib instance by calling device_find_child().
 - Call PCIB_{READ|WRITE}_CONFIG() to access to pcib interfaces.

Reviewed by: dfr, takawata

24 years agoCleanup on power off code under ACPI.
Mitsuru IWASAKI [Thu, 31 Aug 2000 11:15:03 +0000 (11:15 +0000)]
Cleanup on power off code under ACPI.
 - Remove DELAY() kludge before power off.
 - Move EVENTHANDLER_REGISTER to acpi_attach().
 - Pass RB_POWEROFF flag to shutdown_nice().

Reviewed by: msmith

24 years agoFix resolv.conf line hint: "name-server" -> "nameserver"
Ralf S. Engelschall [Thu, 31 Aug 2000 11:13:20 +0000 (11:13 +0000)]
Fix resolv.conf line hint: "name-server" -> "nameserver"

24 years agoImproved Cyrix 486DX supports for NEC PC-98.
KATO Takenori [Thu, 31 Aug 2000 10:33:06 +0000 (10:33 +0000)]
Improved Cyrix 486DX supports for NEC PC-98.
  - Enable WB cache via CCR2 and CR0.
  - Set the need_pre_dma_flush when the CPU_I486_ON_386 option is
    defined.

Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>

24 years agoThe INT 1B BIOS call is used to obtain geometries of SASI/IDE hard
KATO Takenori [Thu, 31 Aug 2000 10:24:06 +0000 (10:24 +0000)]
The INT 1B BIOS call is used to obtain geometries of SASI/IDE hard
drives.  Some IDE cards don't set propler information into BIOS work
are and their sector size were always recognized as 256 bytes/sector.

Pointed out by: jagarl@creator.club.ne.jp

24 years agoUse arc4random() instead of random()
Brian Somers [Thu, 31 Aug 2000 00:45:24 +0000 (00:45 +0000)]
Use arc4random() instead of random()

24 years agoMake it possible to pass boot()'s flags to shutdown_nice() so that the
Mike Smith [Thu, 31 Aug 2000 00:08:50 +0000 (00:08 +0000)]
Make it possible to pass boot()'s flags to shutdown_nice() so that the
kernel can instigate an orderly shutdown but still determine the form of
that shutdown.  Make it possible eg. to cleanly shutdown and power off the
system under ACPI when the power button is pressed.

24 years agoOnly build 'mly' on i386, as it doesn't build and hasn't been tested on
Mike Smith [Wed, 30 Aug 2000 23:24:14 +0000 (23:24 +0000)]
Only build 'mly' on i386, as it doesn't build and hasn't been tested on
Alpha.

24 years agoDon't treat two or more whitespace followed by a comment as
Brian Somers [Wed, 30 Aug 2000 20:51:13 +0000 (20:51 +0000)]
Don't treat two or more whitespace followed by a comment as
an empty argument

PR: 20937 (maybe)
PR: 20938

24 years agoComplain about invalid arguments passed to ``set ifaddr''
Brian Somers [Wed, 30 Aug 2000 20:49:50 +0000 (20:49 +0000)]
Complain about invalid arguments passed to ``set ifaddr''

24 years agoExport ng_ether_enaddr_type for other nodes that want to use it.
Archie Cobbs [Wed, 30 Aug 2000 18:39:29 +0000 (18:39 +0000)]
Export ng_ether_enaddr_type for other nodes that want to use it.

24 years agoFixed the bug that div_bind() always returned zero
Ruslan Ermilov [Wed, 30 Aug 2000 14:43:02 +0000 (14:43 +0000)]
Fixed the bug that div_bind() always returned zero
even if there was an error (broken in rev 1.9).

24 years agoRestore support for displaying raw IPv4 sockets and
Ruslan Ermilov [Wed, 30 Aug 2000 13:24:01 +0000 (13:24 +0000)]
Restore support for displaying raw IPv4 sockets and
correct the author's name.  Were broken in rev 1.6.

Approved by: des

24 years agoo Update linprocfs to include similar changes as those in procfs, fixing
Robert Watson [Wed, 30 Aug 2000 13:23:19 +0000 (13:23 +0000)]
o Update linprocfs to include similar changes as those in procfs, fixing
  the build (oops!): replace calls to p_trespass() and PRISON_CHECK()
  with p_can(..., {P_CAN_SEE, P_CAN_DEBUG}, NULL)
o Remove volatile usage from procfs_readdir() to remove warnings
o Apply bp's CREATE fix to linprocfs, causing EROFS to be returned on
  CREATE calls to procfs_lookup()
o Some further synchronization still needs to occur: only existing
  access checks were replaced, to fix the build--the new ones were not
  added.  I'll do this later today, this is a "fix the build quickly"
  commit.  This means that, in the interim, some information leakage
  can still occur via linprocfs when using jail or kern.ps_showallprocs

Submitted by: knu
Approved by: des
Obtained from: TrustedBSD Project

24 years agoOnly install `divert natd' rule for predefined firewall types,
Ruslan Ermilov [Wed, 30 Aug 2000 13:14:32 +0000 (13:14 +0000)]
Only install `divert natd' rule for predefined firewall types,
not when ${firewall_type} is set to a filename, as we know
nothing about user's script specifics.

Reported by: Bernhard Valenti <bernhard.valenti@gmx.net>

24 years agocatgets: detect if fd becomes invalid after exec and return default response
Andrey A. Chernov [Wed, 30 Aug 2000 11:44:44 +0000 (11:44 +0000)]
catgets: detect if fd becomes invalid after exec and return default response

cosmetique, use NULL for pointers comparison

24 years agoAdd Turkish keyboard
Andrey A. Chernov [Wed, 30 Aug 2000 11:04:51 +0000 (11:04 +0000)]
Add Turkish keyboard

Submitted by: Evren Yurtesen <yurtesen@ispro.net.tr>

24 years agoExplicetely describe catalog descriptor lifetime
Andrey A. Chernov [Wed, 30 Aug 2000 10:22:23 +0000 (10:22 +0000)]
Explicetely describe catalog descriptor lifetime

24 years ago(forgotten in previous commit log)
Dag-Erling Smørgrav [Wed, 30 Aug 2000 09:19:01 +0000 (09:19 +0000)]
(forgotten in previous commit log)

Submitted by: Marc Silver <marcs@draenor.org>
PR: bin/20775

24 years agoInvoke netstat(1) and fstat(1) with full path.
Dag-Erling Smørgrav [Wed, 30 Aug 2000 09:18:20 +0000 (09:18 +0000)]
Invoke netstat(1) and fstat(1) with full path.

24 years agoBackout the hack in rev 1.71, I am working on a better patch
Ruslan Ermilov [Wed, 30 Aug 2000 08:28:06 +0000 (08:28 +0000)]
Backout the hack in rev 1.71, I am working on a better patch
that should cover almost all inconsistencies in ICMP error
generation.

24 years agoApply common line-breaking to the previous delta.
Sheldon Hearn [Wed, 30 Aug 2000 08:07:06 +0000 (08:07 +0000)]
Apply common line-breaking to the previous delta.

24 years agoUpdate the amr.4 manpage for changes in the driver.
Mike Smith [Wed, 30 Aug 2000 08:00:36 +0000 (08:00 +0000)]
Update the amr.4 manpage for changes in the driver.

24 years agoMajor update to the AMI MegaRAID driver.
Mike Smith [Wed, 30 Aug 2000 07:52:50 +0000 (07:52 +0000)]
Major update to the AMI MegaRAID driver.

 - New support for 40LD firmware found in Series 475 and 471 adapters.
 - Better support for 8LD firmware adapters
 - Ioctl passthrough interface for userland utilities.
 - Improved error handling and queueing.
 - Several bugfixes (including the 'still open' shutdown bug and
   closing some small race conditions).
 - Zone-style command allocator, reducing memory wasted under heavy
   load conditions.
 - CAM interface (disabled and not fully working) for SCSI passthrough
   access to non-disk devices

Thanks to AMI for supplying a pile of new adapters and various other
help in making this happen.

24 years agoResplit pcic back into two pcic and pccard.
Warner Losh [Wed, 30 Aug 2000 07:32:22 +0000 (07:32 +0000)]
Resplit pcic back into two pcic and pccard.

24 years agoRemove pcic and oldcard from files built. Oldcard desn't work, so
Warner Losh [Wed, 30 Aug 2000 07:27:46 +0000 (07:27 +0000)]
Remove pcic and oldcard from files built.  Oldcard desn't work, so
shouldn't be built by default.  pcic and pccard are going to go
through some changes and I'll not be testing them on the alpha so I
don't want to break them for the FreeBSD/alpha folks.

24 years agoAdd a detach method to allow this device to be unloaded.
Warner Losh [Wed, 30 Aug 2000 06:57:38 +0000 (06:57 +0000)]
Add a detach method to allow this device to be unloaded.

24 years agoAdd comment about why the deletion of children is necessary in detach.
Warner Losh [Wed, 30 Aug 2000 06:56:03 +0000 (06:56 +0000)]
Add comment about why the deletion of children is necessary in detach.

24 years agoReplace strtok with strsep (strtok is not allowed in libraries)
Andrey A. Chernov [Wed, 30 Aug 2000 06:26:42 +0000 (06:26 +0000)]
Replace strtok with strsep (strtok is not allowed in libraries)

Approved by: markm

24 years agofix ccd module.
Poul-Henning Kamp [Wed, 30 Aug 2000 05:24:56 +0000 (05:24 +0000)]
fix ccd module.

24 years agoo Centralize inter-process access control, introducing:
Robert Watson [Wed, 30 Aug 2000 04:49:09 +0000 (04:49 +0000)]
o Centralize inter-process access control, introducing:

    int p_can(p1, p2, operation, privused)

  which allows specification of subject process, object process,
  inter-process operation, and an optional call-by-reference privused
  flag, allowing the caller to determine if privilege was required
  for the call to succeed.  This allows jail, kern.ps_showallprocs and
  regular credential-based interaction checks to occur in one block of
  code.  Possible operations are P_CAN_SEE, P_CAN_SCHED, P_CAN_KILL,
  and P_CAN_DEBUG.  p_can currently breaks out as a wrapper to a
  series of static function checks in kern_prot, which should not
  be invoked directly.

o Commented out capabilities entries are included for some checks.

o Update most inter-process authorization to make use of p_can() instead
  of manual checks, PRISON_CHECK(), P_TRESPASS(), and
  kern.ps_showallprocs.

o Modify suser{,_xxx} to use const arguments, as it no longer modifies
  process flags due to the disabling of ASU.

o Modify some checks/errors in procfs so that ENOENT is returned instead
  of ESRCH, further improving concealment of processes that should not
  be visible to other processes.  Also introduce new access checks to
  improve hiding of processes for procfs_lookup(), procfs_getattr(),
  procfs_readdir().  Correct a bug reported by bp concerning not
  handling the CREATE case in procfs_lookup().  Remove volatile flag in
  procfs that caused apparently spurious qualifier warnigns (approved by
  bde).

o Add comment noting that ktrace() has not been updated, as its access
  control checks are different from ptrace(), whereas they should
  probably be the same.  Further discussion should happen on this topic.

Reviewed by: bde, green, phk, freebsd-security, others
Approved by: bde
Obtained from: TrustedBSD Project

24 years agoo Disable flagging of ASU in suser_xxx() authorization check. For the
Robert Watson [Wed, 30 Aug 2000 04:35:32 +0000 (04:35 +0000)]
o Disable flagging of ASU in suser_xxx() authorization check.  For the
  time being, the ASU accounting flag will no longer be available, but
  may be reinstituted in the future once authorization have been redone.
  As it is, the kernel went through contortions in access control to
  avoid calling suser, which always set the flag.  This will also allow
  suser to accept const struct *{cred, proc} arguments.

Reviewed by: bde, green, phk, freebsd-security, others
Approved by: bde
Obtained from: TrustedBSD Project

24 years agoFix ordering for real this time.
Jacques Vidrine [Wed, 30 Aug 2000 03:44:30 +0000 (03:44 +0000)]
Fix ordering for real this time.

24 years agoRemove an extraneous setting of sb_hiwat.
Brian Feldman [Wed, 30 Aug 2000 00:09:57 +0000 (00:09 +0000)]
Remove an extraneous setting of sb_hiwat.

24 years agoGet rid of the old version.
Brian Feldman [Tue, 29 Aug 2000 23:38:12 +0000 (23:38 +0000)]
Get rid of the old version.

24 years agoUse a C version of which(1).
Brian Feldman [Tue, 29 Aug 2000 23:30:52 +0000 (23:30 +0000)]
Use a C version of which(1).

Submitted by: Dan Papasian <bugg@bugg.strangled.net>
Reviewed by: jhb

24 years agoChange the "Duplicate Wired Device entry" printout in camperiphnextunit to
Kenneth D. Merry [Tue, 29 Aug 2000 22:11:39 +0000 (22:11 +0000)]
Change the "Duplicate Wired Device entry" printout in camperiphnextunit to
also mention the peripheral name, bus, target and lun of the device we
attempted to put in that slot.  This gives the user a little more
information about what is going on.

Tested by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Discussed with: gibbs

24 years agoAdd quirk entries from Andre Albsmeier to disable the sync cache command
Kenneth D. Merry [Tue, 29 Aug 2000 22:09:23 +0000 (22:09 +0000)]
Add quirk entries from Andre Albsmeier to disable the sync cache command
for the Quantum "MAVERICK 540S" and "LPS525S".

Also, add common string variables, since we seem to have a few Quantum and
Micropolis drives in here.

Fix the 'quantum' variable usage in scsi_all.c that likely got broken when
someone staticized things in cam_xpt.c.  (That particular problem would
cause Quantum Fireball ST drives to not get spun up if they were not
already spinning.)

Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

24 years agosigh, add opt_devfs.h
Cameron Grant [Tue, 29 Aug 2000 22:00:50 +0000 (22:00 +0000)]
sigh, add opt_devfs.h

24 years agostrtok -> strsep (no strtok allowed in libraries)
Andrey A. Chernov [Tue, 29 Aug 2000 21:49:11 +0000 (21:49 +0000)]
strtok -> strsep (no strtok allowed in libraries)

24 years agostrtok -> strsep (no strtok allowed in libraries)
Andrey A. Chernov [Tue, 29 Aug 2000 21:34:55 +0000 (21:34 +0000)]
strtok -> strsep (no strtok allowed in libraries)
add unsigned char cast to ctype macro

24 years agostrtok() -> strsep() (no strtok() in libraries allowed)
Andrey A. Chernov [Tue, 29 Aug 2000 21:04:07 +0000 (21:04 +0000)]
strtok() -> strsep() (no strtok() in libraries allowed)
small cleanup in nearby area:
pointer 0 -> NULL, according to manpages
hardcoded constant -> sizeof(buf)

24 years agoremove stuff accidentally left in last commit
Cameron Grant [Tue, 29 Aug 2000 20:53:56 +0000 (20:53 +0000)]
remove stuff accidentally left in last commit

24 years agosuspend/resume for ds1 driver
Cameron Grant [Tue, 29 Aug 2000 20:50:42 +0000 (20:50 +0000)]
suspend/resume for ds1 driver

PR: misc/20891
Submitted by: Ira L. Cooper <ira@mit.edu>

24 years agoRefine implementation of PowerResource manipulation sub-routines.
Mitsuru IWASAKI [Tue, 29 Aug 2000 20:38:31 +0000 (20:38 +0000)]
Refine implementation of PowerResource manipulation sub-routines.

 - Add new funcions for device state stuff;
   acpi_get_current_device_state() and acpi_set_device_state()
 - Add new funcions for power resource stuff;
   acpi_powerres_init(), acpi_powerres_debug(),
   acpi_get_current_powerres_state() and acpi_set_powerres_state()

These were implemented based on 7.1, 7.2, 7.2.2, 7.2.3, 7.2.4, 7.3,
7.3.3, 7.4, 7.4.1, 7.4.2, 7.4.3 and 7.5 of ACPI spec 1.0b.

24 years agoA lot of changes on acpi driver code.
Mitsuru IWASAKI [Tue, 29 Aug 2000 20:30:54 +0000 (20:30 +0000)]
A lot of changes on acpi driver code.
 - The "Osd*" stuff went away from acpi driver code, use the bus_space
   functions directly instead.
 - Fix minor english bugs.
   acpi_registers_input  -> acpi_register_input
   acpi_registers_output -> acpi_register_output
 - Remove all magic numbers for the sleeping states.  We now have
   #defines for these.
 - NULL is treated the same as the return from aml_get_rootname in
   aml_find_from_namespace().

Suggested by: msmith

Thanks mike!

24 years agoAdd /dev/acpi for ACPI.
Mitsuru IWASAKI [Tue, 29 Aug 2000 20:20:54 +0000 (20:20 +0000)]
Add /dev/acpi for ACPI.

24 years agoAdd a dependency needed when using parallel make.
Jacques Vidrine [Tue, 29 Aug 2000 19:21:08 +0000 (19:21 +0000)]
Add a dependency needed when using parallel make.

Approved by: markm

24 years agoCorrect LogMAX
Brian Somers [Tue, 29 Aug 2000 17:00:52 +0000 (17:00 +0000)]
Correct LogMAX

Broken by: me
Submitted by: Mark Hannon <markhannon@one.net.au>

24 years agoUse srandom() under OpenBSD
Brian Somers [Tue, 29 Aug 2000 16:47:45 +0000 (16:47 +0000)]
Use srandom() under OpenBSD

Submitted by: Matt Behrens <matt@megaweapon.zigg.com>

24 years agomake the test for hwptr going backwards more picky- now it only triggers if
Cameron Grant [Tue, 29 Aug 2000 16:32:26 +0000 (16:32 +0000)]
make the test for hwptr going backwards more picky- now it only triggers if
15/16 of the buffer is skipped or we go backwards by < 1/16 of buffer size.

24 years agoGive ccd a cloning function.
Poul-Henning Kamp [Tue, 29 Aug 2000 16:29:02 +0000 (16:29 +0000)]
Give ccd a cloning function.

24 years agoadd devfs support. when devfs is enabled, sysctl hw.sndunit is used to set
Cameron Grant [Tue, 29 Aug 2000 16:21:33 +0000 (16:21 +0000)]
add devfs support.  when devfs is enabled, sysctl hw.sndunit is used to set
which sound unit the /dev/{dsp,mixer,dspW,audio} links point at.  this can
also be set from the loader.

24 years agoactivate fm801
Cameron Grant [Tue, 29 Aug 2000 16:14:28 +0000 (16:14 +0000)]
activate fm801

24 years agoadd driver for forte-media fm801
Cameron Grant [Tue, 29 Aug 2000 16:12:28 +0000 (16:12 +0000)]
add driver for forte-media fm801

PR:             conf/20698
Submitted by:   dimmy the wild <diwil@dataart.com>

24 years agoAdd libusb record for .Lb macro
Alexey Zelkin [Tue, 29 Aug 2000 15:15:48 +0000 (15:15 +0000)]
Add libusb record for .Lb macro

24 years agoo Restructure vaccess() so as to check for DAC permission to modify the
Robert Watson [Tue, 29 Aug 2000 14:45:49 +0000 (14:45 +0000)]
o Restructure vaccess() so as to check for DAC permission to modify the
  object before falling back on privilege.  Make vaccess() accept an
  additional optional argument, privused, to determine whether
  privilege was required for vaccess() to return 0.  Add commented
  out capability checks for reference.  Rename some variables to make
  it more clear which modes/uids/etc are associated with the object,
  and which with the access mode.
o Update file system use of vaccess() to pass NULL as the optional
  privused argument.  Once additional patches are applied, suser()
  will no longer set ASU, so privused will permit passing of
  privilege information up the stack to the caller.

Reviewed by: bde, green, phk, -security, others
Obtained from: TrustedBSD Project

24 years agoMany and sundry changes. Still alpha quality.
Poul-Henning Kamp [Tue, 29 Aug 2000 12:32:01 +0000 (12:32 +0000)]
Many and sundry changes.  Still alpha quality.

24 years agoRemove any possibility of hiwat-related race conditions by changing
Brian Feldman [Tue, 29 Aug 2000 11:28:06 +0000 (11:28 +0000)]
Remove any possibility of hiwat-related race conditions by changing
the chgsbsize() call to use a "subject" pointer (&sb.sb_hiwat) and
a u_long target to set it to.  The whole thing is splnet().

This fixes a problem that jdp has been able to provoke.

24 years agoApply appropriate patch.
Darren Reed [Tue, 29 Aug 2000 10:41:55 +0000 (10:41 +0000)]
Apply appropriate patch.

PR: 20877
Submitted by: Frank Volf (volf@oasis.IAEhv.nl)

24 years agoRemove a vestige of an older attempt at implementing this.
Doug Rabson [Tue, 29 Aug 2000 08:50:17 +0000 (08:50 +0000)]
Remove a vestige of an older attempt at implementing this.

24 years ago8859-9 font
Andrey A. Chernov [Tue, 29 Aug 2000 07:58:52 +0000 (07:58 +0000)]
8859-9 font

Submitted by: Evren Yurtesen <yurtesen@ispro.net.tr>

24 years agoExpand information about device.hints. Add information in the
Warner Losh [Tue, 29 Aug 2000 06:35:46 +0000 (06:35 +0000)]
Expand information about device.hints.  Add information in the
cookbook section about needing to copy GENERIC.hints to
/boot/device.hints, as well as a footnote about exceptions to this
rule.

Partially suggested by: obrien

24 years agoAdd TI-1031 id. It doesn't work yet, but it is nice to have it.
Warner Losh [Tue, 29 Aug 2000 04:40:17 +0000 (04:40 +0000)]
Add TI-1031 id.  It doesn't work yet, but it is nice to have it.
These were on cards that were pci pccard (not cardbus) bridges that
lived in SparcUltras that picked up on ebay.

24 years agoAdd iso08 fonts
Andrey A. Chernov [Tue, 29 Aug 2000 04:11:57 +0000 (04:11 +0000)]
Add iso08 fonts

24 years agoFix Hebrew langcode
Andrey A. Chernov [Tue, 29 Aug 2000 04:11:29 +0000 (04:11 +0000)]
Fix Hebrew langcode

24 years agoHebrew keyboard
Andrey A. Chernov [Tue, 29 Aug 2000 04:07:52 +0000 (04:07 +0000)]
Hebrew keyboard

24 years agoAdd Hebrew keyboard
Andrey A. Chernov [Tue, 29 Aug 2000 04:05:30 +0000 (04:05 +0000)]
Add Hebrew keyboard

PR: 20864
Submitted by: Allow Ole <allow@darkserver.dyndns.org>

24 years agoBDECFLAGS (with a whitespace change or two)
Bill Fumerola [Tue, 29 Aug 2000 03:25:49 +0000 (03:25 +0000)]
BDECFLAGS (with a whitespace change or two)

24 years agoCorrect typo.
Greg Lehey [Tue, 29 Aug 2000 02:42:02 +0000 (02:42 +0000)]
Correct typo.

24 years agoset pccard insertion beep type in install floppy.
MIHIRA Sanpei Yoshiro [Tue, 29 Aug 2000 00:42:31 +0000 (00:42 +0000)]
set pccard insertion beep type in install floppy.

When we use PC-Card as install media, it is a patch
to tell with beep about whether we were able to
recognize it well.

Reviewed by: jkh, imp
Tested by: Kenji Yamada <kyamada@ISI.EDU>

24 years agoAdd LogFILTER logging to log packets allowed by the dial filter and
Brian Somers [Mon, 28 Aug 2000 23:24:52 +0000 (23:24 +0000)]
Add LogFILTER logging to log packets allowed by the dial filter and
dropped by any filter.

Submitted by: Mark Hannon <markhannon@one.net.au>

with some small tweaks by me.