Commit Graph

155477 Commits

Author SHA1 Message Date
xtraeme
a4423f177a Updated viaenv(4) driver:
* Support for the VIA VT8231 Hardware monitor.
* Power Management Timer available for timecounters in both
  VT86C686A and VT8231 (code simplified thanks to dev/ic/acpipmtimer).
* Remove viapm(4) code and manpage (which was a link to viaenv.4 anyway).

From OpenBSD, tested by some users.
2007-01-20 18:44:26 +00:00
xtraeme
af41d0fea7 Merge defs from ugvar2.h into ugvar.h, suggested by tsutsui. 2007-01-20 18:32:41 +00:00
tsutsui
4ca9d9a7ce Note nfe(4) hardware checksum support. 2007-01-20 18:19:52 +00:00
xtraeme
7a516bb827 PR kern/35438: uGuru 2005 support from Mihai Chelaru.
Also replace bcopy with memcpy.
2007-01-20 18:18:51 +00:00
tsutsui
cc27cff6ae Add man page suffix to several entries. 2007-01-20 18:10:58 +00:00
christos
b4634d8561 sprinkle volatile. 2007-01-20 18:00:15 +00:00
christos
8fdab46bcc PR/35449: Shigeya Suzuki: ftpd does not register socket address into PAM +FIX 2007-01-20 17:26:32 +00:00
kardel
54a07e0f01 PR/25482
reinstate NTP html pages (sans gif's/img tags).
The important man pages are now generated by autogen and
thus match again the code again.
2007-01-20 16:50:29 +00:00
wiz
6d53f7319f New sentence, new line. 2007-01-20 16:49:36 +00:00
elad
a78693aa19 Kill KAUTH_PROCESS_RESOURCE and just replace it with two actions for
nice and rlimit.
2007-01-20 16:47:38 +00:00
pooka
1118cadca7 document puffs_docc 2007-01-20 15:11:02 +00:00
pooka
7f0efb4a8d puffs_req.{0,3} 2007-01-20 15:10:42 +00:00
pooka
5581d777a3 xref puffs_req 2007-01-20 15:10:38 +00:00
pooka
2fbe1b2261 document request handling routines 2007-01-20 15:09:34 +00:00
gdt
4a62427865 KNF/whitespace in code I recently added; no real changes. 2007-01-20 14:46:21 +00:00
pooka
984c93b472 more ketchup 2007-01-20 14:37:48 +00:00
pooka
288823a738 Be consistent with the rest of the framework about the argument
order of puffs_docc and puffs_dopreq
2007-01-20 14:37:06 +00:00
pooka
9fcf633272 play catchup with the lib 2007-01-20 13:52:35 +00:00
pooka
84e83df1bb be consistent in naming request handlers 2007-01-20 13:52:14 +00:00
pooka
937097aa47 document puffs_getstate() and puffs_setstacksize() 2007-01-20 13:34:35 +00:00
wiz
b81f412f64 Sort ERRORS section. 2007-01-20 13:26:59 +00:00
isaki
d4ba865188 Make it compile without SUPPORT_UTMP nor SUPPORT_UTMPX. 2007-01-20 13:25:28 +00:00
wiz
0a4737c5de Drop trailing whitespace. 2007-01-20 13:24:44 +00:00
wiz
2b5809387d Sort SEE ALSO. 2007-01-20 13:23:59 +00:00
wiz
9e27ce3c1f Sort sections. 2007-01-20 13:11:36 +00:00
skrll
fb3b023826 Correct a comment. 2007-01-20 10:54:44 +00:00
isaki
18d9998d72 Add AMD Geode LX.
OK'ed by tsutsui@ on port-i386.
2007-01-20 10:28:49 +00:00
christos
1636e22df7 set warns to 4 2007-01-20 04:56:25 +00:00
christos
3ca3d0b1e7 add a missing volatile. 2007-01-20 04:56:07 +00:00
ad
24d35c8592 Manual pages for new LWP system calls. Not enabled in the Makefile. 2007-01-20 01:41:00 +00:00
perry
981d0d04cb Fix a typo in a boolean test, which used & instead of &&. 2007-01-20 01:13:13 +00:00
drochner
60e1a2a1cb Kill the "bus powered" bit in the configuration descriptor. This doesn't
exist in newer spec revisions, and is recommended to be set to 1.
So call it _MBO and also use it in the fake root hub descriptors, just
for sanity, even if nothing ever looks at it.
2007-01-19 22:46:21 +00:00
drochner
a813a29041 In usbd_set_config_index(), remove the code which tries to draw conclusions
from the attempted power state instead of the real one. The configuration
descriptor is a constant thing and doesn't reflect the actual state, so
this doesn't make any sense. The actual state can be read by a device
status read, so use this as the first and only instance and remove
the device specific quirks which were based on wrong assumptions.
(It is possible that one of the 3 devices with quirk entries still
needs some special treatment, but this would need better research. For
now I'd prefer to avoid a quirk database which isn't maintained anyway.)
Btw, don't be confused by messages about self powered hubs which don't
have external power connected. This is legal, see the specs.
2007-01-19 22:42:05 +00:00
pooka
14c2cf6c8d add new puffs manual pages 2007-01-19 21:13:31 +00:00
pooka
809ae5f803 Bring the documentation slightly more into sync with the current
reality.  It's still really a far cry from proper documentation,
though.
2007-01-19 21:10:55 +00:00
macallan
cf6c447564 add #defines for ADB and pseudo mice 2007-01-19 20:59:45 +00:00
christos
226df6aaef only change atime on access. 2007-01-19 20:10:36 +00:00
pooka
533e5fb937 I don't spell "puffs" with allcaps (except in macro names, har har),
so uncapsize it from here also
2007-01-19 20:04:39 +00:00
cbiere
810b552f37 cgd_ioctl_set():
* Corrected type of keybytes to size_t to prevent a potential buffer
    overflow on 64-bit archs.
  * Fixed incorrect but harmless use of sizeof.
hexprint():
  * Corrected cast to prevent sign extension if char is signed.
2007-01-19 18:59:59 +00:00
pooka
7f8363fa95 hannken noted that the latest gcc (?) complains about uninitialized
variable use in puffs_strategy() for "dowritefaf" (incorrectly)
and "error" (correctly, although the function is practically of
type void)
2007-01-19 17:52:01 +00:00
hubertf
326d0a938c Add a few entries contributed by Alexey Eremenko <al4321@gmail.com>,
and add CARP (by me)
2007-01-19 16:16:36 +00:00
skrll
4b3e98dc1b Remove useless double assignment.
PR 35442
2007-01-19 15:52:24 +00:00
pooka
b2a7b240df In case the fs server is in the kernel doing an operation on a
completely different file system, we still might re-enter the same
puffs fs in case we execute something on the other file system,
which wants to get a new vnode and ends up recycling a puffs vnode
for the purpose.  In this case the fs server will sleep in the
kernel until it itself handles the operation .... which of course
is a slightly unlikely event.

After analyzing the path from getcleanvnode() to the vnode cemetary,
identify that fsync and putpages (strategy) are the ones in danger
of striking a deadlock deal.  Abuse the vnode flag VXLOCK to tell
them "this vnode is irreversably going to meet its maker, don't
care about user server return values" (failure is not acceptable
down the vgonel() path) and issue the respective operations as
Fire-And-Forget (FAF) operations.  no wait -> no deadlock.

