Commit Graph

189006 Commits

Author SHA1 Message Date
dyoung
bc155f4a0d Delete unused members ct_rbus_iot and ct_rbus_memt from struct
cardbus_devfunc.
2010-03-15 19:43:17 +00:00
jmmv
c649ef358c Register the new tests in sys/rc for rc.d scripts. 2010-03-15 19:03:33 +00:00
jmmv
2c2857e920 Add some basic tests for rc.d scripts to validate the execution of
subcommands and the optional argument passing to them from the command
line.

Triggered by the modification of the run_rc_command function in rc.subr
to allow passing in extra parameters to the commands defined in rc.d
scripts.
2010-03-15 19:03:08 +00:00
jmmv
8199472ae1 Add the /usr/tests/sys/rc directory. 2010-03-15 19:00:53 +00:00
jmmv
f54900017c Document that run_rc_command can take extra parameters and will pass those
to the command being executed.
2010-03-15 19:00:20 +00:00
jmmv
bff64ddc47 Allow the run_rc_command function in rc.subr to pass extra parameters to
the command being executed.  This is to allow rc.d scripts to do:

    run_rc_command "${@}"

instead of:

    run_rc_command "${1}"

and let the command handler (start, stop, etc.) receive the arguments after
the command name.

None of the default commands allow extra arguments, and they will error out
if any are given.  This is mostly useful for script-specific commands that
are only supposed to be used through the command line and, therefore, need
to provide a friendly interface.

Proposed in tech-userlevel@.  No major objections except for some minor
concerns regarding whether this should be allowed or not at all.  Note that
I'm not touching any of the rc.d scripts in the base system, so this is
effectively a no-op from the user point of view.
2010-03-15 18:59:47 +00:00
he
302a0beda3 Latest change to loadfile_elf32.c grew a dependency on strncmp,
so provide that as well as part of libsa for this platform.
2010-03-15 16:13:13 +00:00
tnozaki
36a8b8869c 1. fix wrong byte order mark of utf-16, reported by NARUSE Yui -san.
patch provided by tshiozak@ -san.

2. don't eat 0xfeff/0xfffe if they don't appear at the first of bytestream.
noticed y tshiozak@ -san, patch provied by me.

thanks a lot.
2010-03-15 15:00:58 +00:00
kiyohara
abcc88b537 More SYMTAB_SPACE.
Enable wsmux for udl.
2010-03-15 13:18:59 +00:00
kiyohara
fa7c24a083 XXXX: More power is necessary for NIC and USB? (no document. from Linux)
tested on verdex + console-vx + netCF-vx
  and verdex-pro + netpro-vx + consoleLCD-vx.
2010-03-15 13:16:56 +00:00
kiyohara
0d23f6e0df Use bus_space_write_2() instead of _1, because sm(4) is 16bit/word. 2010-03-15 13:11:23 +00:00
uwe
73fb9af349 Add memset to libkern on vax, moving existing memset.S to src/common.
While kernel source code is supposed to use <machine/macros.h> via
<sys/param.h> and pick an inline asm version from there, gcc itself
can generate direct calls to memset() for structure initialization, so
the symbol must be provided.

Fixes INSTALL kernel, for which -Os caused gcc to use memset() call to
initialize a struct in uvm_fault_internal().
2010-03-15 11:46:49 +00:00
uwe
16399c9eba Sync with <sys/bus_proto.h>: constify source arg of bus_space_write* &co,
fix size_t vs. bus_size_t confusion.

Makes mmeye kernel build again.
2010-03-15 11:27:38 +00:00
hannken
afab4c313c Allow ufs_inactive() while a file system is suspending. Removes a possible
deadlock between vrele() and ffs_sync() during suspension.
2010-03-15 09:20:10 +00:00
mrg
0a92db93dc fix MKDEBUG=yes builds on dreamcast. 2010-03-15 08:03:02 +00:00
mrg
5a15d864e9 fix MKDEBUG=yes builds on amiga 2010-03-15 07:28:56 +00:00
mrg
36701b9819 fix MKDEBUG=yes builds for newsmips and mmeye. 2010-03-15 07:27:04 +00:00
mrg
e042f17320 fix MKDEBUG=yes build for atari. 2010-03-15 06:45:44 +00:00
enami
406cd2335d The monitor struct member is gone. Make this compile again. 2010-03-15 03:27:49 +00:00
mrg
57f7004c92 fix MKDEBUG=yes builds for mipsco. 2010-03-15 03:16:07 +00:00
darran
297071520d DTrace: include in opt_dtrace.h so it will build with DTrace. 2010-03-15 02:28:59 +00:00
mrg
a815546e15 fix MKDEBUG=yes builds for mac68k 2010-03-15 02:17:29 +00:00
mrg
ce47bd1637 fix acorn32 MKDEBUG=yes builds. 2010-03-15 01:17:36 +00:00
enami
5a205be6e4 Sync SYNOPSIS with the actual configuration file. 2010-03-15 00:47:38 +00:00
jakllsch
e234a659da Remove duplicate USB_PRODUCT_LINKSYS3_WUSB11V28 entry.
Pointed out by <db@db.net> in #NetBSD-code.
2010-03-15 00:17:55 +00:00
mrg
8b557af72b fix armeb builds with MKDEBUG=yes 2010-03-14 23:32:08 +00:00
mrg
0d5e3985de fix MKDEBUG=yes builds for bebox, prep, rs6000, alpha, cats, macppc,
netwinder, shark, sparc* and zaurus.  (the other changed files were
already working, but wrong.)
2010-03-14 23:19:18 +00:00
darran
0ede06284a DTrace: Make the CTF handling conditional on KDTRACE_HOOKS for now since
it breaks the boot of the atari kernel (and possibly others).
2010-03-14 21:27:49 +00:00
dyoung
9650f1c575 Use device_suspensor_t instead of struct device_suspensor. 2010-03-14 21:25:59 +00:00
jld
c943cf459a For RAID sets which have no parity (i.e., RAID level 0) and therefore can
never have a parity map, make the parity map ioctls fail with EINVAL.

