Commit Graph

574 Commits

Author SHA1 Message Date
alnsn
c0135b01f2 Enable sljit in amd64 kernel and modules. 2012-10-13 19:42:02 +00:00
dsl
9fb5a66c05 Remove references to VM86 from the amd64 kernel configs.
VM86 mode isn't supported while in long mode.
2012-10-04 21:23:45 +00:00
alnsn
5c5a76d566 Remove bpf_jit which was ported from FreeBSD recently.
It will soon be replaced with the new bpfjit kernel module.
2012-09-27 18:28:53 +00:00
khorben
1c91c96277 Enable support for synaptics touchpads when running Xen as domain 0; helps
usability on laptops. Fixes PR port-xen/44055.

ok bouyer@ riz@
2012-09-24 23:13:36 +00:00
chs
ebb8f1a4a1 add vmt entry to GENERIC.
standardize commented pfsync and npf entries.
2012-09-23 01:05:21 +00:00
jakllsch
ec5ba90796 Rename RT2500USB driver to ural(4) as it was originally in OpenBSD,
as ural(4) and ral(4) do not actually share any code.

Enable ural(4) in hpcarm WZERO3 kernel too, as it will now build.

Fixes PR#43520.
2012-09-01 18:17:49 +00:00
jakllsch
d912dfc016 back out unintentional change in 1.352. 2012-09-01 15:25:33 +00:00
dholland
60002edfbc whitespace 2012-08-27 03:18:12 +00:00
dholland
beb1b12003 Restore comment heading lost during the MODULAR thrashing. 2012-08-24 05:59:01 +00:00
rmind
1f86dc56b4 Add BPF JIT compiler, currently supporting amd64 and i386. Code obtained
from FreeBSD.  Also, make few BPF fixes and simplifications while here.
Note that bpf_jit_enable is false for now.

