summaryrefslogtreecommitdiffstats
path: root/sys/conf/kmod.mk
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul driver/subsystem api's:sam2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o make all crypto drivers have a device_t; pseudo drivers like the s/w crypto driver synthesize one o change the api between the crypto subsystem and drivers to use kobj; cryptodev_if.m defines this api o use the fact that all crypto drivers now have a device_t to add support for specifying which of several potential devices to use when doing crypto operations o add new ioctls that allow user apps to select a specific crypto device to use (previous ioctls maintained for compatibility) o overhaul crypto subsystem code to eliminate lots of cruft and hide implementation details from drivers o bring in numerous fixes from Michale Richardson/hifn; mostly for 795x parts o add an optional mechanism for mmap'ing the hifn 795x public key h/w to user space for use by openssl (not enabled by default) o update crypto test tools to use new ioctl's and add cmd line options to specify a device to use for tests These changes will also enable much future work on improving the core crypto subsystem; including proper load balancing and interposing code between the core and drivers to dispatch small operations to the s/w driver as appropriate. These changes were instigated by the work of Michael Richardson. Reviewed by: pjd Approved by: re
* Fix typo in comment.flz2007-03-041-1/+1
| | | | Reported by: thompsa
* - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in aflz2007-03-021-1/+6
| | | | | | | | | | | | | uuencoded format along with their respective LICENSE files. - Add new share/doc/legal directory to BSD.usr.dist mtree file. This is the place we install LICENSE files for restricted firmwares. - Teach firmware(9) and kmod.mk about licensed firmwares. Restricted firmwares won't load properly unless legal.<name>.license_ack is set to 1, either via kenv(1) or /boot/loader.conf. Reviewed by: mlaier, sam Permitted by: Intel (via Andrew Wilson) MFC after: 1 month
* The path to the mmc/mmcbus_if.m file is wrong. Correct it byimp2007-02-031-1/+1
| | | | | | prepending dev/ Submitted by: Andrea Bittau
* Sort MFILES listimp2006-10-201-2/+2
| | | | Noticed by: ru@
* Add mmcbr_if.m and mmcbus_if.m to the mix.imp2006-10-201-1/+2
|
* - Remove include links only when .depend is also removed, so thatru2006-10-131-1/+6
| | | | | | | | | "make depend; make clean; make -n" works. - Preseve kernel's .depend if it already exists and its creation is interrupted. Reported/reviewed by: bde
* Don't use touch when what is really meant is :> (create an empty file, ordes2006-08-141-2/+2
| | | | | | | | truncate it if it exists) or :>> (ensure the file exists, but don't change it if it already does) Reviewed by: ru MFC after: 2 weeks
* Fix kernel module build breakage.jkim2006-06-301-0/+2
|
* Commit the new (old) midi framework. It's based in parts on the NetBSD code,netchild2006-05-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but large parts are rewritten by matk and tanimura. This is old code, it's not maintained since 2003. We also don't have a maintainer for this! Yuriy Tsibizov took it and uses it in his emu10kx driver. Since the emu10kx driver will enter the tree "soon" (some bugs have to be fixed after Yuriy return from his holidays), I add it here already. This also contains some changes to emu10k1 and cmi, so if you're lucky, you can now make some kind of use of midi with those soundcards. To all those poor souls which don't have such a card: feel free to send patches, we don't have a maintainer for this. To those which miss a specific feature in the midi code: feel free to submit patches, we don't have a maintainer for this. Oh, did I already told that it would be nice if someone would take care of it? Maintainer with midi equipment wanted! :-) If you get LOR's, submit a PR and notify multimedia@ please. If you get panics, submit a PR with a backtrace (compile the sound system into your kernel instead of using modules in this case) and notify multimedia@ please. Written by: matk, tanimura Submitted by: "Yuriy Tsibizov" <Yuriy.Tsibizov@gfk.ru> Based upon: code from NetBSD
* Rewrite of puc(4). Significant changes are:marcel2006-04-281-2/+2
| | | | | | | | | | | | | | | | | | | | o Properly use rman(9) to manage resources. This eliminates the need to puc-specific hacks to rman. It also allows devinfo(8) to be used to find out the specific assignment of resources to serial/parallel ports. o Compress the PCI device "database" by optimizing for the common case and to use a procedural interface to handle the exceptions. The procedural interface also generalizes the need to setup the hardware (program chipsets, program clock frequencies). o Eliminate the need for PUC_FASTINTR. Serdev devices are fast by default and non-serdev devices are handled by the bus. o Use the serdev I/F to collect interrupt status and to handle interrupts across ports in priority order. o Sync the PCI device configuration to include devices found in NetBSD and not yet merged to FreeBSD. o Add support for Quatech 2, 4 and 8 port UARTs. o Add support for a couple dozen Timedia serial cards as found in Linux.
* Remove dev/uart/uart_if.m from the default MFILES (in kmod.mk) andmarcel2006-02-241-1/+1
| | | | instead define MFILES appropriately for the uart(4) module build.
* ${.CURDIR} != pwd and since we use the shell version of if now we don't evenmlaier2006-02-201-1/+1
| | | | | | need to prepend it. Found-by: gallatin
* Use shell's version of if to check if the firmware really exists in themlaier2006-02-181-7/+9
| | | | | | | current directory to allow user rules to create the firmware (e.g. from a uuencoded blob). make's version of if is evaluated too early to catch this. Found-by: gallatin
* When linking make sure it succeeds.obrien2006-02-171-2/+2
|
* Fix minor inconsistancy between kernel built modules and stand-aloneimp2006-02-041-0/+2
| | | | | built buildes. I believe this gives the same flags on the command line for both.
* firmware(9) is a subsystem to load binary data into the kernel via amlaier2006-01-291-0/+28
| | | | | | | | | | specially crafted module. There are several handrolled sollutions to this problem in the tree already which will be replaced with this. They include iwi(4), ipw(4), ispfw(4) and digi(4). No objection from: arch MFC after: 2 weeks X-MFC after: some drivers have been converted
* Drop the -I/usr/include (or any of its variants) from CFLAGS.ru2005-11-291-14/+0
| | | | | | | The sys/sys/stddef.h is here for some time now to fulfil the kernel needs. It also was not reliable due to the exists(@) check: in an empty module directory, "make depend; mv .depend .depend~; make depend" ran mkdep(1) with different arguments.
* Rename the .dbg extension to .symbols, which matches "symbol-file"ru2005-10-271-5/+5
| | | | | | | gdb(1) command better, though I must admit it's confusing: these files have not only [debugging] symbols, but much more than that. Requested by: obrien
* Installing debug modules was a bad idea -- I bogusly assumed thatru2005-10-271-7/+9
| | | | | | | | our kernel linker will only load PT_LOAD segments, apparently not. Instead, produce .dbg objects from .debug objects, and install them together with non-debug objects, as described in objcopy(1). Original code by: obrien
* Refactor (some more) installation of kernel and module objects.ru2005-10-251-8/+3
| | | | | | | | | | | | | | | | | | | | | | Try to make everyone happy: David (to have debug kernels installed by default), Warner (to be able to override that), and myself (for actually making it all work and to be consistent). Now, if kernel was configured for debugging (through DEBUG=-g in the kernel config file or "config -g"), doing "make install" will install debug versions of kernel and module objects with their canonical names, kernel.debug -> /boot/kernel/kernel if_fxp.ko.debug -> /boot/kernel/if_fxp.ko Installing a kernel not configured for debugging, or debug kernel with INSTALL_NODEBUG variable defined, will install non-debug kernel and module objects. Also, restore the install.debug and reinstall.debug targets that are part of the existing API (they cause some additional gdb(1) scripts to be installed).
* Get rid of duplicate -I's in CFLAGS.ru2005-10-141-5/+1
|
* Define HAVE_KERNEL_OPTION_HEADERS when building kernel and when buildingglebius2005-10-051-1/+1
| | | | | | | | | | modules along with kernel. After this change it is possible to embrace opt_*.h includes with ifdef HAVE_KERNEL_OPTION_HEADERS. And thus, avoid editing a lot of Makefiles in modules directory each time we introduce a new opt_xxx.h. Requested by: bde
* Fix genassym.o dependencies.ru2005-09-191-1/+4
|
* Use the more readable empty() syntax.obrien2005-09-071-7/+7
|
* Revert a mistake borrowed from kern.post.mk that has just been fixed.ru2005-04-221-1/+0
|
* Add rules for building assym.s.iedowse2005-04-221-0/+14
|
* I accidently committed two 'cleandepend' when I was deciding whichobrien2005-04-191-1/+1
| | | | form was "cleaner".
* As with kernel-depend, rm the DEPENDFILE before modules-depend.obrien2005-04-181-1/+2
|
* Use comments after .endif to please make(1) with latest changes somux2005-04-111-2/+2
| | | | | that it's possible to build a kernel without getting flooded with thousands of warnings.
* Don't forget to create new-style links for module builds.imp2005-04-031-1/+6
| | | | | Forgotten by: imp@ Reminded by: nyan@
* This is the much rumoured ATA mkIII update that I've been working on.sos2005-03-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o ATA is now fully newbus'd and split into modules. This means that on a modern system you just load "atapci and ata" to get the base support, and then one or more of the device subdrivers "atadisk atapicd atapifd atapist ataraid". All can be loaded/unloaded anytime, but for obvious reasons you dont want to unload atadisk when you have mounted filesystems. o The device identify part of the probe has been rewritten to fix the problems with odd devices the old had, and to try to remove so of the long delays some HW could provoke. Also probing is done without the need for interrupts, making earlier probing possible. o SATA devices can be hot inserted/removed and devices will be created/ removed in /dev accordingly. NOTE: only supported on controllers that has this feature: Promise and Silicon Image for now. On other controllers the usual atacontrol detach/attach dance is still needed. o Support for "atomic" composite ATA requests used for RAID. o ATA RAID support has been rewritten and and now supports these metadata formats: "Adaptec HostRAID" "Highpoint V2 RocketRAID" "Highpoint V3 RocketRAID" "Intel MatrixRAID" "Integrated Technology Express" "LSILogic V2 MegaRAID" "LSILogic V3 MegaRAID" "Promise FastTrak" "Silicon Image Medley" "FreeBSD PseudoRAID" o Update the ioctl API to match new RAID levels etc. o Update atacontrol to know about the new RAID levels etc NOTE: you need to recompile atacontrol with the new sys/ata.h, make world will take care of that. NOTE2: that rebuild is done differently from the old system as the rebuild is now done piggybacked on read requests to the array, so atacontrol simply starts a background "dd" to rebuild the array. o The reinit code has been worked over to be much more robust. o The timeout code has been overhauled for races. o Support of new chipsets. o Lots of fixes for bugs found while doing the modulerization and reviewing the old code. Missing or changed features from current ATA: o atapi-cd no longer has support for ATAPI changers. Todays its much cheaper and alot faster to copy those CD images to disk and serve them from there. Besides they dont seem to be made anymore, maybe for that exact reason. o ATA RAID can only read metadata from all the above metadata formats, not write all of them (Promise and Highpoint V2 so far). This means that arrays can be picked up from the BIOS, but they cannot be created from FreeBSD. There is more to it than just the missing write metadata support, those formats are not unique to a given controller like Promise and Highpoint formats, instead they exist for several types, and even worse, some controllers can have different formats and its impossible to tell which one. The outcome is that we cannot reliably create the metadata of those formats and be sure the controller BIOS will understand it. However write support is needed to update/fail/rebuild the arrays properly so it sits fairly high on the TODO list. o So far atapicam is not supported with these changes. When/if this will change is up to the maintainer of atapi-cam so go there for questions. HW donated by: Webveveriet AS HW donated by: Frode Nordahl HW donated by: Yahoo! HW donated by: Sentex Patience by: Vife and my boys (and even the cats)
* Further embellish rev. 1.180: protect against -fno-strict-aliasingru2005-02-111-2/+2
| | | | | | | being already in CFLAGS (as is the case with "make buildkernel"). NB: rev. 1.180 is only needed due to a broken setting of CFLAGS in tinderbox.
* Emblish rev 1.180 to -fno-strict-alias w/-Os & -O3 also.obrien2005-02-091-1/+3
|
* Hook up the cpufreq framework, acpi_perf(4), and cpufreq(4) drivers.njl2005-02-041-1/+2
|
* Don't lose the frame pointer for PPC modules: backtrace doesn't work.grehan2005-02-021-1/+1
|
* Add required ingimp2005-01-261-1/+1
|
* Add -fno-strict-alias whenever someone is compiling with -O2,imp2005-01-261-0/+1
| | | | unconditionally.
* Generally force -Werror for modules when not compiling with icc. Thisimp2005-01-261-0/+3
| | | | has burned me for the last time.
* Modules on PPC need to be compiled with -mlongcall to get aroundgrehan2005-01-061-0/+4
| | | | | the +/-64k blr offset limitation. With gcc bug #12769 fixed, it's time to put enable this.
* Remove special case from *devs2h loop for usbimp2004-12-301-5/+21
| | | | | Move usb out of the loop since the other devs2h programs don't grok -h Add new rule for usbdevs_data.h
* Properly handle vnode_if.h dependencies, and don't forget to clean all files.ru2004-12-081-13/+12
|
* Unbreak KLDs that use VFS by accounting for changes in the generationgreen2004-12-081-7/+18
| | | | process for the vnode header files.
* Revert rev. 1.166 and remove sparc64/pci/ofw_pci_if.m from MFILES again,marius2004-12-041-1/+1
| | | | sparc64/pci/ofw_pci.h is no longer required for compiling modules.
* Sort MFILES.marcel2004-11-201-11/+9
|
* Hack around a problem with sys/tools/usbdevs2h.awk that generatesru2004-10-241-0/+4
| | | | both usbdevs.h and usbdevs_data.h. (The latter was not cleaned.)
* Back out cumulative changes from revs. 1.92-1.94: "make depend"ru2004-10-121-1/+0
| | | | | | | | followed by "make depend" shouldn't do anything. It doesn't seem to be a problem anymore, and if someone finds it to break again, please contact me so we can work on a real fix. Reviewed by: bde
* Style fixes, including:ru2004-10-121-40/+34
| | | | | | | | | | | | | | - Sort kmod.mk knobs in the documentation section. - Fixed misuses of the word "KLD" which stands for "kernel ld", or "kernel linker", where kernel module is meant. - Removed redundant uses of ${.OBJDIR}. - Whitespace and indentation fixes. - CLEANFILES cleanup. - Target redefinition protection (install.debug). Submitted by: bde, ru Reviewed by: ru, bde
* Revert the change from rev 1.168. ru convinced me that the situationjoerg2004-10-111-1/+1
| | | | | | | that was fixed by this should not normally happen, and since I did not record the traces of my failed build attempt that had been solved with that change, it's not entirely clear whether it hadn't been a pilot error on my end. In dubio pro reo. :-)
* Forcibly create symlinked headers, otherwise the build process may failjoerg2004-10-091-1/+1
| | | | if the target link already existed (e. g. -DNO_KERNELCLEAN).
OpenPOWER on IntegriCloud