Commit Graph

157450 Commits

Author SHA1 Message Date
uwe 8e5c3b9886 Implement fast-path mutex_enter and mutex_exit stubs. 2007-03-14 01:14:25 +00:00
xtraeme 21a60be327 Mention ipmi(4), nsclpcsio(4), owtemp(4), tctrl(4) and tm121temp(4). 2007-03-14 01:12:27 +00:00
xtraeme 0e26f4fe7e Mention aiboost(4), bump date. 2007-03-14 01:04:20 +00:00
xtraeme eb277efe09 Mention aiboost(4), it(4), ug(4) and viaenv(4), bump date. 2007-03-14 01:03:12 +00:00
xtraeme 5b85503255 Mention aiboost(4) and ym(4), bump date. 2007-03-14 00:51:06 +00:00
xtraeme 92d471840c aiboost(4) manpage is available now, updating it. 2007-03-14 00:46:08 +00:00
xtraeme 21b2a42ef2 + aiboost(4) 2007-03-14 00:45:03 +00:00
xtraeme 2c1a694723 aiboost(4) manpage. 2007-03-14 00:43:51 +00:00
xtraeme d57d6adf9b Rename acpi_aiboost to aiboost, suggested by cube. 2007-03-14 00:43:04 +00:00
xtraeme 7158532e47 ALL: add unichromefb.
GENERIC: add unichromefb (disabled by default).
GENERIC_LAPTOP: add unichromefb and vesafb (disabled by default).
2007-03-13 23:49:38 +00:00
agc 950c7ae274 Revert the most recent changes I made - they weren't ready for primetime. 2007-03-13 22:47:03 +00:00
agc a43c9c728d Fix a thinko - if we're going to do a deep copy, let's do it properly.
With  thanks to xtraeme for the viirtual PR.
2007-03-13 22:25:32 +00:00
agc e7d3032061 + Only use EXIT_SUCCESS and EXIT_FAILURE for the return code to the
shell in the fuse_opt functions

+ add new debugging functions:
	+ __fuse_debug(), which is used to set and retrieve the
	debugging level, so that debugging information can be turned
	on and off from the user-level filesystem, and
	+ __fuse_pargs(), which prints out an argv vector

+ put the comment about pu_privdata back with the code it references

+ put the code to place the refuse name back into the fuse_new()
function - we have access to all the arguments there.

+ specifically include <fuse_opt.h> in <fuse.h> - this would seem to
be what FUSE itself does, judging by the number of fuse-based
filesystems I've patched to include <fuse_opt.h> specifically

+ do away with the forward reference to struct fuse_args in fuse.h,
since it is defined just after the forward reference without being
referenced in between

+ fill in the missing refuse_opt args functionality - add an arg to the
args structure in fuse_opt_add_arg() and fuse_opt_insert_arg(), and
free allocated memory in fuse_opt_free_args().

+ get rid of spurious forward declarations and prototypes.

+ if REFUSE_INHERIT_FS_CHARACTERISTICS is defined when refuse is built,
file systems inherit the vfs characteristics of their mountpoints. The
default value is NOT to inherit the vfs characteristics.

+ perform a deep copy of the fuse_args structure in fuse_mount() -
this is so that existing FUSE filesystems still DTRT when arguments
are zeroed out.
2007-03-13 20:50:47 +00:00
plunky 07ed1bdaa3 remove extraneous whitespace 2007-03-13 19:26:06 +00:00
xtraeme 4b9be68be9 Use C99 struct initializers. 2007-03-13 18:32:35 +00:00
ad 28c7654399 Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
2007-03-13 18:30:57 +00:00
pooka f446ae6b9f * don't require a directory entry to exist for a reclaimee node.
this can happen legally when a file is removed from backing
  storage not using this sshfs instance, a readdir is executed for
  the parent directory and only then the node gets reclaimed.
* now that there is a mechanism in place which does not require a
  pcc to do an sftp transaction, do not yield() in operations where
  the final transaction is something where we don't care about the
  return value (e.g. close handle).  speedup benefit for no cost.
