Commit Graph

334 Commits

Author SHA1 Message Date
chs
11c69f2d20 adapt the cyclic module and profile dtrace provider to netbsd.
for now, just hook the cyclic callback into hardclock().
2012-12-02 01:05:16 +00:00
chs
30f1068241 remove unneeded include dirs. 2012-12-02 00:47:37 +00:00
pooka
8d40a1e7f7 Don't unconditionally use the error-silencing magic of -isystem
(as opposed to -I) on every component, only the zfs ones depend on it
to build.  Regular modules might benefit from a similar move.
2012-11-21 17:48:05 +00:00
alnsn
e4afd2bd10 Enable bpfjit on sparc. 2012-11-06 07:59:09 +00:00
ahoka
cc1cec2dd7 Add nand_samsung.c to the module build too! 2012-11-03 11:48:54 +00:00
alnsn
0cae5cae2f Build bpfjit on i386. 2012-10-28 16:25:02 +00:00
alnsn
e8c0d6c662 Add bpfjit and enable it for amd64. 2012-10-27 22:36:11 +00:00
alnsn
faf841b39a Move sljit_mod.c to sys/external/bsd/sljit/sljit and share it between
builtin and standalone module.
2012-10-21 21:23:38 +00:00
alnsn
c0135b01f2 Enable sljit in amd64 kernel and modules. 2012-10-13 19:42:02 +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
rmind
8c6e21bf5e Implement dynamic NPF extensions interface. An extension consists of
dynamically loaded module (.so) supplementing npfctl(8) and a kernel
module.  Move normalisation and logging functionality into their own
extensions.  More improvements to come.
2012-09-16 13:47:41 +00:00
rmind
63f44833ba - Extend npftest: add ruleset inspection testing from the config generated
by npfctl debug functionality.  Auto-create npftest interfaces for this.
- NPF sessions: combine protocol and interface into a separate substructure,
  share between the entries and thus fix the handling of them.  Constify.
- npftest: add regression tests for NAT policies.
- npf_build_nat: simplify and fix bi-NAT regression.
- Bump yacc stack size for npfctl.
2012-08-12 03:35:13 +00:00
martin
2b64d8ed07 Move hdaudio and hdafg modules into x86 only section for now, untill
somebody creates a "all archs with PCI" ifdef.
2012-08-06 10:31:41 +00:00
riastradh
27d763f8ca Build hdaudio and hdafg modules. 2012-08-05 04:03:39 +00:00
riastradh
8c75453876 Add a module for uatp(4). 2012-08-04 04:37:25 +00:00
matt
5737b10fcb Add missing paren. 2012-08-02 00:22:32 +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
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
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
nonaka
bb7d544fc1 Use collect device. 2012-05-30 12:05:56 +00:00
riastradh
32dd758701 Update ffs, ext2fs, and tmpfs module makefiles to add *_rename.c.
ok martin
2012-05-10 07:51:34 +00:00
christos
f7b1fda082 split the coda module in a device one, and a vfs one so that it works. 2012-04-26 03:03:53 +00:00
pgoyette
c30f8ca413 Actually create the if_axe module - driver was modularized a while ago. 2012-04-25 13:55:17 +00:00
pgoyette
db696edd06 Actually create the dbcool(4) module. Driver was modularized a while ago. 2012-04-25 04:49:46 +00:00
pgoyette
ca34f38e2b Create the module for sdtemp (driver itself was modularized some time ago) 2012-04-25 03:44:16 +00:00
cegger
fbb3a1d6f5 replace amdtempbus with amdnb_miscbus.
pointed out by pgoyette@
2012-04-13 13:36:57 +00:00
ttoth
4024b54911 using chtype on media instead of vtype
debug.c deleted
2012-04-12 15:31:01 +00:00
joerg
0e8643658c Don't pass assembler flags to genassym, it doesn't compile. 2012-03-25 06:55:19 +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
7fb18a4a84 Also kill the module build system for ksem. 2012-03-11 01:30:56 +00:00
joerg
99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
rmind
ad12c77015 Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
2012-02-19 21:05:51 +00:00
rmind
2d3c715fba - Split NPF rule procedure code into a separate module (no functional changes).
- Simplify some code, add more comments, some asserts.
- G/C unused rule hook code.
2012-02-06 23:30:14 +00:00
christos
8364b8d242 -D flags belong in CPPFLAGS 2012-02-05 18:46:04 +00:00
christos
0b8fb5a58e argh, there was even more debugging! 2012-02-04 18:39:21 +00:00
christos
7eb6e48a1e No -g on the default install, if you want debugging you know where to put it. 2012-02-04 18:38:13 +00:00
christos
66ecc48cbd no -g on default install
if you want debugging, you know where to put it.
2012-02-04 18:35:56 +00:00
christos
e7304d92f3 Remove -g -O0. It does not work on amd64 at all.
If you want debugging on, add it yourself.
2012-02-04 18:28:53 +00:00
tls
7b0b7dedd9 Entropy-pool implementation move and cleanup.
1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.
2012-02-02 19:42:57 +00:00
jakllsch
f4a9de15e0 Add lm, lm_isa_common, lm_isa, lm_wbsio and wbsio modules to the x86 build. 2012-01-17 16:59:37 +00:00
jakllsch
4dd99ce884 Modularize lm_isa and lm_wbsio, splitting the common part out
into a 3rd module.  Add wbsio module too.
2012-01-17 16:50:07 +00:00
jym
9795ba65d8 Hook secmodel_extensions(9) to modules build. 2011-12-04 23:13:54 +00:00
rmind
fad8b2d7a1 - Rework and improve TCP state tracking.
- Fix regressions after IPv6 patch merge.

Note: npfctl(8) rework will come soon.
2011-11-29 20:05:30 +00:00
ahoka
f9fadebd59 Add module glue for CHFS. 2011-11-24 15:52:24 +00:00
riz
262c7a9290 Build and install new in-kernel iscsi initiator kernel module and associated
binaries (iscsid, iscsictl) if MKISCSI != no.  Initiator can also be built
into a kernel by adding 'pseudo-device iscsi' in kernel configuration.
2011-11-15 16:50:43 +00:00
tron
2d18c9fb9f Add "npf_alg_icmp" kernel module. 2011-11-06 13:26:54 +00:00
tron
0783b12674 Fix breakage caused by last commit. "npf_alg_icmp.c" is supposed to be
its own kernel module.
2011-11-06 13:04:44 +00:00
tron
2f22aacfed Define "INET6" to get IPv6 support. 2011-11-06 12:07:21 +00:00
tron
ceee944e91 Build "npf" module. 2011-11-06 11:51:23 +00:00
tron
74975501ed Update list of source files. 2011-11-06 10:35:50 +00:00