Commit Graph

188210 Commits

Author SHA1 Message Date
cnst
51998ed2d7 New wbsio(4) driver for Winbond Super I/O attachment of lm(4) on any port.
http://mail-index.netbsd.org/tech-kern/2010/02/17/msg007338.html

Reviewed by <pgoyette>, <tech-kern>.
2010-02-21 05:16:29 +00:00
darran
7fe76dd45f Add the DTrace kernel hooks file to the kernel build. 2010-02-21 04:00:47 +00:00
darran
eda67656cd Add DTrace to sets. 2010-02-21 03:18:45 +00:00
darran
1bc28ea1e9 Add the DTrace hooks to the kernel (KDTRACE_HOOKS config option).
DTrace adds a pointer to the lwp and proc structures which it uses to
manage its state.  These are opaque from the kernel perspective to keep
the kernel free of CDDL code. The state arenas are kmem_alloced and freed
as proccesses and threads are created and destoyed.

Also add a check for trap06 (privileged/illegal instruction) so that
DTrace can check for D scripts that may have triggered the trap so it
can clean up after them and resume normal operation.

Ok with core@.
2010-02-21 02:11:39 +00:00
darran
1bf14d4eef Add a MKDTRACE build knob for DTrace, off by default. 2010-02-21 01:48:03 +00:00
darran
01c9547e57 Apply NetBSD changes to DTrace.
Ok with core@.
2010-02-21 01:46:32 +00:00
mrg
19f4d68d7a s/D-cache/I-cache/ in some comments. 2010-02-21 00:57:44 +00:00
darran
bb8023b5c1 Add the FreeBSD 8-RC1 changes for DTrace.
Ok with core@.
2010-02-21 00:49:51 +00:00
christos
72f71b4cd6 default to the original behavior for $ENV unless POSIXLY_CORRECT is set. 2010-02-20 23:15:17 +00:00
joerg
808b2c3215 Remove a windows-only source file from the list. 2010-02-20 22:49:22 +00:00
ahoka
daea46045b Fix two problems with argc handling in bioctl(8), which makes
bioctl(8) dump core if expected arguments are not passed in.

Closes PR bin/39946 (patch by Juan RP).
2010-02-20 22:25:54 +00:00
roy
20fbb1c876 Use HOST_SRCS instead of adding to SRCS for hash.c 2010-02-20 19:04:48 +00:00
roy
47aa05b406 Use the pre-built hash table. 2010-02-20 17:02:33 +00:00
martin
d84669ba8d Select the shutdown method for secondary CPUs by available firmware
methods, not properties of the CPU.
Inspired by OpenSolaris, pointed out by eeh.
2010-02-20 16:46:38 +00:00
joerg
637b0cffec Rewrite argument processing to deal with spaces and other meta
characters in options. This was exposed by the "NetBSD 5.99" argument of
mandoc.
2010-02-20 15:04:03 +00:00
pooka
17a848cc03 printf -> aprint_normal to avoid empty linefeeds and partial messages
for AB_QUIET.
2010-02-20 14:52:22 +00:00
pooka
91f03c22e5 Fix snafu with error reporting in bulk transfers. 2010-02-20 13:56:29 +00:00
joerg
2c23e1b113 Add intermediate files to CLEANFILES. Explicitly include bsd.sys.mk to
ensure that HOST_SH is set, even when e.g. cleandir is used.
Noticed by Nicolas Joly.
2010-02-20 13:43:31 +00:00
drochner
1a101ef360 rename the new sysctl to "vm.user_va0_disable", for consistency
with the majority of existing sysctl flags, suggested by yamt
2010-02-20 13:21:58 +00:00
wiz
66c83b53c8 Bump date for previous. 2010-02-20 10:23:04 +00:00
mlelstv
6ae5a6ad41 Initialize device_name before opendisk to avoid
"unable to open device '(null)'" error messages
when the opendisk fails.
2010-02-20 08:47:10 +00:00
pgoyette
3360c946f9 One more time - do this correctly.
Thanks, joerg.
2010-02-20 06:20:46 +00:00
pgoyette
4b2f1808e2 Wrap the include of sys/endian.h in #ifdef HAVE_SYS_ENDIAN_H to avoid
build issues on systems that don't have a sys/endian.h

Pointed out by joerg@
2010-02-20 06:15:06 +00:00
pgoyette
237e56a5c8 Since tic is a host tool, we need to include host system header to get
definitions of le16dec() and le16enc().

Solves PR bin/42747 from Henning Petersen
2010-02-20 06:08:01 +00:00
joerg
a47bf818c5 Merge 2010-02-20 04:44:59 +00:00
joerg
2dbe35ad26 nstall-20100220:
Try harder to give the user an idea which file failed.
Addresses PR 42223.
2010-02-20 04:41:52 +00:00
darran
a864dc36a1 Import the rest of Opensolaris 20081117 needed for DTrace. No conflicts
with ZFS.
2010-02-20 04:33:34 +00:00
joerg
966b72ab39 Update build infrastructure for libarchive 2.8.0. 2010-02-20 02:55:52 +00:00
joerg
726cc99615 Do not leak setup_xattr into the public namespace. 2010-02-20 02:53:09 +00:00
joerg
d41f717e25 Merge changes 2010-02-20 02:51:32 +00:00
joerg
9fde539170 Import libarchive 2.8.0:
- Infrastructure:
  - Allow command line tools as fallback for missing compression
    libraries. If compiled without gzip for example, gunzip will
    be used automatically.
  - Improved support for a number of platforms like high-resolution
    timestamps and Extended Attributes on various Unix systems
  - New convience interface for creating archives based on disk content,
    complement of the archive_write_disk interface.
