Commit Graph

104229 Commits

Author SHA1 Message Date
Nate Lawson
b0eefa38f9 Rework the code that waits for a response from the EC. Use an sx lock
instead of a mutex so we do not unblock it in msleep().  If we do this,
another event could occur, resetting the status register since reads
reset it.  While I'm here, remove the backoff approach.  Instead, sleep
in 10 ms chunks for up to the configured timeout using either DELAY (if
we aren't booted yet) or tsleep.

Help from:	dillon
Tested by:	Andrew Thompson andy AT fud.org.nz
2004-07-01 00:51:31 +00:00
Tim J. Robbins
30e970d965 Update libstand makefile for zlib 1.2.1. 2004-07-01 00:01:26 +00:00
Tim J. Robbins
9e64ecd96c Update makefile for zlib 1.2.1. 2004-06-30 23:58:22 +00:00
Marcel Moolenaar
3d8f0528e5 Unbreak build: define __RMAN_RESOURCE_VISIBLE
See also src/sys/sys/rman.h rev. 1.21.
2004-06-30 23:55:14 +00:00
Tim J. Robbins
0b73a4c301 Resolve conflicts. 2004-06-30 23:54:46 +00:00
Tim J. Robbins
1fa1f918ab This commit was generated by cvs2svn to compensate for changes in r131377,
which included commits to RCS files with non-trunk default branches.
2004-06-30 23:43:39 +00:00
Tim J. Robbins
aea8f65dfe Import zlib 1.2.1 (trimmed) 2004-06-30 23:43:39 +00:00
Marius Strobl
4eae91a8f7 These need __RMAN_RESOURCE_VISIBLE, too. 2004-06-30 23:21:07 +00:00
Bruce M Simpson
a6c26e1ca8 Wordsmith and spell-correct last commit 2004-06-30 23:13:16 +00:00
Julian Elischer
8ed370fd90 Remove the home-grown metadata facility in favour of the now generic
mbuf tags facility. Netgraph modules will all need a recompile.

Submitted by:	Gleb Smirnoff <glebius@cell.sick.ru>
2004-06-30 22:51:29 +00:00
Poul-Henning Kamp
b4994e318a Define the tty methods as typedefs.
Change the return type for t_break to void.

Add t_ioctl (more about this later).
2004-06-30 21:38:08 +00:00
Warner Losh
b13117994e Remove extra RMAN_RESOURCE_VISISBLE 2004-06-30 21:37:55 +00:00
Warner Losh
23bb544b55 puc needs to peek into struct resource too. 2004-06-30 21:27:59 +00:00
Poul-Henning Kamp
38a674b384 This needs __RMAN_RESOURCE_VISIBLE 2004-06-30 21:24:19 +00:00
Brooks Davis
e32e9a42a6 Static device counts will not be supported in 6.x so place the generated
macros (N<driver>) under BURN_BRIDGES.

Discussed with:	peter, imp, scottl, ...
2004-06-30 21:00:47 +00:00
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