This makes `raidctl -m` print a scary-looking error on such sets, which
is an improvement over the previous behavior of falsely claiming that
the parity map would be enabled on the next configuration.
2010-03-14 21:11:41 +00:00
dyoung
090e16c442 Add a new member, pc_super, to x86's pci_chipset_tag: pc.pc_super points
to the tag that pc inherits its behavior from.  Add code to deal with
pc.pc_super.

Pull identical declarations out of xen/include/pci_machdep.h and
x86/include/pci_machdep.h into x86/include/pci_machdep_common.h.
2010-03-14 20:19:06 +00:00
joerg
da1ecafda7 Merge for libarchive-2.8.2. 2010-03-14 19:30:50 +00:00
joerg
11cd5c56c4 libarchive-2.8.2:
- Fix NULL deference for short self-extracting zip archives
- Don't dereference symlinks on Linux when reading ACLs
- Better detection of SHA2 support for old OpenSSL versions
- Fix parsing of input files for bsdtar -T
- Do not leak setup_xattr into the global namespace
- Fix build when an older libarchive is already installed
- Use O_BINARY opening files in bsdtar
- Include missing archive_crc32.h
- Correctly include iconv.h required by libxml2
2010-03-14 19:19:45 +00:00
pgoyette
89bf6ebb9f Remove setting of edata->monitor since that member no longer exists. 2010-03-14 18:05:07 +00:00
pgoyette
d8b50b486b Remove setting of the edata->monitor since that member no longer exists. 2010-03-14 18:04:29 +00:00
pgoyette
d5f3dc8bdd Retire the 'monitor' member of the envsys_data_t. It was only used in
one place, and functioned as a logical OR of the ENVSYS_FMON* flag bits.
2010-03-14 18:03:15 +00:00
mrg
a2d7a57738 fix MKDEBUG=yes build for hpc* 2010-03-14 17:20:08 +00:00
pgoyette
d16068c26d Document the recently added 'maximum-capacity' and 'high-capacity'
limits for battery sensors.
2010-03-14 14:47:03 +00:00
nonaka
d7edcabe41 change baud rate. 2010-03-14 12:36:32 +00:00
wiz
e7c0403263 FreeBSD -> .Fx, add RCS Id. 2010-03-14 11:32:39 +00:00
kiyohara
6c12a30afa Add fdc@isa.
tested on PegasosII.
2010-03-14 10:14:14 +00:00
kiyohara
b795d8986f Fix isa(4) support for ofw.
ofw not initialized bus_space for isa(4).
  It tested on ofppc(PegasosII).
2010-03-14 10:03:49 +00:00
mrg
d4c3eb636c fixes for MKDEBUG=yes. 2010-03-14 09:52:00 +00:00
explorer
815e4bafd6 add device id and quirks for iPhone 3GS (just copy the 3G ones) 2010-03-14 08:44:46 +00:00
mrg
87836aae66 fixes for MKDEBUG=yes on pmax. 2010-03-14 08:24:18 +00:00
mrg
b437338bfb add add sgivol.debug. 2010-03-14 06:49:57 +00:00
mrg
7af5b7b076 remove all references to X11R6-only tools that have R7 ".debug" versions. 2010-03-14 06:49:31 +00:00
mrg
97f86c499c regenerate 2010-03-14 03:54:59 +00:00
mrg
b77d34ff05 add several core i7 devices, and some more ricoh card reader controllers. 2010-03-14 03:13:04 +00:00
macallan
5f2645eca2 apparently I forgot to commit this
thanks to uwe & mrg for hitting me over the head with the error log
2010-03-14 01:13:16 +00:00