Commit Graph

188949 Commits

Author SHA1 Message Date
christos
1b57f2e4ab now that I've fixed Makefile.inc, include it. 2010-03-13 22:23:47 +00:00
christos
26d6c574bd Don't hard-code ../../ so that we can handle multi-level modules (dtrace) 2010-03-13 22:06:30 +00:00
christos
25f9b712f0 don't make links to directories that don't exist 2010-03-13 22:05:49 +00:00
christos
30ea37284e Document BIOC{G,S}FEEDBACK; I forgot who sent me the patch, so whoever created
it, thanks!
2010-03-13 20:39:54 +00:00
christos
8bc5973709 add BIOC{G,S}FEEDBACK which allows one to receive injected outgoing packets
via bpf.
2010-03-13 20:38:48 +00:00
mrg
a597c96c7d add SMART code 187: "Reported uncorrect". from smartmontools. 2010-03-13 19:49:50 +00:00
mrg
4accc351a3 revert the previous:
- the default for ZFS on x86 already was "yes".

- this left MKZFS unset for other platforms, which breaks the build.
2010-03-13 19:31:51 +00:00
haad
ef69f4224c Enable MKZFS by default on i386 and amd64 now when it compiles. 2010-03-13 17:07:28 +00:00
tsutsui
003cb9c6bf Mention support for the SMC Elite Ultra Ethernet with
the SMC_TT VME-ISA bridge for Atari.
2010-03-13 16:35:08 +00:00
tsutsui
52e0334c00 Regen from GENERIC.in rev 1.84:
> Add support for the SMC Elite Ultra Ethernet with the SMC_TT VME-ISA bridge.
2010-03-13 16:31:38 +00:00
tsutsui
639430789a Add support for the SMC Elite Ultra Ethernet with the SMC_TT VME-ISA bridge.
The SMC_TT is the user designed "handmade" VME-ISA bridge circuit
for 16 bit VME slot on TT030 and the SMC Elite Ultra ISA Ethernet card.
More information about SMC_TT can be found in the following archive:
ftp://ftp.funet.fi/pub/atari/net/smc_tt1.zip

Demonstrated on the NetBSD booth in Open Source Conference 2010 Kansai@Kobe.
2010-03-13 16:30:02 +00:00
scw
d2666a951d Fix PR kern/42838 using option #1 as described by KIYOHARA Takashi in
http://mail-index.netbsd.org/current-users/2010/02/20/msg012654.html

Add a comment in struct ucom_methods to explain usage of 'ptr' and 'count'
in the ucom_read handler.
2010-03-13 16:28:13 +00:00
christos
e8cb686278 make this compile. 2010-03-13 16:27:06 +00:00
skrll
0aa13d6505 Add a comment. 2010-03-13 16:17:59 +00:00
tsutsui
2253fb2fe8 Some KNF. 2010-03-13 15:46:09 +00:00
tsutsui
329daadadb - include "ioconf.h" for struct cfdriver we_cd
- remove unused macro
2010-03-13 15:42:09 +00:00
tsutsui
74c4eb5262 - make local functions static
- const'ify
2010-03-13 15:27:40 +00:00
tsutsui
b559dc4595 u_int8_t -> uint8_t 2010-03-13 15:26:38 +00:00
tsutsui
5c2e2150a5 Misc KNF. 2010-03-13 15:08:24 +00:00
nakayama
d35d52d37f Trim extra space, introduced in aprintfy. 2010-03-13 15:01:53 +00:00
martin
9034c8a049 Simplify the console type check by passing -nx to sysctl. Pointed out
by Alan Barrett.
2010-03-13 14:05:39 +00:00
plunky
858911baa2 fix sign-compare issue 2010-03-13 13:45:05 +00:00
kiyohara
7b15e91671 Add Broadcom BCM5482.
It tested on OpenBlockS600. (coming soon ;-)
And reorder.
2010-03-13 12:57:23 +00:00
kiyohara
8617f5a119 Regen. 2010-03-13 12:54:03 +00:00
kiyohara
a7e3a896d7 Add Broadcom BCM5482. 2010-03-13 12:52:29 +00:00
nonaka
bd9d1e1c80 fix compile failure when PXAMCI_DEBUG is defined. 2010-03-13 12:28:44 +00:00
bsh
4308bedb7d add SD/MMC driver for Twintail based on the driver for Zaurus. 2010-03-13 11:37:47 +00:00
bsh
95e7a9c9b7 apply struct device split to the rest of the drivers for Twintail. 2010-03-13 11:26:42 +00:00
bsh
b58b20fe01 fix LCD drivers for Lubbock and Twintail.
- pass correct attach args to pxa2x0_lcd_attach_sub()
  - make this driver compile without wsdisplay again.