- Frontends:
  - bsdcpio ready for public consumption
  - hand-written date parser replaces the yacc code
- Filter system:
  - Simplified read filter chains
  - Option support for filters
  - LZMA, XZ, uudecode handled
- Format support:
  - Write support for mtree files based on file system or archive
    content
  - Basic read support for Joliet
  - Write support for zip files
  - Write support for shar archives, both text-only and binary-safe
2010-02-20 02:48:21 +00:00
joerg
51e7f65a76 Sort list. 2010-02-20 02:26:14 +00:00
joerg
1bd975ff5c Build mandoc unconditional if man pages are desirable. All
compatibility issues are supposed to be sorted out.
Build groff conditionally on MKGROFF. It is currently the only component
that requires C++.
2010-02-20 00:35:11 +00:00
christos
229a6fd0df make the default action abort for the empty log message; it used to be
continue. requested by joerg.
2010-02-19 23:50:55 +00:00
joerg
83a16fe245 Update tool version for mdocml 1.9.15. 2010-02-19 23:03:02 +00:00
joerg
156dc8e835 Update build system for mdocml 1.9.15. 2010-02-19 23:02:41 +00:00
joerg
09c95e748e Merge 2010-02-19 23:01:28 +00:00
joerg
d5e63c8d55 Import mdocml 1.9.15 modulo a patch for .Xr handling:
- XHTML output support, more human-readable HTML output
- end-of-line white space detected in all lines
- fix subtle bug for list displays in some modes
- fix column handling
- full support for \f etc
- imporoved column handling
- various other bug fixes
- compatiblity support for strlcat/strlcpy
- groff-compatible .Xr [backed out]
2010-02-19 22:54:40 +00:00
dyoung
754590e092 Avoid a potential crash: get more struct device initialization
out of the way before trying to get a unit number.  If we cannot
get a unit number, we call config_devfree(), which expects for
fields such as dv_flags, dv_cfattach, and dv_private to be initialized.
2010-02-19 22:28:47 +00:00
drochner
f138ed81f2 explain a non-portable behavior 2010-02-19 19:09:15 +00:00
joerg
7921be2c51 Link libroken against libcrypt for crypt(3). 2010-02-19 17:57:06 +00:00
joerg
e8e2c01488 libss uses strupr from libroken, so depend on that. 2010-02-19 17:48:59 +00:00
tnn
0846a7629f Merge the following revisions from OpenBSD to let sed(1) handle
arbitrarily long lines (closes our PR bin/42261).
openbsd/usr.bin/sed/extern.h 1.5
openbsd/usr.bin/sed/main.c 1.13-1.15
openbsd/usr.bin/sed/misc.c 1.8
openbsd/usr.bin/sed/compile.c 1.25-1.28
openbsd/usr.bin/sed/defs.h 1.4
2010-02-19 16:35:27 +00:00
he
f4a50bc26a Bump SYMTAB_SPACE so that it fits again. 2010-02-19 15:25:28 +00:00
pooka
182993fbc7 Huawei K3765 requires another kind of magic to get it out of CD mode.
It also changes product id after being configured.  Without this
change the device just lingers in u3ginit forever.  With this change:

u3ginit0 at uhub0 port 1: Switching to 3G mode
u3ginit0: detached
u3ginit0: at uhub0 port 1 (addr 2) disconnected
u3g0 at uhub0 port 1 configuration 1 interface 0
ucom0 at u3g0 portno 0: 3G Modem
u3g1 at uhub0 port 1 configuration 1 interface 1
ucom1 at u3g1 portno 1: 3G Modem
u3g2 at uhub0 port 1 configuration 1 interface 2
ucom2 at u3g2 portno 2: 3G Modem
u3g3 at uhub0 port 1 configuration 1 interface 3
ucom3 at u3g3 portno 3: 3G Modem

(tested with rump)
2010-02-19 15:10:02 +00:00
njoly
347e02defd Regen initparse.c/initscan.c without #line directives, to avoid host
tool depency problems when NETBSDSRCDIR != /usr/src.
2010-02-19 14:22:43 +00:00
pooka
0c9a7e023d regen: huawei K3765 2010-02-19 13:56:39 +00:00
pooka
91e54342ca Add Huawei K3765 (two id's, it changes product id after being inited). 2010-02-19 13:55:51 +00:00
njoly
82d9c2fa0b Add nint_table.h and nint_vars.h to generated list files. 2010-02-19 13:55:46 +00:00
njoly
62fab5d4b7 Do clean generated terminfo.5 file. 2010-02-19 13:53:17 +00:00