Commit Graph

104114 Commits

Author SHA1 Message Date
Warner Losh
6084486fd6 Fix to not use 255, but instead use APM_UNKNOWN.
Compare things correctly against -1 or 0
Don't print any capabilities if unknown is returned from the kernel.

Reviewed/Submitted by: njl, Liam Foy
2004-06-30 21:00:07 +00:00
Mark Santcroos
55c71dc9b0 mdoc changes.
Reviewed by:	ru
Approved by:	njl
2004-06-30 20:49:34 +00:00
Nate Lawson
3309d2fbc8 Add missing function debug trace macros to the new powerres functions.
Reported by:	phk
2004-06-30 20:31:13 +00:00
Ruslan Ermilov
33992dc0ed Markup, grammar, and spelling fixes. 2004-06-30 20:09:10 +00:00
Maxime Henrion
55388cdd92 Remove a duplicated printf().
Submitted by:	Niki Denev <nike_d@cytexbg.com>
2004-06-30 19:56:23 +00:00
Jens Schweikhardt
a6a6666238 Bump document date.
Submitted by:	ru
2004-06-30 19:56:16 +00:00
Mark Santcroos
07e2d0461f Document BIOS blacklist.
Approved by:	njl
2004-06-30 19:54:29 +00:00
Nate Lawson
c2dba66886 Note the ACPI blacklist changes.
Prodded by:	imp
2004-06-30 19:52:40 +00:00
Ruslan Ermilov
bd486f888e Fixed a typo. 2004-06-30 19:32:41 +00:00
Warner Losh
9a879a35fb We need to make resources visible here as well. 2004-06-30 19:24:26 +00:00
Christian S.J. Peron
0c90b4887e The call to setuid(2) subsequently causes setgroups(2) to fail. setgroups(2)
requires super-user access in order to complete successfully.
Move setgroups(2) to execute before setuid(2) so that it is successful.
2004-06-30 18:58:19 +00:00
Ruslan Ermilov
f5298929e3 Minor markup tweaks. 2004-06-30 17:26:31 +00:00
Ruslan Ermilov
9ae4f36d30 Markup and grammar fixes. 2004-06-30 17:24:27 +00:00
Warner Losh
0363a12688 Hide struct resource and struct rman. You must define
__RMAN_RESOURCE_VISIBLE to see inside these now.

Reviewed by: dfr, njl (not njr)
2004-06-30 16:54:10 +00:00
Maxim Konovalov
0d055a20bf Add user _pflogd. 2004-06-30 16:47:08 +00:00
Hiroki Sato
a10dcdeed6 New release notes (changes in the second half of June 2004):
kern.sched.name added,
	pseudo-interface cloning changes,
	cut(1) -c, -f, and -d multibyte locale support,
	indent(1) -fbs and -ut support,
	pkg_create(1) -S support, and
	pkg_info(1) -j support.

MFC:
	sha1(1) and rmd160(1) added, and
	CVS 1.11.15 -> 1.11.17 update.
2004-06-30 16:38:02 +00:00
Nate Lawson
d4b9ff9179 Move flags into a private ivar so it can't collide with device flags.
Unify the code to disable GPEs with the enable code.  Shutdown is handled
the same way.  ACPI now does all wake/sleep prep for child devices so
now they no longer need to call external functions in the suspend/resume
path.  Add the flags to non-ACPI busses (i.e., pci).
2004-06-30 16:08:03 +00:00
Nate Lawson
d3b9d3d1d7 Add a method for referencing/switching power resources based on _PRW.
This brings us into line with the standard, which requires power resources
be enabled when wake is enabled for a given device.  Move the dereferencing
code into its own function, +acpi_pwr_dereference_resource().
2004-06-30 16:02:40 +00:00
Nate Lawson
340a7f6a9b Disable the EC GPE in the shutdown path. This is correct but is not known
to fix any bug.
2004-06-30 16:00:20 +00:00
Warner Losh
d8dbb9937b devd is now on by default
Reviewed by: dfr,njr (not nate!)
2004-06-30 15:58:46 +00:00
Mike Makonnen
105711487e When a thread is created suspended have libthr suspend it explicitly
instead of asking the kernel to do it when we create the thread.
2004-06-30 15:57:36 +00:00
Nate Lawson
346eda4f40 Diff reduction for style. 2004-06-30 15:10:02 +00:00
Warner Losh
743e8e75a5 My last commit broke oldcard. Rather than duplicate the lines for
pccarddevs.h, just make it standard for now.  Once oldcard is gone,
we'll revisit.
2004-06-30 14:52:49 +00:00
Nate Lawson
f1ca765c85 Move acpi_if.m to files.{amd64,i386,ia64}. This should fix the alpha build.
Pointed out by:	gallatin
2004-06-30 14:19:28 +00:00
Denis Peplin
151241659f MFen 1.745
Obtained from:	The FreeBSD Russian Documentation Project
2004-06-30 14:07:38 +00:00
Hiroki Sato
f5ebe047ca Bump the copyright year and &release.4last;, and add a note
about Errata Branch.

