Commit Graph

164847 Commits

Author SHA1 Message Date
jmcneill 645fe8c342 Try not to pass garbage to pci_make_tag; workaround for odd ACPI DSDTs.
Fixes kern/37527.
2007-12-12 23:33:22 +00:00
lukem bcf893f432 use __RCSID() 2007-12-12 22:55:42 +00:00
bouyer e2b280eabb cleanup the debug event handler to not use the IPL system at all. Fix
debug event storm on XEN2.
2007-12-12 22:16:32 +00:00
dsl fc10f67856 Remove the wrapper functions for file operations that do nothing now
that namei() checks the alternate path.
2007-12-12 22:07:58 +00:00
dsl ef3588e13f Regen, reformmatted, and without wrappers for file operations. 2007-12-12 22:06:19 +00:00
dsl 0f63820911 No need to wrap filename function to get the alt path stuff. 2007-12-12 22:04:30 +00:00
christos 22ec0fdf7e warns=4 2007-12-12 21:56:38 +00:00
dsl f9ade37fe1 compat_file.[ch] are no longer used 2007-12-12 21:37:26 +00:00
dsl 9ae4eb70ff Regen 2007-12-12 21:29:43 +00:00
dsl e26d16aac3 No need for any of the bsd_sys_foo() calls since they only wrapped
CHECK_ALT_XXX() for filenames - which got killed earlier in the year.
Substitute the same functions as in compat_file.c
2007-12-12 21:24:36 +00:00
dsl 0f47845a4f Add a definition of compat_12_stat_conv() here so I can kill compat_file.h 2007-12-12 21:17:57 +00:00
xtraeme c10e464ab3 acpiecdt* at acpi? is required now. HI JOERG! 2007-12-12 21:12:45 +00:00
xtraeme e2749a8b14 Xref battery_pmu(4). 2007-12-12 20:27:30 +00:00
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