Commit Graph

203472 Commits

Author SHA1 Message Date
riastradh a09628eca6 In ufs_rename, declare oldparent and newparent ino_t, not int.
XXX There should be an automatic test for this somewhere.

ok dholland
2011-07-29 22:18:56 +00:00
jym a1508a4756 Move xen.balloon to machdep in the sysctl(7) tree. It does not really
belong to either kern or hw.

Rename machdep.xen_timepush_ticks to xen.timepush_ticks, so it can live
under the same tree as the balloon node, machdep.xen.

ok bouyer@.
2011-07-29 22:16:05 +00:00
dyoung 1b847f1e51 Don't shutdown the boostrap processor (BSP) because we may have to run
BIOS methods on it.  For example, ACPI requires that we execute the code
for changing sleep state on the BSP.

This may help the problem where folks' machines would hang instead of
powering off when they entered ACPI sleep state 5.

XXX If the BSP is already shut down, we should start it back up.
2011-07-29 21:21:43 +00:00
jmcneill d09db892e8 build and install itesio module on i386 and amd64 2011-07-29 21:01:43 +00:00
jmcneill bedb04943b module build glue for itesio 2011-07-29 20:59:25 +00:00
jmcneill 60427626c4 add module support 2011-07-29 20:58:47 +00:00
christos 1237974a30 - fix unused params
- unconditionalize vis.h
2011-07-29 20:58:07 +00:00
christos f46176b9a9 better autoconf results 2011-07-29 20:57:34 +00:00
christos f4bf097e85 add -Wunused-parameter
Is that the right way? Perhaps WARNS=5?
2011-07-29 20:56:58 +00:00
ahoka ed5192dd9e add a function to get the size of the flash device 2011-07-29 20:48:33 +00:00
oster bfb5c54728 Note that PR kern/44251 is fixed.
Add tests for normal configuration of RAID 1 and RAID 5 sets.
2011-07-29 19:57:38 +00:00
oster d1aa4a0857 In rf_disks.c make sure ser_values and ser_count arrays are
initialized before use.

Validate the component label before considering a component for use,
and make sure we only consider components that are optimal.

Fixes PR#44251.  All atf RAIDframe tests now pass.
2011-07-29 19:55:50 +00:00
jakllsch aec7af8d5f Use one more bit of precision when calculating frequency from period.
This makes the 4-times-NTSC color carrier get calculated to a
correct 14318180Hz, instead of 14318179Hz, which seems a bit odd.
2011-07-29 19:19:14 +00:00
christos 2819a85a08 Allow init for new repository construction! 2011-07-29 18:47:11 +00:00
christos 7ecb1ef25e kill ifdef notdef 2011-07-29 15:20:39 +00:00
christos b71bed95b3 KNF return (\1); -> return \1; 2011-07-29 15:16:33 +00:00
uebayasi 6ed9c23d3b KNF. 2011-07-29 13:10:23 +00:00
mrg 39a57b1caa port the openbsd central and fhc drivers, and the clock/zs attachments.
doesn't quite work yet, crashes when central_attach() calls
config_attach() (faulting address is 0xf8000000.)
2011-07-29 08:37:36 +00:00
matt 311f859cdd Add macros for polyd and polyf 2011-07-28 22:54:02 +00:00
joerg 5ccaf4b804 Add ilogbl(3). 2011-07-28 22:32:28 +00:00
simonb fb56a64524 Restore "duplicate" entries, but use 0. and 1. names to ensure that
same hosts aren't used by both entries.
2011-07-28 22:28:07 +00:00
joerg bff4ba20de Add scalbnl(3) mlinks. 2011-07-28 21:10:25 +00:00
matt ad1826f0ba Add scalbn{,f,l} for VAX. 2011-07-28 20:53:20 +00:00
christos a13cd75612 kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations. 2011-07-28 20:50:55 +00:00
dyoung ee39c02546 Put libalpha back. 2011-07-28 20:30:06 +00:00
joerg aa1008d816 Drop @GOTPCREL when accessing local variables. For yet unknown reasons,
our version of GNU as decides to silently ignore it. Never versions on
other systems and Clang actually keep it around and create bad object
files. The object files are identical after the changes modulo the GOT
entry in the symbol table.
2011-07-28 20:24:36 +00:00
buhrow 3dd51f1b7e Document the need for zeroing out the first 64 blocks of a replacement
component in a failed RAID set in order to avoid potentially configuring
RAId 1 sets with erroneous values taken from random extent data in the
replacement component partitions.
2011-07-28 18:25:22 +00:00
christos 56eac9ea53 fix unused variable warnings on systems without _r functions 2011-07-28 17:33:55 +00:00
christos df86a66a1c handle systems without getpwent_r 2011-07-28 17:33:39 +00:00
macallan 95065fc5bb sanitize sysctl interface in order to appease gcc 4.5 2011-07-28 16:28:12 +00:00
mbalmer e0b81c69ef Fix a typo, noticed by Snader_LB, tnx! 2011-07-28 16:14:50 +00:00
matt b475d67404 Back out commit. 2011-07-28 15:54:49 +00:00
matt abe9d75a5d INSTALL kernel for SheevaPlug 2011-07-28 15:50:46 +00:00
matt 9c6e0201a3 Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
2011-07-28 15:50:13 +00:00
matt 0062f2f291 Bring forward from matt-nb5-mips64. Support for Ralink RT3883 MIPS 74K SoC
from CradlePoint Technology.
2011-07-28 15:38:48 +00:00
matt 02e9f71ae1 Use cfdata_t 2011-07-28 15:36:47 +00:00
macallan 210a4a47e8 appease gcc 4.5 2011-07-28 15:29:52 +00:00
uebayasi 3abce800c0 Define SYMTAB_SPACE in opt_ksyms.h, not opt_ddbparam.h. Ensure
that ddb(4) code is independent of SYMTAB_SPACE value.
2011-07-28 13:42:16 +00:00
mbalmer 9e924e522c Remove duplicate (but commented out) entries. 2011-07-28 12:55:35 +00:00
tsutsui 6a6959f98c Explicitly print uPD7201A name, which is a Z80 SIO like serial chip
with 8086 I/O interfaces.
2011-07-28 10:01:44 +00:00
tsutsui bf42741306 Use volatile uint8_t to access 8255 PPI ports. 2011-07-28 09:59:13 +00:00
tsutsui 54b5e30119 KNF, use ANSI decls, remove an obsolete hack, misc cosmetics etc. 2011-07-28 09:56:34 +00:00
joerg 4104b0e782 Sync compat defines to unbreak build.
XXX Do a proper config.h update from configure
2011-07-28 05:18:43 +00:00
uebayasi c16fddc807 Fix DEBUG build. 2011-07-28 04:06:09 +00:00
christos 7da8639ecc whitespace 2011-07-28 03:52:19 +00:00
christos 02479cacb5 whitespace 2011-07-28 03:48:46 +00:00
christos 47b4c27f8c whitespace and comments 2011-07-28 03:44:36 +00:00
uebayasi 6b742f99f5 dev_t is uint64_t; use PRIx64 to print it. Fix DEBUG build. 2011-07-28 03:42:20 +00:00
uebayasi 63715cd3da One more typo in #ifdef DEBUG. 2011-07-28 03:21:14 +00:00
uebayasi 486f0b2e24 Fix DEBUG build. 2011-07-28 03:15:20 +00:00