Commit Graph

188735 Commits

Author SHA1 Message Date
plunky
800cedea24 Add uhso(4) driver and manpage for Option N.V. Wireless WAN modems 2010-03-06 21:05:36 +00:00
plunky
7a23a88ab7 regen for uhso(4) driver 2010-03-06 21:00:07 +00:00
plunky
74dbcf4d6f add details of Option N.V. Wireless WAN modems for uhso(4) driver 2010-03-06 20:59:07 +00:00
cnst
2c266eb533 make the acpi resource management paragraph more accurate 2010-03-06 19:53:33 +00:00
skrll
6098d4a478 Fix cputype test. 2010-03-06 19:36:33 +00:00
skrll
d77a107024 Improved version detection/reporting. From OpenBSD. 2010-03-06 16:57:00 +00:00
dsieger
9347a4aa25 Since someone (hi ahoka) added a reference to non-existant sched_m2(9),
add at least a stub now.
2010-03-06 16:42:55 +00:00
mlelstv
bc76b1d5b0 When clearing a log on failure, not only ask the kernel to ignore an
existing log but to remove it on next mount.
2010-03-06 11:31:40 +00:00
mrg
fbca096a2d clean up a bunch of MULTIPROCESSOR:
- always include ci_ipi_evcnt[] in cpuinfo
- #define sparc_ncpus 1 for !MULTIPROCESSOR
- make struct pmap::pm_list an pm_ctx always be an array, and simplify
  several functions and lookups to always be the same

tested on U60 and SB2500 before and after with one and two cpus in an
MP kernel, and UP kernels, and i can't find anything besides noise for
benchmark issues.  (infact, i can't really tell the difference between
GENERIC and GENERIC.MP on these systems...)
2010-03-06 08:08:29 +00:00
jruoho
e5ea8c401d Refer to sysctl(8) instead of sysctl(7) when appropriate. 2010-03-06 06:25:51 +00:00
cnst
a305e1eede add acpismbus(4), aibs(4), uthum(4) and wbsio(4) to DEVNAMES 2010-03-06 05:58:56 +00:00
cnst
4080cb1121 fix the relative humidity sensor 2010-03-06 04:39:16 +00:00
cnst
1c5aa5c757 no reason to be excluding aibs(4) from i386 XEN3_DOM0 if we include it in amd64; ok pgoyette 2010-03-06 04:33:24 +00:00
cnst
213f4eaf44 remove aiboost(4) from GENERICs, since it cannot win in autoconf(9) over aibs(4); ok pgoyette 2010-03-06 04:28:53 +00:00
christos
c6af1de885 - use warn/err properly
- wrap long lines
2010-03-06 00:30:54 +00:00
dsieger
f9c180d112 Minor wording correction. 2010-03-05 23:08:18 +00:00
njoly
3a3fc358b3 Use 'a && b && ...' contructs for running multiple commands on a single line
in Makefiles, to properly detect/report failures.
2010-03-05 23:06:49 +00:00
dyoung
6d8bb433d1 Remove dead code (it is commented out).
Delete the detach routine, it's obviously not finished.
2010-03-05 22:47:03 +00:00
pettai
40e5bde73e Added myself 2010-03-05 22:18:33 +00:00
jruoho
553e4c3582 Add the _COMPONENT definition and missing prototypes. Some related cosmetics. 2010-03-05 22:00:11 +00:00
jruoho
c38f7a7cda Preparing a device for wakeup involves:
(a) turning on all power resources required by the device; and
  (b) executing _DSW (or _PSW) control method.

This implements (b). Ok jmcneill@.
2010-03-05 21:01:44 +00:00
pooka
effc302a58 Make module_{lookup,enqueue}() static now that it's possible again
(effectively reverts my kern_module rev. 1.53 from some months ago)
2010-03-05 20:10:05 +00:00
agc
d9a9c03c7b Changes to 1.99.21/20100305
+ clean up some lint
+ the obligatory ''build on mac os x fixes'' - <inttypes.h> header file
2010-03-05 19:58:38 +00:00
pooka
04e9fbfc62 Remove no longer used -DNFS. 2010-03-05 19:53:37 +00:00
pooka
696ffdd08a note module changes 2010-03-05 18:51:22 +00:00
pooka
05e0f1dba9 Update to use newstyle rump_module interfaces. 2010-03-05 18:49:30 +00:00
pooka
c2efc59235 During bootstrap, process all modinfos in a DSO in one go. Get
rid of dependency tricks, since they are no longer necessary.
2010-03-05 18:47:49 +00:00
pooka
52672c7e21 regen for rump_module interface change 2010-03-05 18:43:58 +00:00
pooka
23f0cd6bfb Use improved kernel module interfaces: instead of adding + loading
modules in bootstrap, just add them.  Load them later the same way
as the kernel does: module_init_class().

