Commit Graph

483 Commits

Author SHA1 Message Date
joerg
c3d5222ef6 Fix RCS ID. 2015-05-13 12:13:38 +00:00
pgoyette
14e2571904 A set of more comprehensive example kernel modules to replace our
previous single example.

These examples were provided by Kamil Rytarowski.

XXX These modules are built as part of a system build, but they
XXX are NOT installed in $DESTDIR.
2015-05-13 07:07:36 +00:00
pgoyette
b175b21535 Soon to be replaced with a more comprehensive set of examples. 2015-05-13 07:02:16 +00:00
pgoyette
2cba335640 Descend into subdir to actually build the new sysv_ipc module 2015-05-13 02:15:34 +00:00
pgoyette
75eb6c4280 Create a new sysv_ipc module to contain the SYSVSHM, SYSVSEM, and
SYSVMSG options.  Move associated variables out of param.c and into
the module's source file.
2015-05-13 02:06:25 +00:00
martin
b0b97e486a acorn26 probably was not meant to use the arm32 genassym 2015-05-11 21:26:41 +00:00
pgoyette
ff00f0b594 Split the SYSV* compat code out into a separate compat_sysv module.
For monolithic kernels, both modules will be compiled as "built-ins",
while modular environments will be able to load the SYSVSEM, SYSVSHM,
and SYSVMSG code independant from the rest of compat.

This is a necessary precursor step to making the "STD" SYSV* code
into a separate module.

Tested in both monolithic and modular environments with no errors
seen.
2015-05-10 07:41:15 +00:00
matt
5963c77816 mips doesn't do a.out and never has. 2015-05-10 06:33:28 +00:00
matt
b3d190b5c2 Build compat_netbsd32.kmod for arm and mips64 2015-05-09 14:19:13 +00:00
pgoyette
90df75aa93 Build the tco watchdog module 2015-05-03 02:54:07 +00:00
riastradh
79c6f514b8 Enable build of viadrmums module, i386-only. 2015-04-29 17:38:50 +00:00
riastradh
2bcaefb093 Include files.pci to get the necessary definitions in viadrmums. 2015-04-29 17:36:32 +00:00
riastradh
037658e85e Hold off on building viadrmums module until it works. 2015-04-29 12:53:08 +00:00
riastradh
f4b38f0325 Module for viadrmums. 2015-04-29 12:52:05 +00:00
pgoyette
58a7853231 Build modules for sysmon and its subcomponents 2015-04-23 23:22:27 +00:00
pgoyette
717182a172 Add modularized swwdog driver. 2015-04-18 10:52:44 +00:00
matt
318bdaa356 Latent support for ARM_HAS_LPAE. 2015-04-17 20:13:51 +00:00
jmcneill
1231828596 pull in Makefile.inc 2015-03-28 14:48:53 +00:00
jmcneill
8a9ff04ba8 Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.
2015-03-28 14:09:58 +00:00
christos
48bfb0f78d dtrace syscall for linux32 2015-03-08 17:11:57 +00:00
christos
5bded32812 non working glue. 2015-03-08 04:15:22 +00:00
christos
17b686e266 Add syscall provider build glue, unhooked. 2015-03-07 15:13:04 +00:00
jmcneill
22ca8619b1 i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.

A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.
2015-03-07 14:16:51 +00:00
riastradh
894a903bb9 Factor generic parts of intelfb out into a drmfb.
Adapting radeondrmkmsfb should not be hard.

This will make nouveaufb easier too.
2015-03-05 17:50:41 +00:00
riastradh
c48dc052b9 Rewrite drm_encoder_slave.c, as nouveau will need. 2015-03-05 17:42:48 +00:00
christos
4bb71db082 plug leak on error. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
2015-02-07 04:09:13 +00:00
lneto
730082507e lua: updated from 5.3 work3 to 5.3.0
* improved the overall kernel Lua patch; fixed coercion
* updated lua/syslog
* updated luapmf and luasystm Makefiles
2015-02-02 14:03:05 +00:00
hannken
ba1d531e8e Change chfs from hashlist to vcache. 2015-01-11 17:29:57 +00:00
riastradh
e04e273f56 Move Linux ww_mutex code into a .c file where it belongs. 2015-01-08 23:35:47 +00:00
christos
cc8dba5ad2 Don't exclude amd64 from COMPAT < 15. We need it for COMPAT_NETBSD32 a.out 2014-12-14 21:14:06 +00:00
christos
c6e92db606 Add COMPAT_NOMID 2014-12-05 22:22:21 +00:00
lneto
26258645bb lua(4): fixed require 2014-11-30 19:15:03 +00:00
riastradh
9d31117bb7 Move all PCI/AGP code back to drmkms_pci module where it belongs. 2014-11-22 19:18:07 +00:00
pooka
b835110503 allow sharing Makefiles with rump kernel components 2014-11-19 00:17:10 +00:00
jmcneill
7addafef6f padvol.c is no more 2014-11-18 01:56:41 +00:00
joerg
44867f9155 Adjust flags to allow building with clang. 2014-11-13 16:37:39 +00:00
christos
0ed0226f71 this module needs MKLDSCRIPT too now 2014-11-12 03:03:01 +00:00
christos
f89937396a turn on dynamic ldscript creation to handle link set symbol definitions
used in the automatic sysctl creation.
2014-11-12 02:15:16 +00:00
christos
d57571ade8 move agpsupport to drmkms to avoid circular dependencies. 2014-11-12 02:14:17 +00:00
christos
2ffd75f234 make this work: add agpsupport and sysctl code 2014-11-12 02:13:30 +00:00
nonaka
efa7e15617 fix build failure.
>    /tmp/bracket/build/2014.11.10.22.43.46-i386/src/sys/external/bsd/drm2/include/linux/pci.h:36:20: fatal error: acpica.h: No such file or directory
2014-11-11 11:30:21 +00:00
christos
c08531e6a3 dedup and add the drmkms modules 2014-11-10 21:15:19 +00:00
mbalmer
433f0999b0 whitespace, knf, comments, but no functional change 2014-09-24 14:55:48 +00:00
christos
1d41c85dec delete hdaudio_ids. 2014-09-19 18:05:24 +00:00
christos
bb66bc12bd new module 2014-09-19 17:25:47 +00:00
wiz
7bfc8162b1 Per the wiki roadmap, rename the three dtrace modules to have
a "dtrace_" prefix.
amd64 build tested, other set list changes done the same way.
2014-09-18 19:45:24 +00:00
riastradh
2f4c673c6b Remove vestigial drm2pci module, replaced by drmkms_pci. 2014-09-14 20:16:07 +00:00
riastradh
8ed9fea46b Fix module build of drmkms_linux. 2014-09-14 20:09:18 +00:00
jnemeth
3481529578 Add the infrastructure for MODULAR support for Xen kernels. At
the moment, this can only load very simple modules due to missing
symbols.  It is being add at this time to make pullups to the
netbsd-7 branch easier.  It is not enabled by default in any kernels.
2014-08-11 03:43:25 +00:00
joerg
bd383df604 Put GCC/GAS options under ACTIVE_CC == "gcc". 2014-08-10 17:46:54 +00:00