Commit Graph

164534 Commits

Author SHA1 Message Date
xtraeme
a239f94d36 Rename battery(4) to battery_pmu(4), because at least we know that is
only specific to pmu.
2007-12-12 20:26:23 +00:00
macallan
2204867a54 add a simple battery(4) man page 2007-12-12 20:09:27 +00:00
apb
d38013a8c2 Document CPUFLAGS, and note that CFLAGS shold not be set in mk.conf. 2007-12-12 19:52:02 +00:00
bouyer
200e86ecad Initialize ci_idepth in cpu_info_primary, makes LOCKDEBUG kernels boot. 2007-12-12 19:25:38 +00:00
bouyer
0d1ad35f51 Remove duplicate entry for bouyer-xeni386. Pointed out by wiz@ 2007-12-12 19:24:13 +00:00
elad
021227aa78 Don't compile lfs_rfw.c, suggested by cube@. 2007-12-12 18:52:00 +00:00
he
cd15efd05d Fix a use of lfs_truncate() inside an #ifdef notyet (so no resulting change);
lfs_truncate() has lost its lwp argument.
2007-12-12 18:36:10 +00:00
he
8b0afebe4f Make this build again, as part of sys/lkm/dev/vnd/:
- lfs_truncate() has lost its lwp argument.
- Cast from void* to char* before doing pointer arithmetic.
2007-12-12 18:35:21 +00:00
macallan
7f37ac3821 fix sensor attachment 2007-12-12 18:19:20 +00:00
macallan
f53566168d make this compile again 2007-12-12 17:56:10 +00:00
xtraeme
c747551b64 puffs_fuse_node_create: if create() is specified set S_IFREG explicitly
to avoid passing unspecified mode. Fixes latest ntfs-3g... patch
from pooka tested by myself.
2007-12-12 16:37:56 +00:00
pooka
00b48f3e40 Fix lossage noticed by jmmv (mostly for -t 0 mounts) and make sure
a node always has the inode number set.  And since I'm feeling
generous, sprinkle a few comments around the affected areas (mostly
so that I'd remember what in the world the code is trying to do).
2007-12-12 16:04:35 +00:00
xtraeme
eb3500dc11 Fix previous with suggestion by cube: rather than checking for cpu_model[0]
check that cpu_vendor is CPUVENDOR_AMD.
2007-12-12 15:01:42 +00:00
yamt
c180823658 specify sections. 2007-12-12 14:58:58 +00:00
yamt
5576993097 restore section after RCSID. 2007-12-12 14:58:20 +00:00
xtraeme
a6ab4730a4 Check for the first 'D' letter in the cpu_model string for POWERNOW_K8,
so that it works in Dual Core Opterons (and maybe others).

Patch from Akihiko Taniguchi in PR port-amd64/37526.
2007-12-12 14:36:21 +00:00
jmcneill
faa68cee64 Rename acpiec_gpe_state_maschine -> acpiec_gpe_state_machine 2007-12-12 12:57:48 +00:00
martin
aff14f6816 Ooops, backout Makefile change in previous - did not intend to commit
that part
2007-12-12 10:05:44 +00:00
martin
8dee778467 When converting unicode input, replace everything with second byte != 0
with the letter A - this avoids syntax errors if real unicode strings are
used as quoted strings (for example). Fixes a problem converting some
Broadcom driver's .inf file reported on current-users.
Same output generated as with the .inf file properly converted by iconv
upfront.
2007-12-12 10:04:52 +00:00
jnemeth
69990213c9 - update instructions
- update to match current layout of arch dirs
2007-12-12 09:58:41 +00:00
cube
39f2d5a235 Add cube-autoconf. 2007-12-12 09:02:04 +00:00
mgrooms
3a210f56fc Add corrections submitted in a follow up patch for the nat-t oa support. 2007-12-12 05:08:28 +00:00
mgrooms
892304dffa Add support for nat-t oa payload handling. Submitted by Timo Teras. 2007-12-12 04:45:59 +00:00
nisimura
27f7bc42d9 remove EUMBBAR register debugging stuff. It should be ok when the
control reachs here.
2007-12-12 04:24:57 +00:00
nisimura
9cd3f872dc have a compile time option, START_DDB_SESSION, to invoke immediate
DDB session in mid initppc().
2007-12-12 04:17:49 +00:00
smb
472e153a90 Add power management hooks 2007-12-12 03:54:27 +00:00
lukem
2b0e4fae39 Move __KERNEL_RCSID() so that it's always available if this file is
compiled, even if DEBUG isn't defined.
(This matches the behaviour of various other source files that
provide functions only if DEBUG is enabled.)
2007-12-12 03:49:03 +00:00
ad
e38a5a204c Fix a stray brelse() that got missed. 2007-12-12 03:10:47 +00:00
lukem
85a77245b2 defflag LFS_KERNEL_RFW (in opt_lfs.h).
Note: lfs_rfw.c doesn't compile if you define the option; locking API fallout?
2007-12-12 02:56:03 +00:00
jnemeth
dde0984447 init creates the RAM disk for devices not the kernel 2007-12-12 00:09:43 +00:00
lukem
82d7cb8306 Use a common function to generate the "MACHINE GENERATED" comment,
and ensure mkswap.c adds it too.
2007-12-12 00:03:33 +00:00
lukem
4e1d22cc0b fix the __KERNEL_RCSID 2007-12-11 23:32:44 +00:00
lukem
6ec6d598ac use __KERNEL_RCSID() 2007-12-11 23:31:07 +00:00
david
587cc41918 Wrong copyright template used on import. Referenced Regents, but
Berkeley wasn't in on this one.

closes port-macppc/37520, filed by Ted Unangst.
2007-12-11 23:23:02 +00:00
lukem
06d6cbc0d9 use __KERNEL_RCSID() 2007-12-11 23:13:57 +00:00
jmcneill
c44d13d630 No longer required after jmcneill-pm merge. 2007-12-11 23:07:30 +00:00
lukem
a4914dc7f9 Use __KERNEL_RCSID(). For these .S files, the following style was
adopted, a la .C files and <sys/cdefs.h>:
  *  move <machine/asm.h> to the top
  *  use __KERNEL_RCSID() immediately after it
2007-12-11 23:06:11 +00:00
bouyer
93de86a41f Note bouyer-xeni386 branch 2007-12-11 22:57:44 +00:00
macallan
965a184e93 switch to majors.powerpc 2007-12-11 22:30:39 +00:00
macallan
1e6d2e66e6 make this compile again 2007-12-11 21:00:22 +00:00
jnemeth
ff9bf3e224 add common/sysinst to SRCS 2007-12-11 20:57:19 +00:00
pooka
d24dc71203 nuke #define whose purpose has ceased to be 2007-12-11 20:17:26 +00:00
agc
8d29cd66d3 Do some rudimentary bounds checking on arguments passed in from
external functions.
2007-12-11 19:57:58 +00:00
ad
7b8aa25abc Change the ncpu test to work when a pool_cache or softint is initialized
between mi_cpu_attach() and attachment of the boot CPU. Suggested by mrg@.
2007-12-11 19:07:27 +00:00
jnemeth
6c98464578 properly display >> 2007-12-11 18:22:25 +00:00
jnemeth
6a5f0e658e add common/netboot to SRCS 2007-12-11 18:21:52 +00:00
phx
e04bd89800 Add myself to the list of NetBSD developers. 2007-12-11 18:16:16 +00:00
garbled
76a99a952a Fix the endless stream of 7's problem on i8259-like interrupt controllers
once and for all.  The i8259 does not like to be read in a loop, when an
interrupt comes in, it will return a valid value, however, if you keep
reading it until there are no outstanding interrupts, it will return 7
(which is the lpt interrupt).  Change the pic handler to give an argument
to the get_irq functions of mode, which indicates if this is the first
time we are asking, or if we are just rechecking in a loop.  Non-i8259
handlers can safely ignore this argument.

Tested to fix the stream of 7's problem on prep and ofppc.  Got rid of
the nasty hack in ofppc with this too, and the prep machine seems to take
less interrupts now, which is a good thing.
2007-12-11 18:04:18 +00:00
ad
19e49bf314 And you, be ye fruitful, and multiply; bring forth abundantly in the earth,
and multiply therein. (Genesis 9:6-8)
2007-12-11 17:12:26 +00:00
ad
65d64ddefe Make it compile. 2007-12-11 17:03:35 +00:00