PR:	www/67651
2004-06-30 13:59:40 +00:00
Tim J. Robbins
b7114d4a9c Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.
Noticed by:	Stoned Elipot
2004-06-30 13:55:08 +00:00
Hiroki Sato
888fa8dfec Add urls.ent and use the entities for URLs. 2004-06-30 13:15:05 +00:00
Hiroki Sato
02ee847462 Bump &release.prev; and &release.prev.stable;. 2004-06-30 13:12:25 +00:00
Yoshihiro Takahashi
1f00798b3a The ahb module is not needed for pc98. 2004-06-30 13:09:13 +00:00
Brian Somers
a57095e7f7 Re-implement LQM, this time according to the rfc.
PR:		11293
MFC after:	4 weeks
2004-06-30 12:24:56 +00:00
Hiroki Sato
6e7a069c00 Whitespace/style fixes (no content change). 2004-06-30 11:14:40 +00:00
Hiroki Sato
f388f029e8 New release notes: KDE 3.2.3. 2004-06-30 11:08:51 +00:00
Denis Peplin
3bb71027b4 Fix few typos
Submitted by:	Konstantin Reznichenko <kot@premierbank.dp.ua>
Obtained from:	The FreeBSD Russian Documentation Project
2004-06-30 10:46:33 +00:00
Hiroki Sato
4e324db2b0 New release notes (changes in the first half of June 2004):
sab(4) BREAK_TO_DEBUGGER support,
	per-class sysctl like dev.foo.0.bar support,
	kern.always_console_output,
	fwip(4) added,
	ng_rfc1490(4) Cisco style encapsulation support,
	udav(4) promiscuous mode support,
	geom_vinum added,
	ALTQ framework import,
	conscontrol(8) set/unset support,
	newsyslog(8) improvements,
	ps(1) -O emul support,
	sha1(1) and rmd160(1) added,
	talk(1) now uses "localhost",
	truss(1) early support on amd64, and
	tzdata2004a import.

MFC:
	find(1) -depth n added.

Style changes:
	s/ixgb/&man.ixgb.4;/
2004-06-30 10:24:52 +00:00
Søren Schmidt
3e3807252b Remove leftover debug output. 2004-06-30 09:22:47 +00:00
Hiroki Sato
476e01e0cc New release notes (changes in May 2004):
SA-04:10, 04:11, 04:12,
	acpi(4) per-device sysctls to wake up the system,
	MAC_STATIC option,
	mballoc -> mbuma replacement,
	midi(4) removal,
	nmdm(4) reliability fixes,
	fxp(4) per-device sysctls support,
	Netgraph 4.x compatibility support,
	net.inet.ip.process_options added,
	link state change notification support in the routing socket,
	gconcat(8) removal,
	GEOM_NOP, GEOM_STRIPE, and GEOM_GATE added,
	GEOM_GPT in GENERIC,
	libuwx import,
	daemon(8) -p pidfile,
	eeprom(8) added,
	find(1) -depth n,
	geom(8) added,
	id(1) -M,
	jail(8) -U,
	ls(1) LC_TYPE support for multibyte character string,
	smbmsg(8) added,
	sunlabel(8) -c and -h,
	tftpd(8) -w and -U,
	ip6addrctl_* in rc.conf for address selection policy support, and
	ACPI-CA 20040514 import.

typo fixes:
	s/ethernet/Ethernet/
	s/compatibiliy/compatibility/
	s/sbus/SBus/
2004-06-30 07:54:38 +00:00
David Schultz
4f82cb46c4 Implement and document fdim{,f,l}, fmax{,f,l}, and fmin{,f,l}. 2004-06-30 07:04:01 +00:00
Nate Lawson
6840424ee5 Like usbdevs, use before-depend to ensure ordering.
Glass plaque award:	obrien
2004-06-30 05:21:43 +00:00
Nate Lawson
f207ef23d4 Restore the terminating backslash lost by a typo. 2004-06-30 04:54:39 +00:00
Tim Kientzle
5708f1dd7c In case symlinks happen to already be sitting around, be sure to use
chmod() and not lchmod() whenever we know we didn't extract a symlink.
2004-06-30 04:54:07 +00:00
Nate Lawson
0f18ebd28a Make acpi_quirks.h conditional on device acpi. 2004-06-30 04:52:55 +00:00
Nate Lawson
89fb5af803 Add new quirk code that disables problem BIOS versions. Remove old quirk
code that was never really used.  Print a message when disabling ACPI via
a quirk.  Allow the user to override the blacklist decision by setting
hint.acpi.0.disabled="0".  Add missing AcpiTerminate() calls; they are
needed to clean up if bailing out after AcpiInitializeSubsystem().
2004-06-30 04:49:54 +00:00
Nate Lawson
4209cd533b Add glue for building acpi_quirk.c 2004-06-30 04:47:31 +00:00
Nate Lawson
1bf4426682 Add the table quirk matching code. It matches rules defined in acpi_quirks
and sets the flags.  It also calls the machdep quirk code first.  This
allows table quirks (or whitelists) to override machdep quirks.
2004-06-30 04:45:32 +00:00
Nate Lawson
1a26ea7f2c Add machdep quirks functions. On i386, this disables acpi on systems with
BIOS dates earlier than Jan 1, 1999.  Add prototypes and quirks flags.
2004-06-30 04:42:29 +00:00
Nate Lawson
bcc2d4d520 Complete quirk handling script by matching the in-kernel table format.
Use a union to properly assign values.  Collapse some unnecessary variables
in the revision rules.
2004-06-30 04:40:20 +00:00
Alfred Perlstein
970636e94f style, remove register. 2004-06-30 04:19:23 +00:00
Murray Stokely
5692f93438 Last 3 commits made much easier by the cvs-src summaries prepared by
Mark Johnston <mjohnston@skyweb.ca>.
2004-06-30 03:48:03 +00:00
Murray Stokely
1f40443a84 New release notes: klds work on amd64, ixgb driver added for Intel
PRO/10GBE cards.
2004-06-30 03:46:37 +00:00