Commit Graph

533 Commits

Author SHA1 Message Date
lneto
ae5a3d714d added luasystm files (for some reason it wasn't done in the last commit) 2013-12-17 00:02:22 +00:00
lneto
1c57b8e8aa renamed luacore to luasystm 2013-12-16 23:54:26 +00:00
lneto
b716fbc627 using luaL_register() in luapmf 2013-12-16 23:35:48 +00:00
lneto
a8dd600bee fixed lua(4) alloc (nsize can be lesser than osize) 2013-12-04 02:12:01 +00:00
joerg
3f8cd6d0ba Let's use a format string, shall we? 2013-12-02 12:29:44 +00:00
lneto
2421e2bfaa merged luaconf.h of kernel and userspace Lua 2013-12-02 06:07:22 +00:00
lneto
f371334bc2 using Lua auxlib in luacore module 2013-12-02 05:06:32 +00:00
lneto
f4a57b49a2 put Lua auxlib and some stdlibs in lua(4) 2013-12-02 04:57:41 +00:00
lneto
c4a02e0a12 changed lua_Number to int64_t 2013-12-02 04:39:10 +00:00
mbalmer
b345b17fdd switch from malloc(9) to kmem(9) 2013-11-23 15:53:37 +00:00
bad
0e35e79f53 ubsec is not a MI buildable module. disable it for now. 2013-11-18 16:23:47 +00:00
alnsn
870a203eea Build and install sljit.kmod and bpfjit.kmod iff ${MKSLJIT} != "no". 2013-11-17 18:58:28 +00:00
bad
456912e1a9 Make ubsec(4) loadable as kmod. 2013-11-17 17:16:24 +00:00
skrll
e516de1ff2 Build a module for usmsc(4). 2013-11-16 16:59:03 +00:00
jmcneill
d4b8b63b38 set GENASSYM_DIR for arm and earm 2013-11-09 17:30:46 +00:00
rmind
a79812ea10 NPF: add support for specifying the interfaces before they are attached.
If an interface is or gets detached, all associated rules and connections
will be deactivated (it might be useful to have an option to invalidate
the associated connections).  Once the interface is reattached they will
become active.

Bump NPF_VERSION.
2013-11-08 00:38:26 +00:00
mbalmer
ceb424979d fix build on arm 2013-10-31 16:50:14 +00:00
mbalmer
3b5eeb2ba0 initialize variables 2013-10-29 17:35:04 +00:00
mbalmer
96982b85d5 check parameters 2013-10-29 09:18:45 +00:00
mbalmer
da8619577e linke pmf(9l) to the build 2013-10-28 20:32:14 +00:00
mbalmer
35b872f5c4 Initial Lua binding for pmf(9) 2013-10-28 20:06:05 +00:00
mbalmer
36d11e8a36 link core(9l) (docs pending) to the build 2013-10-28 19:18:54 +00:00
mbalmer
23d8d59a58 link the lua(4) module to the build 2013-10-28 18:51:13 +00:00
nonaka
87abaea977 Add driver for ASIX AX88178a and AX88179 Ethernet interface.
Ported from OpenBSD.
2013-10-26 09:16:19 +00:00
mbalmer
c1f5fe0a62 use MODULE_CLASS_MISC for Lua modules 2013-10-23 18:57:40 +00:00
mbalmer
762ff41435 fix CVS marker and copyright year 2013-10-18 07:49:06 +00:00
mbalmer
15d6254306 check lua_tostring()'s return value 2013-10-18 07:46:55 +00:00
alnsn
e20531c13e Use "%s" to panic. 2013-10-16 21:55:56 +00:00
mbalmer
e9ea606005 core module for lua(4) 2013-10-16 19:47:19 +00:00
mbalmer
58881ebfcd welcome lua(4), a devide driver that can create and control Lua states inside the kernel 2013-10-16 19:44:57 +00:00
rmind
7b5edfdc0d NPF: G/C n-code in favour of BPF byte-code. Delete lots of code, mmm! 2013-09-19 01:49:07 +00:00
rmind
4e592132ab - Convert NPF to use BPF byte-code by default. Compile BPF byte-code in
npfctl(8) and generate separate marks to describe the filter criteria.
- Rewrite 'npfctl show' functionality and fix some of the bugs.
- npftest: add a test for BPF COP.
- Bump NPF_VERSION.
2013-09-19 01:04:45 +00:00
matt
68e39eb09b Keep track of undefined symbols and then use to determine whether a wrap
is required.
2013-08-07 17:29:15 +00:00
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
jruoho
4c658c19b0 As wmieeepc(4) was added to amd64 GENERIC, build it also as a amd64 module. 2011-08-09 08:36:05 +00:00
jmcneill
fb95eabd74 modify the dtv device api so hardware drivers can be loaded independently
of the dtv module
2011-08-09 01:42:24 +00:00
jmcneill
9ee20799ca add mt2131, cx24227, and coram module glue 2011-08-04 22:26:07 +00:00
pgoyette
39943f3c4f Allow multiple sdtemp sensors to attach, at all valid addresses 2011-08-02 18:52:35 +00:00
pgoyette
55cfe2860e Allow unit numbers to float, rather than tying to specific i2c address 2011-08-02 18:51:35 +00:00
joerg
9a72c11fab Remove a number of now unnecessary -no-integrated-as cases. 2011-08-02 17:22:51 +00:00
pgoyette
c3df63d89d Add build glue for modular spdmem(4) driver, and enable it 2011-08-01 03:51:05 +00:00
jmcneill
8037f64f1b build and install finsio module on i386 and amd64 2011-07-31 17:55:41 +00:00
jmcneill
c7c1db7e8e add finsio module glue 2011-07-31 17:54:01 +00:00
jmcneill
66ca8ad7c3 add smsc module glue 2011-07-31 16:19:21 +00:00
jmcneill
afdad53ffc add module glue for dbcool 2011-07-31 16:05:28 +00:00
jmcneill
17204a8fdc module glue for sdtemp 2011-07-31 16:00:21 +00:00
jmcneill
d09db892e8 build and install itesio module on i386 and amd64 2011-07-29 21:01:43 +00:00
jmcneill
bedb04943b module build glue for itesio 2011-07-29 20:59:25 +00:00
enami
b246d08e78 Build v7fs module on all architecture rather than only on i386. 2011-07-19 23:13:31 +00:00
tron
caeab679ca Build 7th Edition(V7) File System as a kernel module. 2011-07-19 19:19:09 +00:00
jmcneill
54696cabe9 irmce module glue 2011-07-19 12:23:51 +00:00
jmcneill
6f708f8d76 add nsclpcsio module to i386 build 2011-07-15 21:08:48 +00:00
jmcneill
ac535e1004 add nsclpcsio module glue 2011-07-15 20:57:01 +00:00
jmcneill
ee71f9a61a add dtv_intlog10 implementation, from apb@ 2011-07-15 20:27:41 +00:00
jmcneill
6f144888fd module glue for nxt2k, tvpll, cxdtv 2011-07-14 23:50:12 +00:00
matt
82c39ee7c3 files.dtv is included by conf/files 2011-07-14 18:19:49 +00:00
jmcneill
5476439d3f build dtv_demux.c 2011-07-13 22:43:33 +00:00
jruoho
b5dc3d4af2 A driver for HP 3D DriverGuard; a LIS3LV02DL-based accelerometer. Tested on
HP NC4400. Like aps(4), this is commented out in the GENERIC kernels.
2011-07-13 07:52:48 +00:00
jmcneill
f00b760ccb add module glue for lg3303, xc3028, emdtv 2011-07-11 18:04:32 +00:00
jmcneill
2fb2064b5f build auvitek_dtv.c too 2011-07-09 15:08:54 +00:00
jmcneill
63aa7fdcda build dtv module 2011-07-09 14:56:43 +00:00
jmcneill
729d6c10cf module glue for dtv 2011-07-09 14:53:37 +00:00
joerg
b187f964f6 Use integrated assembler with clang for Via PadLock. 2011-07-04 16:20:45 +00:00
ahoka
0e8f635bc2 Refactor flash and nand driver, so we can reuse the io thread code
in the future nor driver (and any other future driver).

Also simplify some of the code in the process, eg. saner flash attachment.
2011-06-28 18:14:11 +00:00
matt
a2ad2b75a6 ibm4xx now uses <powerpc/pci_machdep.h> 2011-06-22 18:17:17 +00:00
matt
5b497c25ae IBM4xx now uses the pic-based intr.h 2011-06-20 20:18:43 +00:00
mrg
a2c4975d63 build evbppc modules in 3 different flavours:
- oea (default)
	- ibm4xx
	- booke

this, together with earlier machine_module[] work, should allow evbppc
platforms to use modules.
2011-06-15 09:45:58 +00:00
jruoho
ced73275c5 Modularize hpet(4). Works nicely with the multiple bus locations. 2011-06-15 08:19:43 +00:00
jruoho
c6e5cf85e6 Modularize amdtemp(4). 2011-06-15 03:22:39 +00:00
jruoho
ef74b36d13 Rewrite the aibs(4) driver in order to support new models. Draws from the
revision 1.6 (claudio@) of the OpenBSD's equivalent driver. Tested by mrg@.
2011-06-12 07:25:43 +00:00
joerg
67ef870a8e Disable integrated assembler for clang until the RNG instructions are
supported
2011-06-10 04:45:41 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
joerg
316b3ac0de LLVM's assembler parser doesn't support .code32 yet, so disable it as
needed.
2011-05-20 13:11:40 +00:00
joerg
45f776be20 LLVM's assembler parser doesn't support .code32 yet, so disable it. 2011-05-20 13:08:07 +00:00
joerg
e958063324 Remove IRIX emulation 2011-04-26 16:36:40 +00:00
yamt
efc12d7878 re-enable tprof_amdpmi 2011-04-14 15:45:27 +00:00
bouyer
b41e8c3e3d Fix source list for ffs module. 2011-03-13 18:23:30 +00:00
ahoka
be9d16386d + nand_micron.c 2011-03-09 10:05:28 +00:00
bouyer
063f96f3c2 merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
2011-03-06 17:08:10 +00:00
jruoho
120b4f01cf Add module build glue for odcm(4). 2011-03-04 05:02:47 +00:00
jruoho
494badeb16 Move acpicpu(4) from "acpinodebus" to "cpufeaturebus". 2011-02-27 17:10:33 +00:00
ahoka
2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
jruoho
e61737f29d Build glue for viac7temp(4). 2011-02-24 14:08:51 +00:00
jruoho
b365a799cf Add build glue for powernow(4). 2011-02-24 11:22:34 +00:00
jruoho
53d3e21904 Build glue for est(4). 2011-02-23 11:55:36 +00:00
jmcneill
d584463683 module glue for alc@pci 2011-02-23 00:36:51 +00:00
cegger
fd97aeb561 catch up to AR9285 changes 2011-02-21 11:16:47 +00:00
jmcneill
6a0ee33bc0 add VirtualBox DRM driver 2011-02-20 15:40:21 +00:00
jruoho
bd7da44ea9 Add build glue for coretemp(4). 2011-02-20 13:48:25 +00:00
jmcneill
b7d5e19d33 catch up to AR9280 changes 2011-02-20 11:26:33 +00:00
jruoho
697c18cac8 Build fujbp(4), fujhk(4), and wmieeepc(4) as modules. 2011-02-20 08:37:50 +00:00
jmcneill
b1c34fd089 add module glue for ath_hal, ath, and if_ath_pci 2011-02-20 03:58:33 +00:00
jmcneill
5b80a0ef30 build padlock module on i386 2011-02-19 14:28:07 +00:00
jmcneill
dc1291ac90 add padlock module glue 2011-02-19 14:25:30 +00:00
jmcneill
9dca98e3b3 add via_dmablit 2011-02-18 14:26:52 +00:00
jmcneill
7f1c70f60c add drm_sman, drm_mm, drm_hashtab 2011-02-18 14:26:40 +00:00
jmcneill
3d85f4c008 get rid of #ifdef __FreeBSD__ sections
use ioconf & add a module dependency on "drm"
2011-02-18 02:00:36 +00:00
jmcneill
6c4919473a add panic.kmod, an easy way to trigger a panic. takes a 'how' argument
to specify how to trigger the panic:
 modload -s how=panic panic.kmod   <-- just calls panic()
 modload -s how=nullptr panic.kmod <-- null ptr deref
if how isn't specified, it defaults to 'panic'. feel free to add more.
2011-02-18 01:07:20 +00:00
jruoho
2b0b13f21f Use ioconf for the module declarations. 2011-02-16 08:35:51 +00:00
jruoho
b9f301d5a2 Convert the homegrown module declarations to use ioconf. 2011-02-16 08:19:56 +00:00
jruoho
7e7ec3e920 Convert the ioconf files to lower case for consistency. No functional change. 2011-02-16 08:01:52 +00:00