summaryrefslogtreecommitdiff
path: root/sys/modules
AgeCommit message (Collapse)Author
2018-03-01Adjust PATHs for files that were movedpgoyette
2018-02-27The iic module needs to include 2c_subr so that i2cbus modules canpgoyette
reference iicbus_print()
2018-02-26Descend into subdirectory to create the module for ichsmb(4) driver.pgoyette
2018-02-25Remove ksem module referencekamil
This does not exist in HEAD. It looks like accidentally committed in: Add new modules (for i386 and amd64 only) for the imcsmb SMBus driver. src/sys/modules/Makefile r1.200
2018-02-25Add new modules (for i386 and amd64 only) for the imcsmb SMBus driver.pgoyette
2018-02-21On the off chance that someone tries to use the modular version of thepgoyette
ld(4) driver, provide an ld.ioconf file which will declare the global ld_cd
2018-02-19Code is fixed, so hiding the warning is not necessary any more.maya
2018-02-12Simplify and make the GCC check more precise at the same time.joerg
2018-02-12Fix building with MKGCC=noadam
2018-02-06Avoid gcc 6 specific options when compiling with gcc 5martin
2018-02-06pf_table.c has many left-shift of negative value issues.mrg
2018-01-27use the intermediate buschristos
2018-01-25Create amdsmn(4) amd amdzentemp(4) modules for X86pgoyette
2018-01-24Remove port-acorn26skrll
OK core@
2018-01-18implement 32-bit compat support for raidframe.mrg
convert several raidframe ioctls to be bitsize idempotent so that they work the same in 32 and 64 bit worlds, allowing netbsd32 to configure and query raid properly. remove useless 'row' in a few places. add COMPAT_80 and put the old ioctls there. raidframeio.h: RAIDFRAME_TEST_ACC - remove, unused RAIDFRAME_GET_COMPONENT_LABEL - convert to label not pointer to label RAIDFRAME_CHECK_RECON_STATUS_EXT RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT RAIDFRAME_CHECK_COPYBACK_STATUS_EXT - convert to progress info not pointer to info RAIDFRAME_GET_INFO - version entirely. raidframevar.h: - rf_recon_req{} has row, flags and raidPtr removed (they're not a useful part of this interface.) - RF_Config_s{} and RF_DeviceConfig_s{} have numRow/rows removed. - RF_RaidDisk_s{} is re-ordered slightly to fix alignment padding - the actual data was already OK. - InstallSpareTable() loses row argument rf_compat32.c has code for RF_Config_s{} in 32 bit mode, used by RAIDFRAME_CONFIGURE and RAIDFRAME_GET_INFO32. rf_compat80.c has code for rf_recon_req{}, RF_RaidDisk_s{} and RF_DeviceConfig_s{} to handle RAIDFRAME_FAIL_DISK, RAIDFRAME_GET_COMPONENT_LABEL, RAIDFRAME_CHECK_RECON_STATUS_EXT, RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT, RAIDFRAME_CHECK_COPYBACK_STATUS_EXT, RAIDFRAME_GET_INFO. move several of the per-ioctl code blocks into separate functions. add rf_recon_req_internal{} to replace old usage of global rf_recon_req{} that had unused void * in the structure, ruining it's 32/64 bit ABI. add missing case for RAIDFRAME_GET_INFO50. adjust raid tests to use the new .conf format, and add a case to test the old method as well. raidctl: deal with lack of 'row' members in a couple of places. fail request no longer takes row. handle "START array" sections with just "numCol numSpare", ie no "numRow" specified. for now, generate old-style configuration but update raidctl.8 to specify the new style (keeping reference to the old style.) note that: RF_ComponentLabel_s::{row,num_rows} and RF_SingleComponent_s::row are obsolete but not removed yet.
2018-01-16Fix agr(4) module build. Reviewed by pgoyette@n.o, thanks.knakahara
2018-01-09fix autofs pseudo devicechristos
2018-01-09Merge autofs support from: Tomohiro Kusumichristos
XXX: Does not work yet
2017-12-29PR/52848: Brad Spencer: Add module glue for AM2315 and SI70xx driverschristos
2017-12-26Fix cargo cult ioctl implementation for LUAINFO: the name and desc fieldsmartin
are arrays, not pointers, so don't use copyoutstr on them, but instead copyin/copyout the whole array of structures. Fixes PR 52864 for me (on sparc64).
2017-12-16Use config(1) and IOCONF= to generate most of the auto-config datapgoyette
structures. (Note that bin/52823 documents the reasons for still requiring hand-crafted cfattach structures.)
2017-12-09Include the flash_mtd_parts in the nand module. Without this, the modulepgoyette
fails to load because of undefined linker symbol flash_attach_mtdparts XXX pullup to netbsd-8
2017-12-09Split ip_ecn code into its own module, so it can be shared betweenpgoyette
gif(4), stf(4), and ipsec(4). Without this, loading the if_gif module can result in redefined global symbols if either ipsec(4) or stf(4) but not gif(4) is built into the kernel. Fixes PR kern/52795 (as reported by martin@ via irc). XXX pullup to netbsd-8
2017-12-03again remove mistakely committed debug flagsjdolecek
2017-12-03update from HEADjdolecek
2017-11-15Build nand_toshiba.cjmcneill
2017-09-17This also needs INET6!christos
XXX: pullup-8
2017-08-28Remove the filesystem tracing featurekamil
This is a legacy interface from 4.4BSD, and it was introduced to overcome shortcomings of ptrace(2) at that time, which are no longer relevant (performance). Today /proc/#/ctl offers a narrow subset of ptrace(2) commands and is not applicable for modern applications use beyond simplistic tracing scenarios. This removal will simplify kernel internals. Users will still be able to use all the other /proc files. This change won't affect other procfs files neither Linux compat features within mount_procfs(8). /proc/#/ctl isn't available on Linux. Remove: - /proc/#/ctl from mount_procfs(8) - P_FSTRACE note from the documentation of ps(1) - /proc/#/ctl and filesystem tracing documentation from mount_procfs(8) - KAUTH_REQ_PROCESS_PROCFS_CTL documentation from kauth(9) - source code file miscfs/procfs/procfs_ctl.c - PFSctl and procfs_doctl() from sys/miscfs/procfs/procfs.h - KAUTH_REQ_PROCESS_PROCFS_CTL from sys/sys/kauth.h - PSL_FSTRACE (0x00010000) from sys/sys/proc.h - P_FSTRACE (0x00010000) from sys/sys/sysctl.h Reduce code complexity after removal of this functionality. Update TODO.ptrace accordingly: remove two entries about /proc tracing. Do not keep legacy notes as comments in the headers about removed PSL_FSTRACE / P_FSTRACE, as this interface had little number of users (close or equal to zero). Proposed on tech-kern@. All filesystem tracing utility users are encouraged to switch to ptrace(2). Sponsored by <The NetBSD Foundation>
2017-08-11Don't build the ibcs2 module on i386.maxv
2017-08-09Remove compat_ibcs2 from i386. After a discussion on port-vax, it turnsmaxv
out that compat_ibcs2 does not implement the iBCS2 standard - which is x86-specific - but rather SVR3. Our real iBCS2 implementation was a mixture of compat_ibcs2 and compat_svr4, and was only partial. Keeping support for this in i386 is totally irrelevant today. I also asked on port-i386 but didn't wait long. The main issue is that compat_ibcs2 should have been called compat_svr3. But CVS does not support renaming files, and moving things around is both painful and tiring, even more so when no one seems to be interested in doing this work or in the feature at all. For now compat_ibcs2 is available on Vax and will stay, until someone (not me) cleans it up.
2017-08-01Move arch/i386/i386/freebsd_* into compat/freebsd/. COMPAT_FREEBSD ismaxv
i386-specific.
2017-08-01Don't build the svr4 module on i386.maxv
2017-07-30Audio now compiles with WARNS=5, so there is no need to specify WARNS=3.nat
2017-07-29Remove i386. By the way, it looks like several architectures are missingmaxv
here.
2017-07-29Remove exec_aout support in compat_freebsd. The only reason we still havemaxv
compat_freebsd is because of tw_cli, and it is an elf32 binary (could test, manuel sent it to me).
2017-06-16For non-rump modules, enable HDMI audio device.pgoyette
No impact to rump modules, and no impact to kernels which have the hdafg driver built-in.
2017-06-12Descend into SUBDIR to actually build the wsbell module.pgoyette
Missed in previous commit - thanks kre@
2017-06-11Actually create the wsbell(4) modulepgoyette
2017-06-11Define the NWSMUX symbol for the spkr module (for modules, we cannotpgoyette
use the wsmux.h file created by the needs-flag in sys/conf/files)
2017-06-01Add the modules for audio, midi, and sequencerpgoyette
2017-05-20always put the module on the stackmbalmer
2017-05-20Only load a module if it is not already loaded in a state (much like userlandmbalmer
Lua handles require). Fixes PR kern/52226.
2017-05-11Avoid possible null pointer dereferencing.mbalmer
Fixes PR kern/52225.
2017-04-23Add luareadhappy to the list.sevan
2017-04-19Modularize ualea(4).riastradh
Unclear why we have a separate xyz.ioconf for module and XYZ.ioconf for rump component, but at least xyz_modcmd obviates the need for xyz_component.c (though evidently the latter could have been replaced anyway by RUMP_COMPONENT=ioconf in the rump component Makefile).
2017-04-16Can't destroy pb until we're done using it.riastradh
2017-04-15Build without installation example lua kernel module: luareadhappykamil
2017-04-15Add new example kernel module in Lua luareadhappykamil
This example presents a C module with its device (/dev entry) and its content generator with algorithm defined in Lua state. The Lua state can be changed dynamically from userland, without interruption of read(2) over the device. This is an example how to call Lua code from C.
2017-03-30Add auxvchristos
2017-03-25add vioscsi to the list (disabled)jdolecek