Change the signature of rump_module_init() to take a vector instead
of just one module.  All modules in a DSO should be init'd at the
same time because they might depend on each other, and code outside
the rump kernel cannot know which way.  (binary kernel modules are
still loaded with rump_sys_modctl() the usual way).
2010-03-05 18:41:46 +00:00
skrll
df22db80ba Fix console attach. 2010-03-05 18:41:29 +00:00
pooka
ee7bfacd73 Move builtin modules to a list in init and load them from there
instead of using linksets directly.  This has two implications:

1) It is now possible to "unload" a builtin module provided it is
   not busy.  This is useful e.g. to disable a kernel feature as
   an immediate workaround to a security problem.  To re-initialize
   the module, modload -f <name> is required.
2) It is possible to use builtin modules which were linked at
   runtime with an external linker (dlopen + rump).
2010-03-05 18:35:01 +00:00
phx
ca79601180 Link the kernel with -q option to be able to relocate it with the boot loader. 2010-03-05 17:58:15 +00:00
phx
723e262213 A1200 (BPPC) BAT init. 2010-03-05 17:56:46 +00:00
phx
1239b0f909 Removed useless code. 2010-03-05 17:55:42 +00:00
skrll
8c84f0bdd3 Do not match on the elroy family. From OpenBSD. 2010-03-05 17:47:09 +00:00
jruoho
eb8716a0a5 Add missing license.
ok drochner@
2010-03-05 17:04:26 +00:00
pooka
934159ae4a Reset sendsig_sigcontext_vec at fini to avoid having it point at
garbage and to allow re-init of the module (if DIAGNOSTIC).
2010-03-05 16:55:56 +00:00
agc
62ab1e4abf clean up some lint that crept in. 2010-03-05 16:30:05 +00:00
agc
b15ec256c0 Update netpgp to version 1.99.20/20100304 - portability improvements, and bug fixes:
Changes to 1.99.20/20100304

	+ move args to some functions around to be consistent
	+ use uint*_t where appropriate
	+ fix bug in verify memory
	+ add documentation to manual pages to show how to do combined
	  signing/encryption and decryption/verification
	+ make verification of ascii-armoured memory work the same as binary
	+ eliminate use of strdup(3), strcasecmp(3), and strptime(3). NetBSD/pkgsrc
	  PR 42922 applies - need to define _XOPEN_SOURCE and _BSD_SOURCE for
	  newer linux platforms with glibc 2.10.1. solved a bit differently, by
	  implementing strdup(3) and strcasecmp(3) independently, and using regexps
	  to avoid calling strptime(3).
2010-03-05 16:01:09 +00:00
jruoho
5a425210a3 Remove <dev/acpi/acpica.h> from all files. It is included from
<dev/acpi/acpivar.h>. Ditto for <dev/sysmon/sysmonvar.h>, <sys/bus.h>,
<dev/pci/pcivar.h>, and <dev/isa/isavar.h>.

Also nuke a lot of unused and invalid headers. Some of these are audibly
provided by standard headers (namely <sys/param.h> and <sys/device.h>), some
have nothing to do with ACPI devices (e.g. <sys/syslog.h>), and some are
nonexistent local includes (e.g. "mpu_ym.h"). Moreoever, try to group the
includes into their respective blocks.

Tested with GENERIC and ALL (i386). No functional change.
2010-03-05 14:00:16 +00:00
pgoyette
e1fc7f5215 As pointed out by Rhialto, "degrees Kelvin" is redundant. So fix a
couple of comments related to converstion between Kelvin and degC.
2010-03-05 12:44:16 +00:00
pooka
0299287e5f Use 8k buffer, since 4k is too short for the default list (might
save one round of modctl()).
2010-03-05 10:27:16 +00:00
pooka
694d83c90b regen (for lfs syscalls #ifdef removal). 2010-03-05 09:00:26 +00:00
jruoho
5c49307bc7 Protect all header files against multiple inclusions. 2010-03-05 08:30:48 +00:00
lukem
e451c67901 ftp 20100305: fix http date parsing 2010-03-05 07:45:40 +00:00
lukem
3f853671ff Back to using 'RFC xxxx' instead of 'RFCxxxx' 2010-03-05 07:41:10 +00:00
tteras
e3413574b5 From Stefan Bauer: Fix multiple typoes and manpage formatting errors. 2010-03-05 06:47:58 +00:00
darran
141a7ffa73 DTrace: add a dependency on the dtrace module. 2010-03-05 02:21:41 +00:00
darran
b50656c859 DTrace: fix the curthread and mutex data types. 2010-03-05 01:53:15 +00:00
darran
dc1214bcba DTrace: Explicitly check for OS X to decide if echo needs -e. 2010-03-05 01:34:35 +00:00