This of course is a "fix" skating on thin ice.  A better, more
generic solution is already in sight, but will take more effort to
implement.
2007-01-19 14:59:50 +00:00
hannken
1b9c6382e3 New file system suspension API to replace vn_start_write and vn_finished_write.
The suspension helpers are now put into file system specific operations.
This means every file system not supporting these helpers cannot be suspended
and therefore snapshots are no longer possible.

Implemented for file systems of type ffs.

The new API is enabled on a kernel option NEWVNGATE.  This option is
not enabled by default in any kernel config.

Presented and discussed on tech-kern with much input from
Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.

Welcome to 4.99.9 (new vfs op vfs_suspendctl).
2007-01-19 14:49:08 +00:00
pooka
2a1cb9e956 debug print requests going into the queue 2007-01-19 13:01:15 +00:00
bouyer
26989657fb For the unaligned case:
Be consistant with the spaces around * and +
	Use data32io[th] for 32bit access
	Use stream bus_space access unless we have DRIVE_NOSTREAM
all pointed out by enami tsugutomo, thanks !
2007-01-18 21:42:57 +00:00
dsl
bbdea71364 Don't delete '\' from before '#' in shell command lines.
Probably fixes build of pkgsrc:editors/xemacs.
Pointed out by Richard Earnshaw.
2007-01-18 20:22:44 +00:00
skrll
ba85386518 Apply an iffy heuristic to detect a valid switchframe on the stack and
extract the register state from this for the live kernel case. If there
is no switchframe then use the frame pointer to get enough state for crash
dump case.

More information needs to be saved by savectx to avoid this mess.

Should fix PR/35118
2007-01-18 18:15:02 +00:00
ginsbach
089d34fd42 Add a small regression test for getopt_long(3). 2007-01-18 16:29:21 +00:00
drochner
11f2202b96 -fix use of arguments and remove an outdated section
-Xr mkfifo(2)
(btw, SUSv3 says that the only portable use of mknod() is to create
a FIFO. This is not supported by NetBSD.)
2007-01-18 14:07:01 +00:00