xref: /illumos-gate/usr/src/uts/intel/Makefile.intel (revision e760f150)
1# CDDL HEADER START
2#
3# The contents of this file are subject to the terms of the
4# Common Development and Distribution License (the "License").
5# You may not use this file except in compliance with the License.
6#
7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8# or http://www.opensolaris.org/os/licensing.
9# See the License for the specific language governing permissions
10# and limitations under the License.
11#
12# When distributing Covered Code, include this CDDL HEADER in each
13# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14# If applicable, add the following below this CDDL HEADER, with the
15# fields enclosed by brackets "[]" replaced with your own identifying
16# information: Portions Copyright [yyyy] [name of copyright owner]
17#
18# CDDL HEADER END
19#
20
21#
22# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright (c) 2013 Andrew Stormont.  All rights reserved.
24# Copyright (c) 2014 by Delphix. All rights reserved.
25# Copyright 2019 Joyent, Inc.
26# Copyright 2016 Garrett D'Amore <garrett@damore.org>
27# Copyright 2018 Nexenta Systems, Inc.
28# Copyright 2019 RackTop Systems
29# Copyright 2019 Peter Tribble.
30# Copyright 2021 Oxide Computer Company
31#
32
33#
34#	This makefile contains the common definitions for all intel
35#	implementation architecture independent modules.
36#
37
38#
39#	Machine type (implementation architecture):
40#
41PLATFORM	 = i86pc
42
43#
44#	Everybody needs to know how to build modstubs.o and to locate unix.o.
45#	Note that unix.o must currently be selected from among the possible
46#	"implementation architectures". Note further, that unix.o is only
47#	used as an optional error check for undefines so (theoretically)
48#	any "implementation architectures" could be used. We choose i86pc
49#	because it is the reference port.
50#
51UNIX_DIR	 = $(UTSBASE)/i86pc/unix
52GENLIB_DIR	 = $(UTSBASE)/intel/genunix
53IPDRV_DIR	 = $(UTSBASE)/intel/ip
54MODSTUBS_DIR	 = $(UNIX_DIR)
55DSF_DIR		 = $(UTSBASE)/$(PLATFORM)/genassym
56
57UNIX_O		 = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
58GENLIB		 = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
59MODSTUBS_O	 = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
60
61#
62#	Include the makefiles which define build rule templates, the
63#	collection of files per module, and a few specific flags. Note
64#	that order is significant, just as with an include path. The
65#	first build rule template which matches the files name will be
66#	used. By including these in order from most machine dependent
67#	to most machine independent, we allow a machine dependent file
68#	to be used in preference over a machine independent version
69#	(Such as a machine specific optimization, which preserves the
70#	interfaces.)
71#
72include $(UTSBASE)/intel/Makefile.files
73include $(UTSBASE)/common/Makefile.files
74
75#
76# ----- TRANSITIONAL SECTION --------------------------------------------------
77#
78
79#
80#	Not everything which *should* be a module is a module yet. The
81#	following is a list of such objects which are currently part of
82#	genunix but which might someday become kmods.  This must be
83#	defined before we include Makefile.uts, or else genunix's build
84#	won't be as parallel as we might like.
85#
86NOT_YET_KMODS	 = $(OLDPTY_OBJS) $(PTY_OBJS) $(VCONS_CONF_OBJS) $(MOD_OBJS)
87
88#
89# ----- END OF TRANSITIONAL SECTION -------------------------------------------
90#
91#	Include machine independent rules. Note that this does not imply
92#	that the resulting module from rules in Makefile.uts is	machine
93#	independent. Only that the build rules are machine independent.
94#
95include $(UTSBASE)/Makefile.uts
96
97#
98#	The following must be defined for all implementations:
99#
100MODSTUBS		= $(UTSBASE)/intel/ml/modstubs.s
101
102#
103#	Define supported builds
104#
105DEF_BUILDS		= $(DEF_BUILDS64)
106ALL_BUILDS		= $(ALL_BUILDS64)
107
108#
109#	kernel-specific optimizations; override default in Makefile.master
110#
111
112CFLAGS_XARCH_32		= $(i386_CFLAGS)
113CFLAGS_XARCH_64		= $(amd64_CFLAGS)
114CFLAGS_XARCH		= $(CFLAGS_XARCH_$(CLASS))
115
116COPTFLAG_32		= $(COPTFLAG)
117COPTFLAG_64		= $(COPTFLAG64)
118COPTIMIZE		= $(COPTFLAG_$(CLASS))
119
120CFLAGS			= $(CFLAGS_XARCH)
121CFLAGS			+= $(COPTIMIZE)
122CFLAGS			+= -D_ASM_INLINES
123CFLAGS			+= $(CCMODE)
124CFLAGS			+= $(SPACEFLAG)
125CFLAGS			+= $(CCUNBOUND)
126CFLAGS			+= $(CFLAGS_uts)
127CFLAGS			+= -xstrconst
128CFLAGS			+= $(STACKPROTECT_$(STACKPROTECT))
129
130ASFLAGS_XARCH_32	= $(i386_ASFLAGS)
131ASFLAGS_XARCH_64	= $(amd64_ASFLAGS)
132ASFLAGS_XARCH		= $(ASFLAGS_XARCH_$(CLASS))
133
134ASFLAGS			+= $(ASFLAGS_XARCH)
135
136#
137#	Define the base directory for installation.
138#
139BASE_INS_DIR	= $(ROOT)
140
141#
142#	Debugging level
143#
144#	Special knowledge of which special debugging options affect which
145#	file is used to optimize the build if these flags are changed.
146#
147DEBUG_DEFS_OBJ32	=
148DEBUG_DEFS_DBG32	= -DDEBUG
149DEBUG_DEFS_OBJ64	=
150DEBUG_DEFS_DBG64	= -DDEBUG
151DEBUG_DEFS		= $(DEBUG_DEFS_$(BUILD_TYPE))
152
153DEBUG_COND_OBJ32	= $(POUND_SIGN)
154DEBUG_COND_DBG32	=
155DEBUG_COND_OBJ64	= $(POUND_SIGN)
156DEBUG_COND_DBG64	=
157IF_DEBUG_OBJ		= $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
158
159$(IF_DEBUG_OBJ)syscall.o	:=	DEBUG_DEFS	+= -DSYSCALLTRACE
160$(IF_DEBUG_OBJ)clock.o		:=	DEBUG_DEFS	+= -DKSLICE=1
161
162#
163#	Collect the preprocessor definitions to be associated with *all*
164#	files.
165#
166ALL_DEFS	 = $(DEBUG_DEFS) $(OPTION_DEFS)
167
168#
169#	TCP congestion control modules (/kernel/cc)
170#
171MISC_KMODS	+= cc
172CC_KMODS	+= cc_newreno cc_cubic cc_sunreno
173
174#
175#	The kernels modules which are "implementation architecture"
176#	specific for this machine are enumerated below. Note that most
177#	of these modules must exist (in one form or another) for each
178#	architecture.
179#
180#	Common Drivers (usually pseudo drivers) (/kernel/drv)
181#	DRV_KMODS are built both 32-bit and 64-bit
182#	DRV_KMODS_32 are built only 32-bit
183#	DRV_KMODS_64 are built only 64-bit
184#
185DRV_KMODS	+= aac
186DRV_KMODS	+= aggr
187DRV_KMODS	+= ahci
188DRV_KMODS	+= amr
189DRV_KMODS	+= srn
190DRV_KMODS       += arn
191DRV_KMODS	+= arp
192DRV_KMODS	+= asy
193DRV_KMODS	+= ata
194DRV_KMODS	+= ath
195DRV_KMODS	+= atu
196DRV_KMODS	+= audio
197DRV_KMODS	+= audio1575
198DRV_KMODS	+= audio810
199DRV_KMODS	+= audiocmi
200DRV_KMODS	+= audiocmihd
201DRV_KMODS	+= audioemu10k
202DRV_KMODS	+= audioens
203DRV_KMODS	+= audiohd
204DRV_KMODS	+= audioixp
205DRV_KMODS	+= audiols
206DRV_KMODS	+= audiop16x
207DRV_KMODS	+= audiopci
208DRV_KMODS	+= audiosolo
209DRV_KMODS	+= audiots
210DRV_KMODS	+= audiovia823x
211DRV_KMODS	+= bl
212DRV_KMODS	+= blkdev
213DRV_KMODS	+= bge
214DRV_KMODS	+= bofi
215DRV_KMODS	+= bpf
216DRV_KMODS	+= bridge
217DRV_KMODS	+= chxge
218DRV_KMODS	+= cxgbe
219DRV_KMODS	+= ntxn
220DRV_KMODS	+= myri10ge
221DRV_KMODS	+= clone
222DRV_KMODS	+= cmdk
223DRV_KMODS	+= cn
224DRV_KMODS	+= conskbd
225DRV_KMODS	+= consms
226DRV_KMODS	+= cpqary3
227DRV_KMODS	+= cpuid
228DRV_KMODS	+= cpunex
229DRV_KMODS	+= crypto
230DRV_KMODS	+= cryptoadm
231DRV_KMODS	+= dca
232DRV_KMODS	+= devinfo
233DRV_KMODS	+= dld
234DRV_KMODS	+= dlpistub
235DRV_KMODS	+= dnet
236DRV_KMODS	+= dump
237DRV_KMODS	+= ecpp
238DRV_KMODS	+= emlxs
239DRV_KMODS	+= eventfd
240DRV_KMODS	+= fd
241DRV_KMODS	+= fdc
242DRV_KMODS	+= fm
243DRV_KMODS	+= fssnap
244DRV_KMODS	+= hxge
245DRV_KMODS	+= i8042
246DRV_KMODS	+= icmp
247DRV_KMODS	+= icmp6
248DRV_KMODS	+= intel_nb5000
249DRV_KMODS	+= intel_nhm
250DRV_KMODS	+= ip
251DRV_KMODS	+= ip6
252DRV_KMODS	+= ipd
253DRV_KMODS	+= ipf
254DRV_KMODS       += ipnet
255DRV_KMODS	+= ippctl
256DRV_KMODS	+= ipsecah
257DRV_KMODS	+= ipsecesp
258DRV_KMODS	+= ipw
259DRV_KMODS	+= iwh
260DRV_KMODS	+= iwi
261DRV_KMODS	+= iwn
262DRV_KMODS	+= iwk
263DRV_KMODS	+= iwp
264DRV_KMODS	+= iwscn
265DRV_KMODS	+= kb8042
266DRV_KMODS	+= keysock
267DRV_KMODS	+= kssl
268DRV_KMODS	+= kstat
269DRV_KMODS	+= ksyms
270DRV_KMODS	+= kmdb
271DRV_KMODS	+= llc1
272DRV_KMODS	+= lofi
273DRV_KMODS	+= log
274DRV_KMODS	+= logindmux
275DRV_KMODS	+= mega_sas
276DRV_KMODS	+= mc-amd
277DRV_KMODS	+= mlxcx
278DRV_KMODS	+= mm
279DRV_KMODS	+= mouse8042
280DRV_KMODS	+= mpt_sas
281DRV_KMODS	+= mr_sas
282DRV_KMODS	+= mwl
283DRV_KMODS	+= nca
284DRV_KMODS	+= nsmb
285DRV_KMODS	+= nulldriver
286DRV_KMODS	+= nv_sata
287DRV_KMODS	+= nvme
288DRV_KMODS	+= nxge
289DRV_KMODS	+= oce
290DRV_KMODS	+= openeepr
291DRV_KMODS	+= pci_pci
292DRV_KMODS	+= pcic
293DRV_KMODS	+= pcieb
294DRV_KMODS	+= physmem
295DRV_KMODS	+= pit_beep
296DRV_KMODS	+= pm
297DRV_KMODS	+= poll
298DRV_KMODS	+= pool
299DRV_KMODS	+= power
300DRV_KMODS	+= pseudo
301DRV_KMODS	+= ptc
302DRV_KMODS	+= ptm
303DRV_KMODS	+= pts
304DRV_KMODS	+= ptsl
305DRV_KMODS	+= qlge
306DRV_KMODS	+= ral
307DRV_KMODS	+= ramdisk
308DRV_KMODS	+= random
309DRV_KMODS	+= rds
310DRV_KMODS	+= rdsv3
311DRV_KMODS	+= rpcib
312DRV_KMODS	+= rsm
313DRV_KMODS	+= rts
314DRV_KMODS	+= rtw
315DRV_KMODS	+= rum
316DRV_KMODS	+= rwd
317DRV_KMODS	+= rwn
318DRV_KMODS	+= sad
319DRV_KMODS	+= sd
320DRV_KMODS	+= sdhost
321DRV_KMODS	+= sgen
322DRV_KMODS	+= si3124
323DRV_KMODS	+= signalfd
324DRV_KMODS	+= smbios
325DRV_KMODS	+= skd
326DRV_KMODS	+= softmac
327DRV_KMODS	+= spdsock
328DRV_KMODS	+= smbsrv
329DRV_KMODS	+= smp
330DRV_KMODS	+= sppp
331DRV_KMODS	+= sppptun
332DRV_KMODS	+= srpt
333DRV_KMODS	+= st
334DRV_KMODS	+= sy
335DRV_KMODS	+= sysevent
336DRV_KMODS	+= sysmsg
337DRV_KMODS	+= tcp
338DRV_KMODS	+= tcp6
339DRV_KMODS	+= timerfd
340DRV_KMODS	+= tl
341DRV_KMODS	+= tnf
342DRV_KMODS	+= tpm
343DRV_KMODS	+= trill
344DRV_KMODS	+= udp
345DRV_KMODS	+= udp6
346DRV_KMODS	+= ucode
347DRV_KMODS	+= ufm
348DRV_KMODS	+= ufmtest
349DRV_KMODS	+= ural
350DRV_KMODS	+= uath
351DRV_KMODS	+= urtw
352DRV_KMODS	+= vgatext
353DRV_KMODS	+= vnic
354DRV_KMODS	+= vscan
355DRV_KMODS	+= wc
356DRV_KMODS	+= winlock
357DRV_KMODS	+= wpi
358DRV_KMODS	+= xge
359DRV_KMODS	+= yge
360DRV_KMODS	+= zcons
361DRV_KMODS	+= zyd
362DRV_KMODS	+= simnet
363DRV_KMODS	+= smrt
364DRV_KMODS	+= stmf
365DRV_KMODS	+= stmf_sbd
366DRV_KMODS	+= fct
367DRV_KMODS	+= fcoe
368DRV_KMODS	+= fcoet
369DRV_KMODS	+= fcoei
370DRV_KMODS	+= qlt
371DRV_KMODS	+= iscsit
372DRV_KMODS	+= pppt
373DRV_KMODS	+= iptun
374DRV_KMODS	+= vmxnet3s
375DRV_KMODS	+= pvscsi
376
377#
378# Common code drivers
379#
380
381DRV_KMODS	+= afe
382DRV_KMODS	+= atge
383DRV_KMODS	+= bfe
384DRV_KMODS	+= bnx
385DRV_KMODS	+= bnxe
386DRV_KMODS	+= dmfe
387DRV_KMODS	+= e1000g
388DRV_KMODS	+= efe
389DRV_KMODS	+= elxl
390DRV_KMODS	+= ena
391DRV_KMODS	+= hme
392DRV_KMODS	+= mxfe
393DRV_KMODS	+= nge
394DRV_KMODS	+= pcn
395DRV_KMODS	+= qede
396DRV_KMODS	+= rge
397DRV_KMODS	+= rtls
398DRV_KMODS	+= sfe
399DRV_KMODS	+= sfxge
400DRV_KMODS	+= amd8111s
401DRV_KMODS	+= igb
402DRV_KMODS	+= ipmi
403DRV_KMODS	+= iprb
404DRV_KMODS	+= ixgbe
405DRV_KMODS	+= i40e
406DRV_KMODS	+= vr
407
408#
409# Virtio drivers
410#
411
412# Virtio core
413DRV_KMODS	+= virtio
414
415# Virtio block driver
416DRV_KMODS	+= vioblk
417
418# Virtio network driver
419DRV_KMODS	+= vioif
420
421#
422#	DTrace and DTrace Providers
423#
424DRV_KMODS	+= dtrace
425DRV_KMODS	+= fbt
426DRV_KMODS	+= lockstat
427DRV_KMODS	+= profile
428DRV_KMODS	+= sdt
429DRV_KMODS	+= systrace
430DRV_KMODS	+= fasttrap
431DRV_KMODS	+= dcpc
432
433#
434#	I/O framework test drivers
435#
436DRV_KMODS	+= pshot
437DRV_KMODS	+= gen_drv
438DRV_KMODS	+= tvhci tphci tclient
439DRV_KMODS	+= emul64
440
441#
442#	Machine Specific Driver Modules (/kernel/drv):
443#
444DRV_KMODS	+= options
445DRV_KMODS	+= scsi_vhci
446DRV_KMODS	+= pmcs
447DRV_KMODS	+= pmcs8001fw
448DRV_KMODS	+= arcmsr
449DRV_KMODS	+= fcp
450DRV_KMODS	+= fcip
451DRV_KMODS	+= fcsm
452DRV_KMODS	+= fp
453DRV_KMODS	+= qlc
454DRV_KMODS	+= iscsi
455
456#
457#	PCMCIA specific module(s)
458#
459DRV_KMODS	+= pcs
460MISC_KMODS	+= cardbus
461
462#
463#	SCSI Enclosure Services driver
464#
465DRV_KMODS	+= ses
466
467#
468#	USB specific modules
469#
470DRV_KMODS	+= ccid
471DRV_KMODS	+= hid
472DRV_KMODS	+= hubd
473DRV_KMODS	+= uhci
474DRV_KMODS	+= ehci
475DRV_KMODS	+= ohci
476DRV_KMODS	+= usb_mid
477DRV_KMODS	+= usb_ia
478DRV_KMODS	+= scsa2usb
479DRV_KMODS	+= usbprn
480DRV_KMODS	+= ugen
481DRV_KMODS	+= usbser
482DRV_KMODS	+= usbsacm
483DRV_KMODS	+= usbsksp
484DRV_KMODS	+= usbsprl
485DRV_KMODS	+= usb_ac
486DRV_KMODS	+= usb_as
487DRV_KMODS	+= usbskel
488DRV_KMODS	+= usbvc
489DRV_KMODS	+= usbftdi
490DRV_KMODS	+= usbecm
491DRV_KMODS	+= xhci
492
493#
494#	USBGEM modules
495#
496DRV_KMODS	+= usbgem
497DRV_KMODS	+= axf
498DRV_KMODS	+= udmf
499DRV_KMODS	+= upf
500DRV_KMODS	+= urf
501
502#
503#	1394 modules
504#
505MISC_KMODS	+= s1394 sbp2
506DRV_KMODS	+= hci1394 scsa1394
507DRV_KMODS	+= av1394
508DRV_KMODS	+= dcam1394
509
510#
511#	InfiniBand pseudo drivers
512#
513DRV_KMODS	+= ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
514DRV_KMODS	+= sol_umad
515
516#
517#	Brand modules
518#
519BRAND_KMODS	+= sn1_brand s10_brand
520
521#
522#	Exec Class Modules (/kernel/exec):
523#
524EXEC_KMODS	+= elfexec intpexec shbinexec javaexec
525
526#
527#	Scheduling Class Modules (/kernel/sched):
528#
529SCHED_KMODS	+= IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
530
531#
532#	File System Modules (/kernel/fs):
533#
534FS_KMODS	+= autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
535FS_KMODS	+= mntfs namefs nfs objfs zfs zut
536FS_KMODS	+= pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
537FS_KMODS	+= smbfs bootfs
538
539#
540#	Streams Modules (/kernel/strmod):
541#
542STRMOD_KMODS	+= bufmod connld dedump ldterm pckt pfmod pipemod
543STRMOD_KMODS	+= ptem redirmod rpcmod rlmod telmod timod
544STRMOD_KMODS	+= spppasyn spppcomp
545STRMOD_KMODS	+= tirdwr ttcompat
546STRMOD_KMODS	+= usbkbm
547STRMOD_KMODS	+= usbms
548STRMOD_KMODS	+= usbwcm
549STRMOD_KMODS	+= usb_ah
550STRMOD_KMODS	+= drcompat
551STRMOD_KMODS	+= cryptmod
552STRMOD_KMODS	+= vuid2ps2
553STRMOD_KMODS	+= vuid3ps2
554STRMOD_KMODS	+= vuidm3p
555STRMOD_KMODS	+= vuidm4p
556STRMOD_KMODS	+= vuidm5p
557
558#
559#	'System' Modules (/kernel/sys):
560#
561SYS_KMODS	+= c2audit
562SYS_KMODS	+= doorfs
563SYS_KMODS	+= exacctsys
564SYS_KMODS	+= inst_sync
565SYS_KMODS	+= kaio
566SYS_KMODS	+= msgsys
567SYS_KMODS	+= pipe
568SYS_KMODS	+= portfs
569SYS_KMODS	+= pset
570SYS_KMODS	+= semsys
571SYS_KMODS	+= shmsys
572SYS_KMODS	+= sysacct
573SYS_KMODS	+= acctctl
574
575#
576#	'Misc' Modules (/kernel/misc)
577#	MISC_KMODS are built both 32-bit and 64-bit
578#	MISC_KMODS_32 are built only 32-bit
579#	MISC_KMODS_64 are built only 64-bit
580#
581MISC_KMODS	+= ac97
582MISC_KMODS	+= acpica
583MISC_KMODS	+= bignum
584MISC_KMODS	+= bootdev
585MISC_KMODS	+= busra
586MISC_KMODS	+= cmlb
587MISC_KMODS	+= consconfig
588MISC_KMODS	+= ctf
589MISC_KMODS	+= dadk
590MISC_KMODS	+= dcopy
591MISC_KMODS	+= dls
592MISC_KMODS	+= fssnap_if
593MISC_KMODS	+= gda
594MISC_KMODS	+= gld
595MISC_KMODS	+= hidparser
596MISC_KMODS	+= hook
597MISC_KMODS	+= hpcsvc
598MISC_KMODS	+= ibcm
599MISC_KMODS	+= ibdm
600MISC_KMODS	+= ibdma
601MISC_KMODS	+= ibmf
602MISC_KMODS	+= ibtl
603MISC_KMODS	+= idm
604MISC_KMODS	+= idmap
605MISC_KMODS	+= iommulib
606MISC_KMODS	+= ipc
607MISC_KMODS	+= kbtrans
608MISC_KMODS	+= kcf
609MISC_KMODS	+= kgssapi
610MISC_KMODS	+= kmech_dummy
611MISC_KMODS	+= kmech_krb5
612MISC_KMODS	+= ksocket
613MISC_KMODS	+= mac
614MISC_KMODS	+= mii
615MISC_KMODS	+= mwlfw
616MISC_KMODS	+= net80211
617MISC_KMODS	+= nfs_dlboot
618MISC_KMODS	+= nfssrv
619MISC_KMODS	+= neti
620MISC_KMODS	+= pci_autoconfig
621MISC_KMODS	+= pcicfg
622MISC_KMODS	+= pcihp
623MISC_KMODS	+= pcmcia
624MISC_KMODS	+= rpcsec
625MISC_KMODS	+= rpcsec_gss
626MISC_KMODS	+= rsmops
627MISC_KMODS	+= sata
628MISC_KMODS	+= scsi
629MISC_KMODS	+= sda
630MISC_KMODS	+= sol_ofs
631MISC_KMODS	+= strategy
632MISC_KMODS	+= strplumb
633MISC_KMODS	+= tem
634MISC_KMODS	+= tlimod
635MISC_KMODS	+= usba usba10 usbs49_fw
636MISC_KMODS	+= scsi_vhci_f_sym_hds
637MISC_KMODS	+= scsi_vhci_f_sym
638MISC_KMODS	+= scsi_vhci_f_tpgs
639MISC_KMODS	+= scsi_vhci_f_tape
640MISC_KMODS	+= scsi_vhci_f_tpgs_tape
641MISC_KMODS	+= fctl
642MISC_KMODS	+= emlxs_fw
643MISC_KMODS	+= qlc_fw_2200
644MISC_KMODS	+= qlc_fw_2300
645MISC_KMODS	+= qlc_fw_2400
646MISC_KMODS	+= qlc_fw_2500
647MISC_KMODS	+= qlc_fw_6322
648MISC_KMODS	+= qlc_fw_8100
649MISC_KMODS	+= uathfw
650
651MISC_KMODS	+= klmmod klmops
652
653#
654#	Software Cryptographic Providers (/kernel/crypto):
655#
656CRYPTO_KMODS	+= aes
657CRYPTO_KMODS	+= arcfour
658CRYPTO_KMODS	+= blowfish
659CRYPTO_KMODS	+= des
660CRYPTO_KMODS	+= ecc
661CRYPTO_KMODS	+= edonr
662CRYPTO_KMODS	+= md4
663CRYPTO_KMODS	+= md5
664CRYPTO_KMODS	+= rsa
665CRYPTO_KMODS	+= sha1
666CRYPTO_KMODS	+= sha2
667CRYPTO_KMODS	+= skein
668CRYPTO_KMODS	+= swrand
669
670#
671#	IP Policy Modules (/kernel/ipp)
672#
673IPP_KMODS	+= dlcosmk
674IPP_KMODS	+= flowacct
675IPP_KMODS	+= ipgpc
676IPP_KMODS	+= dscpmk
677IPP_KMODS	+= tokenmt
678IPP_KMODS	+= tswtclmt
679
680#
681#	generic-unix module (/kernel/genunix):
682#
683GENUNIX_KMODS	+= genunix
684
685#
686#	Modules eXcluded from the product:
687#
688
689#
690#	'Dacf' Modules (/kernel/dacf):
691#
692
693#
694#	Performance Counter BackEnd modules (/usr/kernel/pcbe)
695#
696PCBE_KMODS	+= p4_pcbe opteron_pcbe core_pcbe
697
698#
699#	MAC-Type Plugin Modules (/kernel/mac)
700#
701MAC_KMODS	+= mac_6to4
702MAC_KMODS	+= mac_ether
703MAC_KMODS	+= mac_ipv4
704MAC_KMODS	+= mac_ipv6
705MAC_KMODS	+= mac_wifi
706MAC_KMODS	+= mac_ib
707
708#
709#	Overlay related modules (/kernel/overlay)
710#
711DRV_KMODS	+= overlay
712OVERLAY_KMODS	+= vxlan
713
714#
715# socketmod (kernel/socketmod)
716#
717SOCKET_KMODS	+= sockpfp
718SOCKET_KMODS	+= socksctp
719SOCKET_KMODS    += socksdp
720SOCKET_KMODS	+= sockrds
721SOCKET_KMODS	+= ksslf
722
723#
724#	kiconv modules (/kernel/kiconv):
725#
726KICONV_KMODS	+= kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
727
728#
729#	'Dacf' Modules (/kernel/dacf):
730#
731DACF_KMODS	+= net_dacf
732
733#
734#	Sensor related drivers
735#
736DRV_KMODS	+= ksensor ksensor_test
737DRV_KMODS	+= coretemp
738DRV_KMODS	+= pchtemp
739DRV_KMODS	+= amdnbtemp
740DRV_KMODS	+= smntemp
741
742#
743#	AMD Zen Nexus driver and Related
744#
745DRV_KMODS	+= amdzen
746DRV_KMODS	+= amdzen_stub
747DRV_KMODS	+= usmn zen_udf
748
749#
750#	Intel Integrated Memory Controller
751#
752DRV_KMODS	+= imc imcstub
753
754#
755#	VirtIO-Net Accellerated driver (for bhyve)
756#
757DRV_KMODS	+= viona
758
759#
760#	bhyve PCI-passthru
761#
762DRV_KMODS	+= ppt
763DRV_KMODS	+= vmm_vtd
764