xref: /illumos-gate/usr/src/uts/intel/Makefile.intel (revision ddb365bfc9e868ad24ccdcb0dc91af18b10df082)
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 2022 Garrett D'Amore <garrett@damore.org>
27# Copyright 2018 Nexenta Systems, Inc.
28# Copyright 2019 RackTop Systems
29# Copyright 2019 Peter Tribble.
30# Copyright 2022 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)
135ASFLAGS			+= $(ASFLAGS_uts)
136
137#
138#	Define the base directory for installation.
139#
140BASE_INS_DIR	= $(ROOT)
141
142#
143#	Debugging level
144#
145#	Special knowledge of which special debugging options affect which
146#	file is used to optimize the build if these flags are changed.
147#
148DEBUG_DEFS_OBJ32	=
149DEBUG_DEFS_DBG32	= -DDEBUG
150DEBUG_DEFS_OBJ64	=
151DEBUG_DEFS_DBG64	= -DDEBUG
152DEBUG_DEFS		= $(DEBUG_DEFS_$(BUILD_TYPE))
153
154DEBUG_COND_OBJ32	= $(POUND_SIGN)
155DEBUG_COND_DBG32	=
156DEBUG_COND_OBJ64	= $(POUND_SIGN)
157DEBUG_COND_DBG64	=
158IF_DEBUG_OBJ		= $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
159
160$(IF_DEBUG_OBJ)syscall.o	:=	DEBUG_DEFS	+= -DSYSCALLTRACE
161$(IF_DEBUG_OBJ)clock.o		:=	DEBUG_DEFS	+= -DKSLICE=1
162
163#
164#	Collect the preprocessor definitions to be associated with *all*
165#	files.
166#
167ALL_DEFS	 = $(DEBUG_DEFS) $(OPTION_DEFS)
168
169#
170#	TCP congestion control modules (/kernel/cc)
171#
172MISC_KMODS	+= cc
173CC_KMODS	+= cc_newreno cc_cubic cc_sunreno
174
175#
176#	The kernels modules which are "implementation architecture"
177#	specific for this machine are enumerated below. Note that most
178#	of these modules must exist (in one form or another) for each
179#	architecture.
180#
181#	Common Drivers (usually pseudo drivers) (/kernel/drv)
182#	DRV_KMODS are built both 32-bit and 64-bit
183#	DRV_KMODS_32 are built only 32-bit
184#	DRV_KMODS_64 are built only 64-bit
185#
186DRV_KMODS	+= aac
187DRV_KMODS	+= aggr
188DRV_KMODS	+= ahci
189DRV_KMODS	+= amr
190DRV_KMODS	+= srn
191DRV_KMODS       += arn
192DRV_KMODS	+= arp
193DRV_KMODS	+= asy
194DRV_KMODS	+= ata
195DRV_KMODS	+= ath
196DRV_KMODS	+= atu
197DRV_KMODS	+= audio
198DRV_KMODS	+= audio1575
199DRV_KMODS	+= audio810
200DRV_KMODS	+= audiocmi
201DRV_KMODS	+= audiocmihd
202DRV_KMODS	+= audioemu10k
203DRV_KMODS	+= audioens
204DRV_KMODS	+= audiohd
205DRV_KMODS	+= audioixp
206DRV_KMODS	+= audiols
207DRV_KMODS	+= audiop16x
208DRV_KMODS	+= audiopci
209DRV_KMODS	+= audiosolo
210DRV_KMODS	+= audiots
211DRV_KMODS	+= audiovia823x
212DRV_KMODS	+= bl
213DRV_KMODS	+= blkdev
214DRV_KMODS	+= bge
215DRV_KMODS	+= bofi
216DRV_KMODS	+= bpf
217DRV_KMODS	+= bridge
218DRV_KMODS	+= chxge
219DRV_KMODS	+= cxgbe
220DRV_KMODS	+= ntxn
221DRV_KMODS	+= myri10ge
222DRV_KMODS	+= clone
223DRV_KMODS	+= cmdk
224DRV_KMODS	+= cn
225DRV_KMODS	+= conskbd
226DRV_KMODS	+= consms
227DRV_KMODS	+= cpqary3
228DRV_KMODS	+= cpuid
229DRV_KMODS	+= cpunex
230DRV_KMODS	+= crypto
231DRV_KMODS	+= cryptoadm
232DRV_KMODS	+= dca
233DRV_KMODS	+= devinfo
234DRV_KMODS	+= dld
235DRV_KMODS	+= dlpistub
236DRV_KMODS	+= dnet
237DRV_KMODS	+= dump
238DRV_KMODS	+= ecpp
239DRV_KMODS	+= emlxs
240DRV_KMODS	+= eventfd
241DRV_KMODS	+= fd
242DRV_KMODS	+= fdc
243DRV_KMODS	+= fm
244DRV_KMODS	+= fssnap
245DRV_KMODS	+= hxge
246DRV_KMODS	+= i8042
247DRV_KMODS	+= icmp
248DRV_KMODS	+= icmp6
249DRV_KMODS	+= intel_nb5000
250DRV_KMODS	+= intel_nhm
251DRV_KMODS	+= ip
252DRV_KMODS	+= ip6
253DRV_KMODS	+= ipd
254DRV_KMODS	+= ipf
255DRV_KMODS       += ipnet
256DRV_KMODS	+= ippctl
257DRV_KMODS	+= ipsecah
258DRV_KMODS	+= ipsecesp
259DRV_KMODS	+= ipw
260DRV_KMODS	+= iwh
261DRV_KMODS	+= iwi
262DRV_KMODS	+= iwn
263DRV_KMODS	+= iwk
264DRV_KMODS	+= iwp
265DRV_KMODS	+= iwscn
266DRV_KMODS	+= kb8042
267DRV_KMODS	+= keysock
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	+= nsmb
284DRV_KMODS	+= nulldriver
285DRV_KMODS	+= nv_sata
286DRV_KMODS	+= nvme
287DRV_KMODS	+= nxge
288DRV_KMODS	+= oce
289DRV_KMODS	+= openeepr
290DRV_KMODS	+= pci_pci
291DRV_KMODS	+= pcic
292DRV_KMODS	+= pcieb
293DRV_KMODS	+= physmem
294DRV_KMODS	+= pit_beep
295DRV_KMODS	+= pm
296DRV_KMODS	+= poll
297DRV_KMODS	+= pool
298DRV_KMODS	+= power
299DRV_KMODS	+= pseudo
300DRV_KMODS	+= ptc
301DRV_KMODS	+= ptm
302DRV_KMODS	+= pts
303DRV_KMODS	+= ptsl
304DRV_KMODS	+= qlge
305DRV_KMODS	+= ral
306DRV_KMODS	+= ramdisk
307DRV_KMODS	+= random
308DRV_KMODS	+= rds
309DRV_KMODS	+= rdsv3
310DRV_KMODS	+= rpcib
311DRV_KMODS	+= rsm
312DRV_KMODS	+= rts
313DRV_KMODS	+= rtw
314DRV_KMODS	+= rum
315DRV_KMODS	+= rwd
316DRV_KMODS	+= rwn
317DRV_KMODS	+= sad
318DRV_KMODS	+= sd
319DRV_KMODS	+= sdhost
320DRV_KMODS	+= sgen
321DRV_KMODS	+= si3124
322DRV_KMODS	+= signalfd
323DRV_KMODS	+= smbios
324DRV_KMODS	+= skd
325DRV_KMODS	+= softmac
326DRV_KMODS	+= spdsock
327DRV_KMODS	+= smbsrv
328DRV_KMODS	+= smp
329DRV_KMODS	+= sppp
330DRV_KMODS	+= sppptun
331DRV_KMODS	+= srpt
332DRV_KMODS	+= st
333DRV_KMODS	+= sy
334DRV_KMODS	+= sysevent
335DRV_KMODS	+= sysmsg
336DRV_KMODS	+= tcp
337DRV_KMODS	+= tcp6
338DRV_KMODS	+= timerfd
339DRV_KMODS	+= tl
340DRV_KMODS	+= tpm
341DRV_KMODS	+= trill
342DRV_KMODS	+= udp
343DRV_KMODS	+= udp6
344DRV_KMODS	+= ucode
345DRV_KMODS	+= ufm
346DRV_KMODS	+= ufmtest
347DRV_KMODS	+= ural
348DRV_KMODS	+= uath
349DRV_KMODS	+= urtw
350DRV_KMODS	+= vgatext
351DRV_KMODS	+= vnic
352DRV_KMODS	+= vscan
353DRV_KMODS	+= wc
354DRV_KMODS	+= winlock
355DRV_KMODS	+= wpi
356DRV_KMODS	+= xge
357DRV_KMODS	+= yge
358DRV_KMODS	+= zcons
359DRV_KMODS	+= zyd
360DRV_KMODS	+= simnet
361DRV_KMODS	+= smrt
362DRV_KMODS	+= stmf
363DRV_KMODS	+= stmf_sbd
364DRV_KMODS	+= fct
365DRV_KMODS	+= fcoe
366DRV_KMODS	+= fcoet
367DRV_KMODS	+= fcoei
368DRV_KMODS	+= qlt
369DRV_KMODS	+= iscsit
370DRV_KMODS	+= pppt
371DRV_KMODS	+= iptun
372DRV_KMODS	+= vmxnet3s
373DRV_KMODS	+= pvscsi
374
375#
376# Common code drivers
377#
378
379DRV_KMODS	+= afe
380DRV_KMODS	+= atge
381DRV_KMODS	+= bfe
382DRV_KMODS	+= bnx
383DRV_KMODS	+= bnxe
384DRV_KMODS	+= dmfe
385DRV_KMODS	+= e1000g
386DRV_KMODS	+= efe
387DRV_KMODS	+= elxl
388DRV_KMODS	+= ena
389DRV_KMODS	+= hme
390DRV_KMODS	+= mxfe
391DRV_KMODS	+= nge
392DRV_KMODS	+= pcn
393DRV_KMODS	+= qede
394DRV_KMODS	+= rge
395DRV_KMODS	+= rtls
396DRV_KMODS	+= sfe
397DRV_KMODS	+= sfxge
398DRV_KMODS	+= amd8111s
399DRV_KMODS	+= igb
400DRV_KMODS	+= ipmi
401DRV_KMODS	+= iprb
402DRV_KMODS	+= ixgbe
403DRV_KMODS	+= i40e
404DRV_KMODS	+= vr
405
406#
407# Virtio drivers
408#
409DRV_KMODS	+= virtio
410DRV_KMODS	+= vioblk
411DRV_KMODS	+= vioif
412DRV_KMODS	+= vioscsi
413
414# Virtio 9P transport driver
415DRV_KMODS	+= vio9p
416
417#
418#	DTrace and DTrace Providers
419#
420DRV_KMODS	+= dtrace
421DRV_KMODS	+= fbt
422DRV_KMODS	+= lockstat
423DRV_KMODS	+= profile
424DRV_KMODS	+= sdt
425DRV_KMODS	+= systrace
426DRV_KMODS	+= fasttrap
427DRV_KMODS	+= dcpc
428
429#
430#	I/O framework test drivers
431#
432DRV_KMODS	+= pshot
433DRV_KMODS	+= gen_drv
434DRV_KMODS	+= tvhci tphci tclient
435DRV_KMODS	+= emul64
436
437#
438#	Machine Specific Driver Modules (/kernel/drv):
439#
440DRV_KMODS	+= options
441DRV_KMODS	+= scsi_vhci
442DRV_KMODS	+= pmcs
443DRV_KMODS	+= pmcs8001fw
444DRV_KMODS	+= arcmsr
445DRV_KMODS	+= fcp
446DRV_KMODS	+= fcip
447DRV_KMODS	+= fcsm
448DRV_KMODS	+= fp
449DRV_KMODS	+= qlc
450DRV_KMODS	+= iscsi
451
452#
453#	PCMCIA specific module(s)
454#
455DRV_KMODS	+= pcs
456MISC_KMODS	+= cardbus
457
458#
459#	SCSI Enclosure Services driver
460#
461DRV_KMODS	+= ses
462
463#
464#	USB specific modules
465#
466DRV_KMODS	+= ccid
467DRV_KMODS	+= hid
468DRV_KMODS	+= hubd
469DRV_KMODS	+= uhci
470DRV_KMODS	+= ehci
471DRV_KMODS	+= ohci
472DRV_KMODS	+= usb_mid
473DRV_KMODS	+= usb_ia
474DRV_KMODS	+= scsa2usb
475DRV_KMODS	+= usbprn
476DRV_KMODS	+= ugen
477DRV_KMODS	+= usbser
478DRV_KMODS	+= usbsacm
479DRV_KMODS	+= usbsksp
480DRV_KMODS	+= usbsprl
481DRV_KMODS	+= usb_ac
482DRV_KMODS	+= usb_as
483DRV_KMODS	+= usbskel
484DRV_KMODS	+= usbvc
485DRV_KMODS	+= usbftdi
486DRV_KMODS	+= usbecm
487DRV_KMODS	+= xhci
488
489#
490#	USBGEM modules
491#
492DRV_KMODS	+= usbgem
493DRV_KMODS	+= axf
494DRV_KMODS	+= udmf
495DRV_KMODS	+= upf
496DRV_KMODS	+= urf
497
498#
499#	1394 modules
500#
501MISC_KMODS	+= s1394 sbp2
502DRV_KMODS	+= hci1394 scsa1394
503DRV_KMODS	+= av1394
504DRV_KMODS	+= dcam1394
505
506#
507#	InfiniBand pseudo drivers
508#
509DRV_KMODS	+= ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
510DRV_KMODS	+= sol_umad
511
512#
513#	Brand modules
514#
515BRAND_KMODS	+= sn1_brand s10_brand
516
517#
518#	Exec Class Modules (/kernel/exec):
519#
520EXEC_KMODS	+= elfexec intpexec shbinexec javaexec
521
522#
523#	Scheduling Class Modules (/kernel/sched):
524#
525SCHED_KMODS	+= IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
526
527#
528#	File System Modules (/kernel/fs):
529#
530FS_KMODS	+= autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
531FS_KMODS	+= mntfs namefs nfs objfs zfs zut
532FS_KMODS	+= pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
533FS_KMODS	+= smbfs bootfs
534
535#
536#	Streams Modules (/kernel/strmod):
537#
538STRMOD_KMODS	+= bufmod connld dedump ldterm pckt pfmod pipemod
539STRMOD_KMODS	+= ptem redirmod rpcmod rlmod telmod timod
540STRMOD_KMODS	+= spppasyn spppcomp
541STRMOD_KMODS	+= tirdwr ttcompat
542STRMOD_KMODS	+= usbkbm
543STRMOD_KMODS	+= usbms
544STRMOD_KMODS	+= usbwcm
545STRMOD_KMODS	+= usb_ah
546STRMOD_KMODS	+= drcompat
547STRMOD_KMODS	+= cryptmod
548STRMOD_KMODS	+= vuid2ps2
549STRMOD_KMODS	+= vuid3ps2
550STRMOD_KMODS	+= vuidm3p
551STRMOD_KMODS	+= vuidm4p
552STRMOD_KMODS	+= vuidm5p
553
554#
555#	'System' Modules (/kernel/sys):
556#
557SYS_KMODS	+= c2audit
558SYS_KMODS	+= doorfs
559SYS_KMODS	+= exacctsys
560SYS_KMODS	+= inst_sync
561SYS_KMODS	+= kaio
562SYS_KMODS	+= msgsys
563SYS_KMODS	+= pipe
564SYS_KMODS	+= portfs
565SYS_KMODS	+= pset
566SYS_KMODS	+= semsys
567SYS_KMODS	+= shmsys
568SYS_KMODS	+= sysacct
569SYS_KMODS	+= acctctl
570
571#
572#	'Misc' Modules (/kernel/misc)
573#	MISC_KMODS are built both 32-bit and 64-bit
574#	MISC_KMODS_32 are built only 32-bit
575#	MISC_KMODS_64 are built only 64-bit
576#
577MISC_KMODS	+= ac97
578MISC_KMODS	+= acpica
579MISC_KMODS	+= bignum
580MISC_KMODS	+= bootdev
581MISC_KMODS	+= busra
582MISC_KMODS	+= cmlb
583MISC_KMODS	+= consconfig
584MISC_KMODS	+= ctf
585MISC_KMODS	+= dadk
586MISC_KMODS	+= dcopy
587MISC_KMODS	+= dls
588MISC_KMODS	+= fssnap_if
589MISC_KMODS	+= gda
590MISC_KMODS	+= gld
591MISC_KMODS	+= hidparser
592MISC_KMODS	+= hook
593MISC_KMODS	+= hpcsvc
594MISC_KMODS	+= ibcm
595MISC_KMODS	+= ibdm
596MISC_KMODS	+= ibdma
597MISC_KMODS	+= ibmf
598MISC_KMODS	+= ibtl
599MISC_KMODS	+= idm
600MISC_KMODS	+= idmap
601MISC_KMODS	+= iommulib
602MISC_KMODS	+= ipc
603MISC_KMODS	+= kbtrans
604MISC_KMODS	+= kcf
605MISC_KMODS	+= kgssapi
606MISC_KMODS	+= kmech_dummy
607MISC_KMODS	+= kmech_krb5
608MISC_KMODS	+= ksocket
609MISC_KMODS	+= mac
610MISC_KMODS	+= mii
611MISC_KMODS	+= mwlfw
612MISC_KMODS	+= net80211
613MISC_KMODS	+= nfs_dlboot
614MISC_KMODS	+= nfssrv
615MISC_KMODS	+= neti
616MISC_KMODS	+= pci_autoconfig
617MISC_KMODS	+= pcicfg
618MISC_KMODS	+= pcihp
619MISC_KMODS	+= pcmcia
620MISC_KMODS	+= rpcsec
621MISC_KMODS	+= rpcsec_gss
622MISC_KMODS	+= rsmops
623MISC_KMODS	+= sata
624MISC_KMODS	+= scsi
625MISC_KMODS	+= sda
626MISC_KMODS	+= sol_ofs
627MISC_KMODS	+= strategy
628MISC_KMODS	+= strplumb
629MISC_KMODS	+= tem
630MISC_KMODS	+= tlimod
631MISC_KMODS	+= usba usba10 usbs49_fw
632MISC_KMODS	+= scsi_vhci_f_sym_hds
633MISC_KMODS	+= scsi_vhci_f_sym
634MISC_KMODS	+= scsi_vhci_f_tpgs
635MISC_KMODS	+= scsi_vhci_f_tape
636MISC_KMODS	+= scsi_vhci_f_tpgs_tape
637MISC_KMODS	+= fctl
638MISC_KMODS	+= emlxs_fw
639MISC_KMODS	+= qlc_fw_2200
640MISC_KMODS	+= qlc_fw_2300
641MISC_KMODS	+= qlc_fw_2400
642MISC_KMODS	+= qlc_fw_2500
643MISC_KMODS	+= qlc_fw_6322
644MISC_KMODS	+= qlc_fw_8100
645MISC_KMODS	+= uathfw
646
647MISC_KMODS	+= klmmod klmops
648
649#
650#	Software Cryptographic Providers (/kernel/crypto):
651#
652CRYPTO_KMODS	+= aes
653CRYPTO_KMODS	+= arcfour
654CRYPTO_KMODS	+= blowfish
655CRYPTO_KMODS	+= des
656CRYPTO_KMODS	+= ecc
657CRYPTO_KMODS	+= edonr
658CRYPTO_KMODS	+= md4
659CRYPTO_KMODS	+= md5
660CRYPTO_KMODS	+= rsa
661CRYPTO_KMODS	+= sha1
662CRYPTO_KMODS	+= sha2
663CRYPTO_KMODS	+= skein
664CRYPTO_KMODS	+= swrand
665
666#
667#	IP Policy Modules (/kernel/ipp)
668#
669IPP_KMODS	+= dlcosmk
670IPP_KMODS	+= flowacct
671IPP_KMODS	+= ipgpc
672IPP_KMODS	+= dscpmk
673IPP_KMODS	+= tokenmt
674IPP_KMODS	+= tswtclmt
675
676#
677#	generic-unix module (/kernel/genunix):
678#
679GENUNIX_KMODS	+= genunix
680
681#
682#	Modules eXcluded from the product:
683#
684
685#
686#	'Dacf' Modules (/kernel/dacf):
687#
688
689#
690#	Performance Counter BackEnd modules (/usr/kernel/pcbe)
691#
692PCBE_KMODS	+= p4_pcbe opteron_pcbe core_pcbe
693
694#
695#	MAC-Type Plugin Modules (/kernel/mac)
696#
697MAC_KMODS	+= mac_6to4
698MAC_KMODS	+= mac_ether
699MAC_KMODS	+= mac_ipv4
700MAC_KMODS	+= mac_ipv6
701MAC_KMODS	+= mac_wifi
702MAC_KMODS	+= mac_ib
703
704#
705#	Overlay related modules (/kernel/overlay)
706#
707DRV_KMODS	+= overlay
708OVERLAY_KMODS	+= vxlan
709
710#
711# socketmod (kernel/socketmod)
712#
713SOCKET_KMODS	+= sockpfp
714SOCKET_KMODS	+= socksctp
715SOCKET_KMODS    += socksdp
716SOCKET_KMODS	+= sockrds
717
718#
719#	kiconv modules (/kernel/kiconv):
720#
721KICONV_KMODS	+= kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
722
723#
724#	'Dacf' Modules (/kernel/dacf):
725#
726DACF_KMODS	+= net_dacf
727
728#
729#	Sensor related drivers
730#
731DRV_KMODS	+= ksensor ksensor_test
732DRV_KMODS	+= coretemp
733DRV_KMODS	+= pchtemp
734DRV_KMODS	+= amdnbtemp
735DRV_KMODS	+= smntemp
736
737#
738#	AMD Zen Nexus driver and Related
739#
740DRV_KMODS	+= amdzen
741DRV_KMODS	+= amdzen_stub
742DRV_KMODS	+= usmn zen_udf zen_umc
743
744#
745#	Intel Integrated Memory Controller
746#
747DRV_KMODS	+= imc imcstub
748
749#
750#	VirtIO-Net Accellerated driver (for bhyve)
751#
752DRV_KMODS	+= viona
753
754#
755#	bhyve PCI-passthru
756#
757DRV_KMODS	+= ppt
758DRV_KMODS	+= vmm_vtd
759
760#
761# bhyve drv test interface
762#
763DRV_KMODS	+= vmm_drv_test
764