sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Remove option headers that do not exist and are not usedfrom the Makefiles in sys/modules.(opt_devfs.h, opt_bdg.h, opt_emu10kx.h and opt_uslcom.h)Approved by: rwatson (mentor)
Housekeeping. Update for maintainers who have handed in their commit bitsor (in my case) no longer feel that oversight is necessary.
add an option BKTR_USE_FREEBSD_SMBUS that enables compiling the modulewith same option...MFC after: 3 days
Let modules use the kernel's opt_*.h files if built along withthe kernel by wrapping all targets for fake opt_*.h files in.if defined(KERNBUILDDIR). Thus, such fake files won't becreated at all i
Let modules use the kernel's opt_*.h files if built along withthe kernel by wrapping all targets for fake opt_*.h files in.if defined(KERNBUILDDIR). Thus, such fake files won't becreated at all if modules are built with the kernel.Some modules undergo cleanup like removing unused or unneededoptions or .h files, without which they wouldn't build this wayor the other.Reviewed by: ruTested by: no binary changes in modules built aloneTested on: i386 sparc64 amd64
show more ...
We don't need to generate vnode_if.h anymore
Add a overhaul of the soundchip initialization for the MSP34xx chipsetsfound only many tv-cards.We currently use more ore less evil hacks (slow_msp_audio sysctl) toconfigure the various variants
Add a overhaul of the soundchip initialization for the MSP34xx chipsetsfound only many tv-cards.We currently use more ore less evil hacks (slow_msp_audio sysctl) toconfigure the various variants of these chips in order to havestereo autodetection work. Nevertheless, this doesn't always workeven though it _should_, according to the specs.This is, for example, the case for some popular Hauppauge models soldsold in Germany.However, the Linux driver always worked for me and others. Looking atthe sourcecode you will find that the linux-driver uses a very muchenhanced approach to program the various msp34xx chipset variants,which is also found in the specs for these chips.This is a port of the Linux MSP34xx code, written by Gerd Knorr<[email protected]>, who agreed to re-release his code under aBSD license for this port.A new config option "BKTR_NEW_MSP34XX_DRIVER" is added, which is requiredto enable the new driver. Otherwise the old code is used.The msp34xx.c file is diff-reduced to the linux-driver to make latermodifications easier, thus it doesn't follow style(9) in most cases.Approved by: roger (committing this, no time to test/review), keichii (code review)
Include "../Makefile.inc".
Remove bktr.h/NBKTR. Set BKTR_FREEBSD_MODULE in opt_bktr.h instead.
Fix kernel build.
Major rework of the iicbus/smbus framework: - VIA chipset SMBus controllers added - alpm driver updated - Support for dynamic modules added - bktr FreeBSD smbus updated but not tested - cleanup
Export symbols that constitute APIs defined by thesemodules.Note that in the case of 'mii' the API is not clearlydefined, and the symbols exported represent a subsetdefined by current usage.
Use a consistent style and one much closer to the rest of /usr/src
Update to build both bktr and bktr_mem modules
Avoid the modules madness I inadvertently introduced by making thecloning infrastructure standard in kern_conf. Modules are nowthe same with or without devfs support.If you need to detect if dev
Avoid the modules madness I inadvertently introduced by making thecloning infrastructure standard in kern_conf. Modules are nowthe same with or without devfs support.If you need to detect if devfs is present, in modules or elsewhere,check the integer variable "devfs_present".This happily removes an ugly hack from kern/vfs_conf.c.This forces a rename of the eventhandler and the standard clonehelper function.Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #includelike <sys/queue.h>Remove all #includes of opt_devfs.h they no longer matter.
Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead ofencoding the relative path.
Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.This means that the kernel can be totally self contained now and is notdependent on the last buildworld to update /usr/share/mk. Thi
Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.This means that the kernel can be totally self contained now and is notdependent on the last buildworld to update /usr/share/mk. This mightalso make it easier to build 5.x kernels on 4.0 boxes etc, assuminggensetdefs and config(8) are updated.
Removed special rules for building and cleaning device interface filesand empty options files. The rules are now generated automatically inbsd.kmod.mk. Cleaned up related things ($S and ${CLEANFI
Removed special rules for building and cleaning device interface filesand empty options files. The rules are now generated automatically inbsd.kmod.mk. Cleaned up related things ($S and ${CLEANFILES}).
Add vnode_if.c to CLEANFILES.
Make the bktr module build. The Makefile was badly mangled, includingleaving the ".c" out of most of the SRCS= source files.
Update to use new Bt848 driver
Use new location of Bt848 driver.Remove NPCI generation as the driver no longer checks for NPIC > 0
add vnode_if.h
$Id$ -> $FreeBSD$
Change perl5 to perl (same change as made in the fxp module)
12