Commit Graph

51530 Commits

Author SHA1 Message Date
cg
7d2959c6a9 remove stuff accidentally left in last commit 2000-08-29 20:53:56 +00:00
cg
1a736052e7 suspend/resume for ds1 driver
PR:		misc/20891
Submitted by:	Ira L. Cooper <ira@mit.edu>
2000-08-29 20:50:42 +00:00
iwasaki
09279deb9d 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.
2000-08-29 20:38:31 +00:00
iwasaki
2fe95d06d9 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!
2000-08-29 20:30:54 +00:00
iwasaki
c74760cac8 Add /dev/acpi for ACPI. 2000-08-29 20:20:54 +00:00
nectar
950533f060 Add a dependency needed when using parallel make.
Approved by:	markm
2000-08-29 19:21:08 +00:00
brian
663f526221 Correct LogMAX
Broken by:	me
Submitted by:	Mark Hannon <markhannon@one.net.au>
2000-08-29 17:00:52 +00:00
brian
98e223c2f4 Use srandom() under OpenBSD
Submitted by:	Matt Behrens <matt@megaweapon.zigg.com>
2000-08-29 16:47:45 +00:00
cg
b47aafbd4d 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.
2000-08-29 16:32:26 +00:00
phk
57e6f0615d Give ccd a cloning function. 2000-08-29 16:29:02 +00:00
cg
7ec6797b5b 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.
2000-08-29 16:21:33 +00:00
cg
201fad62fd activate fm801 2000-08-29 16:14:28 +00:00
cg
7f45ef6154 add driver for forte-media fm801
PR:             conf/20698
Submitted by:   dimmy the wild <diwil@dataart.com>
2000-08-29 16:12:28 +00:00
phantom
54dd75170e Add libusb record for .Lb macro 2000-08-29 15:15:48 +00:00
rwatson
b423f1a20b 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
2000-08-29 14:45:49 +00:00
phk
28d162575f Many and sundry changes. Still alpha quality. 2000-08-29 12:32:01 +00:00
green
255db4f2fa 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.
2000-08-29 11:28:06 +00:00
darrenr
724694be58 Apply appropriate patch.
PR:		20877
Submitted by:	Frank Volf (volf@oasis.IAEhv.nl)
2000-08-29 10:41:55 +00:00
dfr
7a6c85abc6 Remove a vestige of an older attempt at implementing this. 2000-08-29 08:50:17 +00:00
ache
3248816e85 8859-9 font
Submitted by:	Evren Yurtesen <yurtesen@ispro.net.tr>
2000-08-29 07:58:52 +00:00
imp
5721a1102d 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
2000-08-29 06:35:46 +00:00
imp
674cae3c09 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.
2000-08-29 04:40:17 +00:00
ache
646e822a8b Add iso08 fonts 2000-08-29 04:11:57 +00:00
ache
8d6aaa6124 Fix Hebrew langcode 2000-08-29 04:11:29 +00:00
ache
d4fbfe30e5 Hebrew keyboard 2000-08-29 04:07:52 +00:00
ache
64bd2c30ae Add Hebrew keyboard
PR:		20864
Submitted by:	Allow Ole <allow@darkserver.dyndns.org>
2000-08-29 04:05:30 +00:00
billf
3498585e17 BDECFLAGS (with a whitespace change or two) 2000-08-29 03:25:49 +00:00
grog
f6b869a8cf Correct typo. 2000-08-29 02:42:02 +00:00
sanpei
405679e8ef 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>
2000-08-29 00:42:31 +00:00
brian
3086ff599e 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.
2000-08-28 23:24:52 +00:00
jhb
a85f55a2ce Revert back to the previous i-node values for the fixit floppy. 2000-08-28 23:16:14 +00:00
jhb
75cc887d03 - Break the acd track devices out into a seperate target acdXt[Y]. The
X field is treated the same as the unit number for acdX.  The optional
  Y parameter specifies the number of track devices to create starting at
  track 1.  If Y is not specified, it defaults to 100.
- Add the acd0t target to the all target to preserve previous behavior.
- Don't add the acd0t target to the fixit target, thus keeping the fixit
  floppy from running out of i-nodes.
2000-08-28 23:14:44 +00:00
brian
7cec3bb955 Support radius accounting, and add a packet count to throughput
statistics as a side effect.