2010-03-13 11:15:52 +00:00
bsh
622048aac2 fix changes for struct device split for Lubbock. 2010-03-13 11:13:31 +00:00
bsh
b292093df8 pass correct atttach args to sacc_probe() 2010-03-13 10:55:09 +00:00
mrg
4b35b5643b convert sparc64 to MULTIPROCESSOR kernel by default, and introduce
s/MP/UP/ kernels were otherwise in place.

in my testing on a U60, i couldn't really notice any different in
speed, but we need testing on a U1/U5/U10 systems to be sure that
GENERIC.UP isn't necessary.

for sparc64, this is some what required as USIIIi systems have the
memory controller on the CPU, and unless the CPU is spunup, a UP
kernel will not function on these systems.  (we obviously need to
join the NUMA-for-netbsd camp now, too! :-)


this should enable the installer to function on all systems that we
support, but also give the option for people to install GENERIC.UP
on their single-cpu systems if they choose.


XXX: i haven't actually tested sysinst with this, but i have built
both sparc and sparc64 release iso's successfully with this change
(sans having to comment out kern_ctf.c.)
2010-03-13 08:36:06 +00:00
darran
ce440a888f DTrace: only build in kernel CTF support if DTrace support is enabled
(i.e. options KDTRACE_HOOKS).
2010-03-13 08:33:26 +00:00
jld
8ccd0f67a6 Exclude parity map regions that don't actually exist from the dirty region count
in `raidctl -m`.  Makes for less confusing output during `raidctl -i`.
2010-03-13 07:21:37 +00:00
christos
04140a33ca make this compile. 2010-03-13 01:41:14 +00:00
darran
53cc5b77a6 DTrace: fix a sign problem with instruction size handling. 2010-03-13 01:10:01 +00:00
martin
e19ffe5ce4 Provide full terminfo.db on install media 2010-03-12 23:07:13 +00:00
matt
ae05b0bdc5 Add placeholdr flags indicating that the bus has MSI/MSI-X support. 2010-03-12 21:55:05 +00:00
darran
f6bf800773 DTrace: Add the Function Boundary Trace (FBT) provider moduile. This
module  instruments every function in the kernel with entry and exit
probes.  These probes are true zero-effect probes in that they don't
exist in the code until they are enabled.  The probes are enabled by
directly patching the function entry and exit points to make jumps into
the dtrace framework.
This gives us over 29,000 trace points in the kernel.
2010-03-12 21:53:15 +00:00
darran
38c72d335c DTrace: Add support for CTF sections in the netbsd elf image, load these
at boot.
Add a ksyms_mod_foreach() function to iterate a callback function over the
set of elf symbols for a specific module (netbsd included).
Add kern_ctf.c and mod_ctf_get() to allow the retrieval and decompression
of CTF sections for a specific module.
2010-03-12 21:43:10 +00:00
darran
328338d6bd DTrace: Add support for a simulated solaris_cpu[] data structure per
cpu.  Needed for the FBT provider amongst other features.
2010-03-12 21:37:37 +00:00
martin
e4ef8b1dd7 Use sysctl kern.consdev to check wether we use ttyE* as console - in that
case just set up TERM as needed and go straight to sysinst. Otherwise
give a slightly verbose explanation (with common sample values) and
ask for TERM before running sysinst.
2010-03-12 21:36:52 +00:00
jakllsch
07188f89fa ata(4) expects IDENTIFY data to be in host endianess.
Logic borrowed from siisata(4) (which I've confirmed works on sparc64).
Should fix PR kern/39659.
2010-03-12 19:03:14 +00:00
haad
0d21743f10 Disable disk_ioctl_switch fo device-mapper control device. 2010-03-12 16:26:26 +00:00
haad
16daab5dae Fix /var/run/dev.db dependency by adding new get_dev_name routine which
converts raw device major:minor number to block device path. By reading
/dev and using stat to find block device major:minor numbers.
2010-03-12 16:24:40 +00:00
roy
f5bae739a4 Revert part of last patch. Didn't mean to enable pf by default. 2010-03-12 15:12:12 +00:00
roy
f4a46cfc64 Change the default console from wsemul_sun/sun-ss5 to wsemul_vt100/wsvt25.
This allows for a colour console, fixes home/end keys not working and
works with the embedded wsvt25 description in libterminfo.
2010-03-12 14:50:54 +00:00
oki
4c7318c4d2 Fixed a number of race conditions in the case of receiving ipv4 packet.
found by iij seil team.
2010-03-12 13:33:19 +00:00
wiz
35d2900127 Quote question mark so it's correctly marked up.
Problem reported by Ryo HAYASAKA in PR 42963.
2010-03-12 09:36:15 +00:00
uwe
6fc217346b 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-12 09:12:34 +00:00