2007-03-13 18:00:34 +00:00
ad 626c0765b8 Add some comments to previous. 2007-03-13 17:56:14 +00:00
ragge ef1bc24053 Link the boot loader for address 4M-64k, as requested by Hans Rosenfeld.
It's not likely that a vax has less than 4MB of memory today, if someone
has a small-memory-machine he have to recompile boot himself.
2007-03-13 17:54:07 +00:00
ad 20db433bab Note the vmlocking branch. 2007-03-13 17:31:46 +00:00
ad 19ae9745a3 Don't call pipe_init if PIPE_SOCKETPAIR is defined. 2007-03-13 17:23:49 +00:00
thorpej ea6be967fd LOCK_CAS_CHECK(): make sure we're in kernel mode. 2007-03-13 17:17:28 +00:00
pooka ec2d43895a add puffs paper presented at AsiaBSDCon 2007 to "SEE ALSO" 2007-03-13 17:06:10 +00:00
pooka d695eff80f Create in-memory nodes only per unique inode, not unique pathname.
Solves problem with e.g. cache coherency of hardlinked files.
2007-03-13 17:05:23 +00:00
tnozaki 9eae719a71 1. added iconv support of KZ-1048 encoding
2. move PTCP154 to KAZAKH directory.
2007-03-13 16:34:37 +00:00
christos 84c0a4321c Fix typo in print statement; from khorben 2007-03-13 16:31:24 +00:00
ad 883bea1471 Revert previous now that simplelock.h has been fixed. 2007-03-13 15:59:47 +00:00
ad 99adf737bc Add missing #ifdef _KERNEL 2007-03-13 15:58:26 +00:00
drochner c3d5f3709f add multiple inclusion protection, from KIYOHARA Takashi per PR kern/35997;
being here, unifdef for __NetBSD__ and __HAVE_GENERIC_SOFT_INTERRUPTS
2007-03-13 15:00:07 +00:00
ad 297c1212be Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
2007-03-13 14:16:07 +00:00
drochner 8258b792b7 Introduce different autoconf interface attributes for USB drivers
matching (and handling) a whole device and those which match an
interface only. This will allow to enforce some rules, eg that
the former don't use interface information for matching or that the
latter don't modify global device state.
The previous way left too much freedom do the drivers which led to
inconsistencies and abuse.
For now, I've not changed locators and submatch rules, this will
happen later.
There should not be any change in behaviour, except in the case of
some drivers which did behave inconsistently:
if_atu, if_axe, uep: matched the configured device in the interface
 stage, but did configuration again. I've converted them to match
 in the device stage.
ustir, utoppy: matched in the interface stage, but only against
 vendor/device information, and used any configuration/interface
 without checking. Changed to match in device stage, and added
 some simple code to configure and use the first interface.
If you have one of those devices, please test!
2007-03-13 13:51:53 +00:00
dogcow 592f917095 now that simple_lock is a define elsewhere as well, #undef it in the
regress case.
2007-03-13 13:25:57 +00:00
msaitoh 9e2c46fe42 Apply if_msk.c rev. 1.4 to if_sk.c:
> Apply OpenBSD's rev. 1.33 to shut up "msk0: phy write timed out"
 >
 > Original commit message:
 >  > In msk_marv_miibus_writereg, wait for busy flag to clear instead of
 >  > continuing when busy flag set.
2007-03-13 09:50:00 +00:00
msaitoh 9484bc8665 tabify 2007-03-13 06:41:52 +00:00
msaitoh 5d9d95c736 KNF 2007-03-13 06:33:54 +00:00
xtraeme 6759767561 Add aiboost* at acpi. 2007-03-13 06:01:07 +00:00
thorpej 217c6e4c0e Return EEXIST if attempting to install a RAS that is already installed. 2007-03-13 04:44:06 +00:00
xtraeme 22842493aa Add aiboost* at acpi, enabled by default on i386/GENERIC and disable
in the other ones (to follow current scheme).
2007-03-13 04:09:26 +00:00
xtraeme 14923c8bce Note addition of the new acpi_aiboost.c driver. 2007-03-13 04:04:37 +00:00
xtraeme 9c83a552f8 ASUS AI Booster ACPI driver, ported from FreeBSD.
This driver will report values from the Super I/O chip via ACPI.
It should be possible to overclock the system with this driver, but
it's not implemented yet.

All newer ASUS motherboards probably will work with this driver
(device ATK0110).

[juan@nocturno][~]> envstat -r
CPU Temperature:     30.000 degC
 MB Temperature:     38.000 degC
  Vcore Voltage:      1.240 V
   +3.3 Voltage:      3.264 V
     +5 Voltage:      4.992 V
    +12 Voltage:     12.091 V
  CPU FAN Speed:       1454 RPM
[juan@nocturno][~]>
2007-03-13 04:01:51 +00:00
ad a240617e8c msgctl1: fix a lock leak. 2007-03-13 03:43:54 +00:00
uwe d3c68aea21 Cosmetic. Propagage "static" to definitions. Don't use // comments.
Add comments to mark machdep hpcapm functions and pertinent vars.
2007-03-13 03:00:49 +00:00
enami d4d6c3ff03 Rephrase the comment slightly to note that which revision of
humanize_number.c fails to handle these cases.
2007-03-13 02:56:18 +00:00
enami fab1fda977 Fix a bug that humanize_number() produces "1000" where it should be "1.0G"
or "1.0M".  The bug reported by Greg Troxel.
2007-03-13 02:52:10 +00:00
ad 4b1d78c00e Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
2007-03-13 02:11:28 +00:00
ad 86ed875648 Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.
2007-03-13 01:34:21 +00:00
ad 1c7c7fe356 Sync with kern_proc.c: make p2->p_rasmutex a spin mutex at IPL_SCHED. 2007-03-13 00:35:44 +00:00
ad bf8c3c1d7b mutex_vector_enter: put a read memory barrier between the final check that
(1) the holder is no longer running and (2) the waiters bit is set. Needed
to ensure that the operations happen in the correct order.
2007-03-12 22:34:08 +00:00
ad 194273271b Use mutexes/condvars. 2007-03-12 21:33:07 +00:00
ad c81da4c01d Put a lock around pipe->pipe_peer. 2007-03-12 21:31:03 +00:00