Submitted by: Marcin Cieslak <saper@system.pl>

with some tweaks to RAD_ACCT_SESSION_ID and
RAD_ACCT_MULTI_SESSION_ID generation by me.
2000-08-28 22:44:54 +00:00
peter
02fd348cc9 After positive feedback from a few folks, activate a switchover to
using killall.c instead of the perl version that depends on procfs.
The C version uses sysctl().  The program is based on a hack that was
originally written about 6 years ago and has evolved somewhat since then.
(which is why it is a superset of killall.pl, rather than being a clone.)

With apologies to: wosch
2000-08-28 22:09:38 +00:00
dfr
80d0f8c941 * Completely rewrite the alpha busspace to hide the implementation from
the drivers.
* Remove legacy inx/outx support from chipset and replace with macros
  which call busspace.
* Rework pci config accesses to route through the pcib device instead of
  calling a MD function directly.

With these changes it is possible to cleanly support machines which have
more than one independantly numbered PCI busses. As a bonus, the new
busspace implementation should be measurably faster than the old one.
2000-08-28 21:48:13 +00:00
wpaul
4bdf0325c0 Update xl(4) man page to mention a whole bunch of supported cards,
including the 3c556 and 3c556B.
2000-08-28 21:25:37 +00:00
dfr
7b2ba35c76 Document kobj_class_compile_static(). 2000-08-28 21:17:46 +00:00
dfr
4cd6596a08 Add kobj_class_compile_static() to allow classes to be initialised
statically (i.e. without calling malloc). This allows kobj to be used
very early in the boot sequence.
2000-08-28 21:11:12 +00:00
dfr
e3329759da * Remove a bogus call to kobj_init() from make_device().
* Add a non-empty implementation of root_print_child().
2000-08-28 21:08:12 +00:00
dfr
9ece36aee6 Fix disordered arguments to bus_space_barrier(). 2000-08-28 21:02:18 +00:00
wpaul
88321f1e2f Add support for the 3Com 556 and 556B mini-pci adapters used on some
laptops. I've checked that this still works with the other cards and
it works with the 3c556 that I have access to, but I want to check that
it works with the 556B mentioned in PR #20878 before I close out the PR
and merge to -stable.
2000-08-28 20:40:03 +00:00
asami
022b1fc5ba Add BSD.x11-4.dist to list of mtree files to install (d'oh!).
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-08-28 20:22:25 +00:00
murray
19ea577894 This allows you to script sysinstall to say "NO" to DHCP and IPv6.
Previously, you could only script these features if you said YES.

Oops.  Accidentally commited to releng_4 first.

PR:		20334
Approved by:	jkh
2000-08-28 18:18:47 +00:00
dwmalone
9019856069 According to the susv2 man pages I have, remove(3) should act as
rmdir(2) on directories and unlink(2) otherwise. This modification,
and most of the man page update has been obtined from OpenBSD. This
was spotted by someone on a mailing lists a few months ago, but
I've lost their mail.

Reviewed by:	sheldonh
2000-08-28 15:45:42 +00:00
ache
ab7a0d4bb8 8859-8 fonts
PR:		20864
Submitted by:	Allow Ole  <allow@darkserver.dyndns.org>
2000-08-28 15:07:58 +00:00
jhay
e8c4799185 The fixit floppy needs a few more inodes. 2000-08-28 14:25:53 +00:00
sanpei
c1b7035aec add ELECOM Air@Hark/LD-WL11/PCC card
add NEC Wireless Card CMZ-RT-WP card

Obtained from:	[bsd-nomads:13988] by YAMAMOTO Shigeru <shigeru@iij.ad.jp>

sort Farallon Skyline 11Mbps Wireless entory
2000-08-28 14:15:24 +00:00
n_hibma
6708dc2e2e No more hunting around for ipnat.conf(5) man page. 2000-08-28 11:36:30 +00:00
sheldonh
a86b9f336c Whitespace-only change: fix hard sentence breaks in previous commit. 2000-08-28 10:11:56 +00:00
phantom
a1dab8497e Apply fixes from NetBSD to bring this manual page into reallity.
Inspired by: ru & 4.4BSD Design and Implementation
Obtained from: NetBSD
2000-08-28 09:27:28 +00:00