104289 Commits

Author SHA1 Message Date
marcel
84d2199772 Fix build: forward declare struct tty before defining the tty function
types.
2004-07-01 03:08:15 +00:00
green
8bb6b62186 It's not very useful to set a softc refcount around blocking read/write
operations when the refcount doesn't protect the opens and closes.  Fix
this, and don't actually let a time out happen: now ugen(4) devices do
not get freed out from under the programs with them open.
2004-07-01 02:07:01 +00:00
njl
b5f51b6b04 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
tjr
4a38f97b48 Update libstand makefile for zlib 1.2.1. 2004-07-01 00:01:26 +00:00
tjr
4e2786d7b0 Update makefile for zlib 1.2.1. 2004-06-30 23:58:22 +00:00
marcel
7c0941aaeb Unbreak build: define __RMAN_RESOURCE_VISIBLE
See also src/sys/sys/rman.h rev. 1.21.
2004-06-30 23:55:14 +00:00
tjr
2368747166 Resolve conflicts. 2004-06-30 23:54:46 +00:00
tjr
6ea5314b57 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
tjr
439ed8d847 Import zlib 1.2.1 (trimmed) 2004-06-30 23:43:39 +00:00
marius
ee8875d5fa These need __RMAN_RESOURCE_VISIBLE, too. 2004-06-30 23:21:07 +00:00
bms
74b909ef3e Wordsmith and spell-correct last commit 2004-06-30 23:13:16 +00:00
julian
a90f5b9dba 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
phk
309dbc34d2 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
imp
e23137428c Remove extra RMAN_RESOURCE_VISISBLE 2004-06-30 21:37:55 +00:00
imp
c74757e280 puc needs to peek into struct resource too. 2004-06-30 21:27:59 +00:00
phk
aaba1b361d This needs __RMAN_RESOURCE_VISIBLE 2004-06-30 21:24:19 +00:00
brooks
e9852a0e0b 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
imp
a8d39b6fa7 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
marks
be82e61ec0 mdoc changes.
Reviewed by:	ru
Approved by:	njl
2004-06-30 20:49:34 +00:00
njl
d87b94c8e4 Add missing function debug trace macros to the new powerres functions.
Reported by:	phk
2004-06-30 20:31:13 +00:00
ru
95168a499a Markup, grammar, and spelling fixes. 2004-06-30 20:09:10 +00:00
mux
bc73e6133f Remove a duplicated printf().
Submitted by:	Niki Denev <nike_d@cytexbg.com>
2004-06-30 19:56:23 +00:00
schweikh
e8a3d2a159 Bump document date.
Submitted by:	ru
2004-06-30 19:56:16 +00:00
marks
dd540d8a36 Document BIOS blacklist.
Approved by:	njl
2004-06-30 19:54:29 +00:00
njl
e5cb920c19 Note the ACPI blacklist changes.
Prodded by:	imp
2004-06-30 19:52:40 +00:00
ru
6ad65dd7e0 Fixed a typo. 2004-06-30 19:32:41 +00:00
imp
d698489e91 We need to make resources visible here as well. 2004-06-30 19:24:26 +00:00
csjp
78ac741f00 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
ru
e9ca4b8fb3 Minor markup tweaks. 2004-06-30 17:26:31 +00:00
ru
4f4f19e8f0 Markup and grammar fixes. 2004-06-30 17:24:27 +00:00
imp
9f2638da1f 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
7dde49bc61 Add user _pflogd. 2004-06-30 16:47:08 +00:00
hrs
045ac999a9 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
njl
5fc49780bf 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
njl
d42a9ac2bf 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
njl
cfc63ebbf3 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
imp
d1d8d2673c devd is now on by default
Reviewed by: dfr,njr (not nate!)
2004-06-30 15:58:46 +00:00
mtm
5c40257f64 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
njl
0d2007fe4f Diff reduction for style. 2004-06-30 15:10:02 +00:00
imp
b5563d0851 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
njl
6e4012e1cd 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
den
ef2c4e55be MFen 1.745
Obtained from:	The FreeBSD Russian Documentation Project
2004-06-30 14:07:38 +00:00
hrs
85c3f00cba 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
tjr
681eb06327 Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.
Noticed by:	Stoned Elipot
2004-06-30 13:55:08 +00:00
hrs
f740ad83d3 Add urls.ent and use the entities for URLs. 2004-06-30 13:15:05 +00:00
hrs
bb672e4fb7 Bump &release.prev; and &release.prev.stable;. 2004-06-30 13:12:25 +00:00
nyan
de83878d91 The ahb module is not needed for pc98. 2004-06-30 13:09:13 +00:00
brian
91f649862b Re-implement LQM, this time according to the rfc.
PR:		11293
MFC after:	4 weeks
2004-06-30 12:24:56 +00:00
hrs
595d75cc49 Whitespace/style fixes (no content change). 2004-06-30 11:14:40 +00:00
hrs
3975094bdb New release notes: KDE 3.2.3. 2004-06-30 11:08:51 +00:00