OK dyoung@, some feedback from matt@
2012-08-01 23:24:28 +00:00
matt
cba962f15d Enable FFS_EI (let's be more endian tolerant). 2012-08-01 04:20:04 +00:00
degroote
a80f624894 Add malo(4) entry in various kernel configuration 2012-07-30 19:40:51 +00:00
reinoud
e631798833 Move i386 and amd64 usermode configurations to their respective directories
and make the usermode kernels buildalbe under build.sh.

The resulting kernels are build and packaged correctly as are the associated
modules.
2012-06-30 15:03:56 +00:00
khorben
f4b7eefb95 Disable azalia(4) now that hdaudio(4) was switched on
ok bouyer@
2012-06-22 22:38:39 +00:00
riz
94f4463123 Add urtw(4) to i386/amd64 GENERIC. 2012-06-14 04:23:48 +00:00
abs
8f45a59205 Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
2012-06-05 08:44:07 +00:00
nonaka
9cdb1c70e5 Add a driver for Ralink Technology RT2700U/RT2800U/RT3000U USB IEEE
802.11a/b/g/n wireless network devices, ported from OpenBSD by FUKAUMI Naoki,
arranged by me.
2012-05-30 14:30:32 +00:00
jym
8cf41b7663 Merge i386 and amd64 version of db_memrw.c.
Use this opportunity to skip calculating the VA of the page. Let the CPU
deal with the invalidation itself through invlpg + destination address to
avoid converting between canonical/non canonical forms.
2012-05-07 17:45:28 +00:00
bouyer
24a7abc690 Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.
2012-04-19 17:50:49 +00:00
cegger
c42e0053b0 Replace amdtempbus with amdnb_miscbus.
This allows us to have independent drivers on the same device (northbridge f3)
each coming with a certain functionality/feature.
This way we do not need to mess with amdtemp(4) to utilize other features.
2012-04-13 13:11:16 +00:00
christos
40b3227a8d add apple autodiscovery. 2012-04-07 05:39:55 +00:00
nonaka
db4c04c984 Added urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless network devices. 2012-03-25 00:11:16 +00:00
joerg
99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
mbalmer
c06655de51 Add commented out DDB_COMMANDONENTER example, enable pwdog(4). 2012-02-28 12:08:37 +00:00
bouyer
f817b6b7bd Also comment out ACPIVERBOSE and MPVERBOSE 2012-02-25 18:11:05 +00:00
bouyer
04cddacced Also comment out MPDEBUG 2012-02-25 17:45:53 +00:00
bouyer
c11610f735 Comment out options DEBUG from Xen kernel; also comment out
makeoptions DEBUG="-g" where it was still enabled.
2012-02-25 17:03:34 +00:00
cherry
df3113e782 switch on NetBSD/Xen MULTIPROCESSOR support for domUs as default, for wider testing 2012-01-30 10:55:25 +00:00
christos
6fb39d18da add a tpm driver from bsssd.sourceforge.net 2012-01-22 06:44:28 +00:00
veego
afbd7949a7 Back out all changes for rev 1.346 which are not related to PR/45850
Should fix the reported build problem from Paul Goyette
2012-01-17 18:11:28 +00:00
christos
fc5fe3c352 PR/45850: Pierre Pronchery: USB multi-touch panels are not supported 2012-01-17 03:49:19 +00:00
jmcneill
e6501d623a add irmce(4), cir@irmce, and cir@emdtv 2012-01-16 14:44:07 +00:00
jmcneill
fde1964dc4 add & enable digital tv capture support 2012-01-15 15:05:06 +00:00
cegger
a3f6c06746 Support CPU microcode loading via cpuctl(8).
Implemented and enabled via CPU_UCODE kernel config option
for x86 and Xen Dom0.
Tested on different AMD machines with different
CPU families.

ok wiz@ for the manpages
ok releng@
ok core@ via releng@
2012-01-13 16:05:14 +00:00
christos
b5fe2e70e9 Add an ipad 2011-12-31 00:10:06 +00:00
cherry
0759560962 Add knob to turn MULTIPROCESSOR build on for XEN 2011-12-19 19:09:16 +00:00
joerg
417b55d96e Move Clang-warning flags for ah_regdomain.c into sys/conf, they are
platform independent. Use the selective -Wno-* flags instead of
-Wno-error.
2011-12-19 14:06:16 +00:00
dholland
7bbf82b772 WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
2011-12-18 05:49:22 +00:00
tls
a22a3917ac The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself.  Move it to std.  This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports.  Thanks to Havard Eidnes for
pointing them out.
2011-11-22 21:24:51 +00:00
tls
3afd44cf08 First step of random number subsystem rework described in
<20111022023242.BA26F14A158@mail.netbsd.org>.  This change includes
the following:

	An initial cleanup and minor reorganization of the entropy pool
	code in sys/dev/rnd.c and sys/dev/rndpool.c.  Several bugs are
	fixed.  Some effort is made to accumulate entropy more quickly at
	boot time.

	A generic interface, "rndsink", is added, for stream generators to
	request that they be re-keyed with good quality entropy from the pool
	as soon as it is available.

	The arc4random()/arc4randbytes() implementation in libkern is
	adjusted to use the rndsink interface for rekeying, which helps
	address the problem of low-quality keys at boot time.

	An implementation of the FIPS 140-2 statistical tests for random
	number generator quality is provided (libkern/rngtest.c).  This
	is based on Greg Rose's implementation from Qualcomm.

	A new random stream generator, nist_ctr_drbg, is provided.  It is
	based on an implementation of the NIST SP800-90 CTR_DRBG by
	Henric Jungheim.  This generator users AES in a modified counter
	mode to generate a backtracking-resistant random stream.

	An abstraction layer, "cprng", is provided for in-kernel consumers
	of randomness.  The arc4random/arc4randbytes API is deprecated for
	in-kernel use.  It is replaced by "cprng_strong".  The current
	cprng_fast implementation wraps the existing arc4random
	implementation.  The current cprng_strong implementation wraps the
	new CTR_DRBG implementation.  Both interfaces are rekeyed from
	the entropy pool automatically at intervals justifiable from best
	current cryptographic practice.

	In some quick tests, cprng_fast() is about the same speed as
	the old arc4randbytes(), and cprng_strong() is about 20% faster
	than rnd_extract_data().  Performance is expected to improve.

	The AES code in src/crypto/rijndael is no longer an optional
	kernel component, as it is required by cprng_strong, which is
	not an optional kernel component.

	The entropy pool output is subjected to the rngtest tests at
	startup time; if it fails, the system will reboot.  There is
	approximately a 3/10000 chance of a false positive from these
	tests.  Entropy pool _input_ from hardware random numbers is
	subjected to the rngtest tests at attach time, as well as the
	FIPS continuous-output test, to detect bad or stuck hardware
	RNGs; if any are detected, they are detached, but the system
	continues to run.

	A problem with rndctl(8) is fixed -- datastructures with
	pointers in arrays are no longer passed to userspace (this
	was not a security problem, but rather a major issue for
	compat32).  A new kernel will require a new rndctl.

	The sysctl kern.arandom() and kern.urandom() nodes are hooked
	up to the new generators, but the /dev/*random pseudodevices
	are not, yet.

	Manual pages for the new kernel interfaces are forthcoming.
2011-11-19 22:51:18 +00:00
mbalmer
2b7e7be22d Add commented out entry for gpiopwm(4). 2011-11-13 12:46:40 +00:00
riz
4c9d92224e Add pseudo-device drvctl. (Already exists in i386 domU config) 2011-11-10 22:16:56 +00:00
christos
210cc8d989 Add compat_svr4 hooks, this does not work yet. 2011-11-06 19:45:04 +00:00
hannken
8ade49ad05 Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current.  This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64.  Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.
2011-10-30 12:12:21 +00:00
jakllsch
4f710f1a5f Per existing x86 GENERIC kernels, add:
#options BUFQ_READPRIO
options BUFQ_PRIOCSCAN
to Xen kernels.
2011-10-25 15:01:45 +00:00
jmcneill
c38ba8c7e5 remove iic, I fixed the i2c code 2011-10-03 22:28:56 +00:00
mbalmer
0d24d954db Enable an iic(4) device to prevent a linker warning. 2011-10-03 07:28:14 +00:00
christos
508745a56a include wakecode after kernel rules so that the .depend rules are defined 2011-09-14 14:59:29 +00:00
mbalmer
2afb25b13d Add gpio entries, commented out, since I am working with them as modules atm. 2011-08-30 13:07:30 +00:00
jmcneill
76898e7685 revert previous 2011-08-30 12:13:25 +00:00