matt
1e205987d1
awk support scripts to generate trampolines in modules.
...
(adapted from previous LKM method).
<machine/asm.h> now has a KMODTRAMPOLINE macro to generate the trampoline
2013-08-07 17:06:22 +00:00
dholland
0166a5c7cf
fix another defective C&P makefile
2013-07-20 20:44:02 +00:00
reinoud
70ad4376ce
Add udf_rename.c to the UDF module make
2013-07-10 19:07:20 +00:00
dholland
f545eefb81
Update the sources list for lfs.
...
It is a defect in our module system that failure to include all the sources
in here does not result in a build failure with undefined symbols.
(It is also a defect in our module system that we need a whole parallel
system of source lists for it.)
2013-06-16 03:55:35 +00:00
rmind
bdfcfdcad8
- NPF connection tracking: rework synchronisation on tracking disable/enable
...
points and document it. Split the worker thread into a separate module
with an interface, so it could be re-used for other tasks.
- Replace ALG list with arrays and thus hit fewer cache lines.
- Misc bug fixes.
2013-06-02 02:20:04 +00:00
christos
3776b08253
add new file
2013-05-10 16:35:30 +00:00
christos
3f1838bce3
remove dup
2013-04-16 15:30:09 +00:00
christos
4189a9f4d7
add missing file
2013-04-16 15:21:33 +00:00
christos
b81adcde5a
module for if_athn_usb
2013-03-30 18:59:38 +00:00
christos
2c132b3129
normali{s,z}e
2013-03-12 20:47:48 +00:00
christos
fbddef57ad
new npflog driver split out of npf_ext_log.
2013-03-10 20:54:14 +00:00
rmind
0e21825481
NPF:
...
- Implement dynamic NPF rules. Controlled through npf(3) library of via
npfctl rule command. A rule can be removed using a unique identifier,
returned on addition, or using a key which is SHA1 hash of the rule.
Adjust npftest and add a regression test.
- Improvements to rule inspection mechanism.
- Initial BPF support as an alternative to n-code.
- Minor fixes; bump the version.
2013-02-09 03:35:31 +00:00
christos
985c770dc8
We need more defines for this to actually work!
2013-01-22 01:50:25 +00:00
christos
d558641cdd
No need to wrap each version with a separate conditional.
2013-01-22 01:48:34 +00:00
christos
4c51459516
make this work
2012-12-14 15:46:51 +00:00
rmind
333cdb0c5a
Add NPF "rndblock" extension to randomly drop packets (using a random function
...
with a percentage or modulo operation). This is a demo module, although it can
be used for packet loss simulation. Example of a procedure in npf.conf:
procedure "somedrop" {
# Drop 1.9% of the traffic
rndblock: percentage 1.9
}
2012-12-10 00:32:23 +00:00
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
jmcneill
d99f77faf2
mark vm_reg members as volatile instead of building this with -O0
2011-10-20 20:13:54 +00:00
jmcneill
71d8676fc4
add & enable vmt module
2011-10-18 00:33:47 +00:00
jmcneill
233dd477e3
add a port of the VMware Tools driver vmt(4) from OpenBSD
2011-10-17 22:39:22 +00:00
plunky
f65a48c2ec
max WARNS is 4
2011-10-13 17:23:28 +00:00
jmcneill
c1a45d4469
Remove an invalid include path from CPPFLAGS
2011-10-03 23:39:05 +00:00
jmcneill
5a065f0064
fix build for kernels with i2c host controller drivers but no iic(4)
...
driver present
2011-10-03 22:27:23 +00:00
jmcneill
2e7ee9e5d8
rename ioconf file to match module name, and remove an invalid include path
...
from cppflags
2011-10-02 21:14:22 +00:00
mbalmer
f2b8ed7ad8
Build iic(4) and gpioiic(4) as modules.
2011-10-02 12:13:08 +00:00
mbalmer
8e70f7be4f
Modules for iic(4) and gpioiic(4).
2011-10-02 11:43:30 +00:00
sjg
3a3c1d94e3
Add filemon to the modules we build.
2011-09-29 17:40:19 +00:00
mbalmer
d3aee14626
Move SYSCTL_USE_DESCR to a better place.
2011-09-11 18:38:02 +00:00
mbalmer
7821aff47b
Include sysctl descriptions when building modules.
2011-09-10 08:27:06 +00:00
mbalmer
468a063f63
Add CWARNFLAGS+= -Wno-unused for clang.
2011-08-31 14:42:18 +00:00
mbalmer
2e4cf7046d
Link the gpioow(4) and onewire(4) modules to the build and add them to the
...
lists.
2011-08-31 13:25:49 +00:00
mbalmer
59f6ae0da4
gpioow(4) and onewire(4) can be build as modules. Not linked to the build.
2011-08-31 12:46:36 +00:00
jruoho
df2580b9bc
Add Zarlink ZL10353 DVB demodulator (or as it is now know, Intel CE623x).
2011-08-29 11:14:15 +00:00
jmcneill
1f02a7ab53
build pf module with WARNS=3, and remove the need for -Wno-shadow
2011-08-29 09:50:04 +00:00
jmcneill
97d971731f
add mach64drm, mgadrm, r128drm, savagedrm, sisdrm, and tdfxdrm modules
2011-08-28 16:19:07 +00:00
jmcneill
5494668f55
Split out ati_pcigart into a separate module so it can be shared with r128drm
2011-08-28 15:56:21 +00:00
jmcneill
eb1862a454
WARNS=3 is the default
2011-08-28 15:48:19 +00:00
jmcneill
54d6e22c5d
set default WARNS for modules to 3 -- the only one that needs < 3 now is pf
2011-08-28 15:40:49 +00:00
pgoyette
a948210b56
Fix the ioconf files. We can't include dev/usb/files.pci and the
...
attachment should be usbdevif as defined in files.usb
2011-08-25 02:07:38 +00:00
pgoyette
81d8330c12
Remove left-over debug line
2011-08-23 12:55:50 +00:00
pgoyette
99deda018d
Module build glue for if_rum and if_axe
2011-08-23 12:54:05 +00:00
jakllsch
d3b38f366f
Apparently we need to use the attribute and not the device name as the pseudo-root.
2011-08-20 19:53:45 +00:00
christos
8a88450abf
remove unneeded non-literal format string
2011-08-19 08:26:20 +00:00
jakllsch
271ee63da4
Catch up to current reality.
2011-08-18 20:57:11 +00:00
christos
4d92fa6ddb
document non-literal string format
2011-08-18 17:02:49 +00:00
mbalmer
b50c50a270
gpio(4) and gpiosim(4) can now be built and used as modules. While here,
...
make some functions static.
2011-08-12 08:00:52 +00:00
mbalmer
1d8ccccd63
pwdog is not for all platforms, build only on i386, x86_64, and sparc64
2011-08-11 12:03:06 +00:00
mbalmer
352c784990
pwdog(4) is a device driver for QUANCOM Electronic PWDOG1 PCI
...
attached watchdog timers.
2011-08-11 07:33:24 +00:00
jruoho
b7ff5db1d4
Build acpiwdrt(4) as a module on x86.
2011-08-09 12:16:03 +00:00
jruoho
20073051ea
Two placeholder comments.
2011-08-09 12:09:55 +00:00
jmcneill
fb32363eae
include cx24227, lg3303, mt2131, nxt2k, tvpll, xc3028, coram, cxdtv, and emdtv
...
modules in x86 build
2011-08-09 11:12:02 +00:00