xref: /illumos-gate/usr/src/uts/intel/Makefile.intel (revision fb876f9607a4e506a871e6b539d75c9644a3566f)
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 Peter Tribble.
29# Copyright 2022 Oxide Computer Company
30# Copyright 2023 Racktop Systems, Inc.
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			+= $(CFLAGS_uts)
124CFLAGS			+= $(STACKPROTECT_$(STACKPROTECT))
125
126ASFLAGS_XARCH_32	= $(i386_ASFLAGS)
127ASFLAGS_XARCH_64	= $(amd64_ASFLAGS)
128ASFLAGS_XARCH		= $(ASFLAGS_XARCH_$(CLASS))
129
130ASFLAGS			= $(ASFLAGS_XARCH)
131ASFLAGS			+= $(ASFLAGS_uts)
132
133#
134#	Define the base directory for installation.
135#
136BASE_INS_DIR	= $(ROOT)
137
138#
139#	Debugging level
140#
141#	Special knowledge of which special debugging options affect which
142#	file is used to optimize the build if these flags are changed.
143#
144DEBUG_DEFS_OBJ32	=
145DEBUG_DEFS_DBG32	= -DDEBUG
146DEBUG_DEFS_OBJ64	=
147DEBUG_DEFS_DBG64	= -DDEBUG
148DEBUG_DEFS		= $(DEBUG_DEFS_$(BUILD_TYPE))
149
150DEBUG_COND_OBJ32	= $(POUND_SIGN)
151DEBUG_COND_DBG32	=
152DEBUG_COND_OBJ64	= $(POUND_SIGN)
153DEBUG_COND_DBG64	=
154IF_DEBUG_OBJ		= $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
155
156$(IF_DEBUG_OBJ)syscall.o	:=	DEBUG_DEFS	+= -DSYSCALLTRACE
157$(IF_DEBUG_OBJ)clock.o		:=	DEBUG_DEFS	+= -DKSLICE=1
158
159#
160#	Collect the preprocessor definitions to be associated with *all*
161#	files.
162#
163ALL_DEFS	 = $(DEBUG_DEFS) $(OPTION_DEFS)
164
165#
166#	TCP congestion control modules (/kernel/cc)
167#
168MISC_KMODS	+= cc
169CC_KMODS	+= cc_newreno cc_cubic cc_sunreno
170
171#
172#	The kernels modules which are "implementation architecture"
173#	specific for this machine are enumerated below. Note that most
174#	of these modules must exist (in one form or another) for each
175#	architecture.
176#
177#	Common Drivers (usually pseudo drivers) (/kernel/drv)
178#	DRV_KMODS are built both 32-bit and 64-bit
179#	DRV_KMODS_32 are built only 32-bit
180#	DRV_KMODS_64 are built only 64-bit
181#
182DRV_KMODS	+= aac
183DRV_KMODS	+= aggr
184DRV_KMODS	+= ahci
185DRV_KMODS	+= amr
186DRV_KMODS	+= srn
187DRV_KMODS       += arn
188DRV_KMODS	+= arp
189DRV_KMODS	+= asy
190DRV_KMODS	+= ata
191DRV_KMODS	+= ath
192DRV_KMODS	+= atu
193DRV_KMODS	+= audio
194DRV_KMODS	+= audio1575
195DRV_KMODS	+= audio810
196DRV_KMODS	+= audiocmi
197DRV_KMODS	+= audiocmihd
198DRV_KMODS	+= audioemu10k
199DRV_KMODS	+= audioens
200DRV_KMODS	+= audiohd
201DRV_KMODS	+= audioixp
202DRV_KMODS	+= audiols
203DRV_KMODS	+= audiop16x
204DRV_KMODS	+= audiopci
205DRV_KMODS	+= audiosolo
206DRV_KMODS	+= audiots
207DRV_KMODS	+= audiovia823x
208DRV_KMODS	+= bl
209DRV_KMODS	+= blkdev
210DRV_KMODS	+= bge
211DRV_KMODS	+= bofi
212DRV_KMODS	+= bpf
213DRV_KMODS	+= bridge
214DRV_KMODS	+= chxge
215DRV_KMODS	+= cxgbe
216DRV_KMODS	+= ntxn
217DRV_KMODS	+= myri10ge
218DRV_KMODS	+= clone
219DRV_KMODS	+= cmdk
220DRV_KMODS	+= cn
221DRV_KMODS	+= conskbd
222DRV_KMODS	+= consms
223DRV_KMODS	+= cpqary3
224DRV_KMODS	+= cpuid
225DRV_KMODS	+= cpunex
226DRV_KMODS	+= crypto
227DRV_KMODS	+= cryptoadm
228DRV_KMODS	+= dca
229DRV_KMODS	+= devinfo
230DRV_KMODS	+= dld
231DRV_KMODS	+= dlpistub
232DRV_KMODS	+= dnet
233DRV_KMODS	+= dump
234DRV_KMODS	+= ecpp
235DRV_KMODS	+= emlxs
236DRV_KMODS	+= eventfd
237DRV_KMODS	+= fd
238DRV_KMODS	+= fdc
239DRV_KMODS	+= fm
240DRV_KMODS	+= fssnap
241DRV_KMODS	+= hxge
242DRV_KMODS	+= i8042
243DRV_KMODS	+= icmp
244DRV_KMODS	+= icmp6
245DRV_KMODS	+= intel_nb5000
246DRV_KMODS	+= intel_nhm
247DRV_KMODS	+= ip
248DRV_KMODS	+= ip6
249DRV_KMODS	+= ipd
250DRV_KMODS	+= ipf
251DRV_KMODS       += ipnet
252DRV_KMODS	+= ippctl
253DRV_KMODS	+= ipsecah
254DRV_KMODS	+= ipsecesp
255DRV_KMODS	+= ipw
256DRV_KMODS	+= iwh
257DRV_KMODS	+= iwi
258DRV_KMODS	+= iwn
259DRV_KMODS	+= iwk
260DRV_KMODS	+= iwp
261DRV_KMODS	+= iwscn
262DRV_KMODS	+= kb8042
263DRV_KMODS	+= keysock
264DRV_KMODS	+= kstat
265DRV_KMODS	+= ksyms
266DRV_KMODS	+= kmdb
267DRV_KMODS	+= llc1
268DRV_KMODS	+= lofi
269DRV_KMODS	+= log
270DRV_KMODS	+= logindmux
271DRV_KMODS	+= mega_sas
272DRV_KMODS	+= mc-amd
273DRV_KMODS	+= mlxcx
274DRV_KMODS	+= mm
275DRV_KMODS	+= mouse8042
276DRV_KMODS	+= mpt_sas
277DRV_KMODS	+= mr_sas
278DRV_KMODS	+= lmrc
279DRV_KMODS	+= mwl
280DRV_KMODS	+= nsmb
281DRV_KMODS	+= nulldriver
282DRV_KMODS	+= nv_sata
283DRV_KMODS	+= nvme
284DRV_KMODS	+= nxge
285DRV_KMODS	+= oce
286DRV_KMODS	+= openeepr
287DRV_KMODS	+= pci_pci
288DRV_KMODS	+= pcic
289DRV_KMODS	+= pcieb
290DRV_KMODS	+= physmem
291DRV_KMODS	+= pit_beep
292DRV_KMODS	+= pm
293DRV_KMODS	+= poll
294DRV_KMODS	+= pool
295DRV_KMODS	+= power
296DRV_KMODS	+= pseudo
297DRV_KMODS	+= ptc
298DRV_KMODS	+= ptm
299DRV_KMODS	+= pts
300DRV_KMODS	+= ptsl
301DRV_KMODS	+= qlge
302DRV_KMODS	+= ral
303DRV_KMODS	+= ramdisk
304DRV_KMODS	+= random
305DRV_KMODS	+= rds
306DRV_KMODS	+= rdsv3
307DRV_KMODS	+= rpcib
308DRV_KMODS	+= rsm
309DRV_KMODS	+= rts
310DRV_KMODS	+= rtw
311DRV_KMODS	+= rum
312DRV_KMODS	+= rwd
313DRV_KMODS	+= rwn
314DRV_KMODS	+= sad
315DRV_KMODS	+= sd
316DRV_KMODS	+= sdhost
317DRV_KMODS	+= sgen
318DRV_KMODS	+= si3124
319DRV_KMODS	+= signalfd
320DRV_KMODS	+= skd
321DRV_KMODS	+= smartpqi
322DRV_KMODS	+= smbios
323DRV_KMODS	+= softmac
324DRV_KMODS	+= spdsock
325DRV_KMODS	+= smbsrv
326DRV_KMODS	+= smp
327DRV_KMODS	+= sppp
328DRV_KMODS	+= sppptun
329DRV_KMODS	+= srpt
330DRV_KMODS	+= st
331DRV_KMODS	+= sy
332DRV_KMODS	+= sysevent
333DRV_KMODS	+= sysmsg
334DRV_KMODS	+= tcp
335DRV_KMODS	+= tcp6
336DRV_KMODS	+= timerfd
337DRV_KMODS	+= tl
338DRV_KMODS	+= tpm
339DRV_KMODS	+= trill
340DRV_KMODS	+= udp
341DRV_KMODS	+= udp6
342DRV_KMODS	+= ucode
343DRV_KMODS	+= ufm
344DRV_KMODS	+= ufmtest
345DRV_KMODS	+= ural
346DRV_KMODS	+= uath
347DRV_KMODS	+= urtw
348DRV_KMODS	+= vgatext
349DRV_KMODS	+= vnic
350DRV_KMODS	+= vscan
351DRV_KMODS	+= wc
352DRV_KMODS	+= winlock
353DRV_KMODS	+= wpi
354DRV_KMODS	+= xge
355DRV_KMODS	+= yge
356DRV_KMODS	+= zcons
357DRV_KMODS	+= zyd
358DRV_KMODS	+= simnet
359DRV_KMODS	+= smrt
360DRV_KMODS	+= stmf
361DRV_KMODS	+= stmf_sbd
362DRV_KMODS	+= fct
363DRV_KMODS	+= fcoe
364DRV_KMODS	+= fcoet
365DRV_KMODS	+= fcoei
366DRV_KMODS	+= qlt
367DRV_KMODS	+= iscsit
368DRV_KMODS	+= pppt
369DRV_KMODS	+= iptun
370DRV_KMODS	+= vmxnet3s
371DRV_KMODS	+= pvscsi
372
373#
374# Common code drivers
375#
376
377DRV_KMODS	+= afe
378DRV_KMODS	+= atge
379DRV_KMODS	+= bfe
380DRV_KMODS	+= bnx
381DRV_KMODS	+= bnxe
382DRV_KMODS	+= dmfe
383DRV_KMODS	+= e1000g
384DRV_KMODS	+= efe
385DRV_KMODS	+= elxl
386DRV_KMODS	+= ena
387DRV_KMODS	+= hme
388DRV_KMODS	+= mxfe
389DRV_KMODS	+= nge
390DRV_KMODS	+= pcn
391DRV_KMODS	+= qede
392DRV_KMODS	+= rge
393DRV_KMODS	+= rtls
394DRV_KMODS	+= sfe
395DRV_KMODS	+= sfxge
396DRV_KMODS	+= amd8111s
397DRV_KMODS	+= igb
398DRV_KMODS	+= ipmi
399DRV_KMODS	+= iprb
400DRV_KMODS	+= ixgbe
401DRV_KMODS	+= i40e
402DRV_KMODS	+= vr
403
404#
405# Virtio drivers
406#
407DRV_KMODS	+= virtio
408DRV_KMODS	+= vioblk
409DRV_KMODS	+= vioif
410DRV_KMODS	+= vioscsi
411
412# Virtio 9P transport driver
413DRV_KMODS	+= vio9p
414
415#
416#	DTrace and DTrace Providers
417#
418DRV_KMODS	+= dtrace
419DRV_KMODS	+= fbt
420DRV_KMODS	+= lockstat
421DRV_KMODS	+= profile
422DRV_KMODS	+= sdt
423DRV_KMODS	+= systrace
424DRV_KMODS	+= fasttrap
425DRV_KMODS	+= dcpc
426
427#
428#	I/O framework test drivers
429#
430DRV_KMODS	+= pshot
431DRV_KMODS	+= gen_drv
432DRV_KMODS	+= tvhci tphci tclient
433DRV_KMODS	+= emul64
434
435#
436#	Machine Specific Driver Modules (/kernel/drv):
437#
438DRV_KMODS	+= options
439DRV_KMODS	+= scsi_vhci
440DRV_KMODS	+= pmcs
441DRV_KMODS	+= pmcs8001fw
442DRV_KMODS	+= arcmsr
443DRV_KMODS	+= fcp
444DRV_KMODS	+= fcip
445DRV_KMODS	+= fcsm
446DRV_KMODS	+= fp
447DRV_KMODS	+= qlc
448DRV_KMODS	+= iscsi
449
450#
451#	PCMCIA specific module(s)
452#
453DRV_KMODS	+= pcs
454MISC_KMODS	+= cardbus
455
456#
457#	SCSI Enclosure Services driver
458#
459DRV_KMODS	+= ses
460
461#
462#	USB specific modules
463#
464DRV_KMODS	+= ccid
465DRV_KMODS	+= hid
466DRV_KMODS	+= hubd
467DRV_KMODS	+= uhci
468DRV_KMODS	+= ehci
469DRV_KMODS	+= ohci
470DRV_KMODS	+= usb_mid
471DRV_KMODS	+= usb_ia
472DRV_KMODS	+= scsa2usb
473DRV_KMODS	+= usbprn
474DRV_KMODS	+= ugen
475DRV_KMODS	+= usbser
476DRV_KMODS	+= usbsacm
477DRV_KMODS	+= usbsksp
478DRV_KMODS	+= usbsprl
479DRV_KMODS	+= usb_ac
480DRV_KMODS	+= usb_as
481DRV_KMODS	+= usbskel
482DRV_KMODS	+= usbvc
483DRV_KMODS	+= usbftdi
484DRV_KMODS	+= usbecm
485DRV_KMODS	+= xhci
486
487#
488#	USBGEM modules
489#
490DRV_KMODS	+= usbgem
491DRV_KMODS	+= axf
492DRV_KMODS	+= udmf
493DRV_KMODS	+= upf
494DRV_KMODS	+= urf
495
496#
497#	1394 modules
498#
499MISC_KMODS	+= s1394 sbp2
500DRV_KMODS	+= hci1394 scsa1394
501DRV_KMODS	+= av1394
502DRV_KMODS	+= dcam1394
503
504#
505#	InfiniBand pseudo drivers
506#
507DRV_KMODS	+= ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
508DRV_KMODS	+= sol_umad
509
510#
511#	Brand modules
512#
513BRAND_KMODS	+= sn1_brand s10_brand
514
515#
516#	Exec Class Modules (/kernel/exec):
517#
518EXEC_KMODS	+= elfexec intpexec shbinexec javaexec
519
520#
521#	Scheduling Class Modules (/kernel/sched):
522#
523SCHED_KMODS	+= IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
524
525#
526#	File System Modules (/kernel/fs):
527#
528FS_KMODS	+= autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
529FS_KMODS	+= mntfs namefs nfs objfs zfs zut
530FS_KMODS	+= pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
531FS_KMODS	+= smbfs bootfs
532
533#
534#	Streams Modules (/kernel/strmod):
535#
536STRMOD_KMODS	+= bufmod connld dedump ldterm pckt pfmod pipemod
537STRMOD_KMODS	+= ptem redirmod rpcmod rlmod telmod timod
538STRMOD_KMODS	+= spppasyn spppcomp
539STRMOD_KMODS	+= tirdwr ttcompat
540STRMOD_KMODS	+= usbkbm
541STRMOD_KMODS	+= usbms
542STRMOD_KMODS	+= usbwcm
543STRMOD_KMODS	+= usb_ah
544STRMOD_KMODS	+= drcompat
545STRMOD_KMODS	+= cryptmod
546STRMOD_KMODS	+= vuid2ps2
547STRMOD_KMODS	+= vuid3ps2
548STRMOD_KMODS	+= vuidm3p
549STRMOD_KMODS	+= vuidm4p
550STRMOD_KMODS	+= vuidm5p
551
552#
553#	'System' Modules (/kernel/sys):
554#
555SYS_KMODS	+= c2audit
556SYS_KMODS	+= doorfs
557SYS_KMODS	+= exacctsys
558SYS_KMODS	+= inst_sync
559SYS_KMODS	+= kaio
560SYS_KMODS	+= msgsys
561SYS_KMODS	+= pipe
562SYS_KMODS	+= portfs
563SYS_KMODS	+= pset
564SYS_KMODS	+= semsys
565SYS_KMODS	+= shmsys
566SYS_KMODS	+= sysacct
567SYS_KMODS	+= acctctl
568
569#
570#	'Misc' Modules (/kernel/misc)
571#	MISC_KMODS are built both 32-bit and 64-bit
572#	MISC_KMODS_32 are built only 32-bit
573#	MISC_KMODS_64 are built only 64-bit
574#
575MISC_KMODS	+= ac97
576MISC_KMODS	+= acpica
577MISC_KMODS	+= bignum
578MISC_KMODS	+= bootdev
579MISC_KMODS	+= busra
580MISC_KMODS	+= cmlb
581MISC_KMODS	+= consconfig
582MISC_KMODS	+= ctf
583MISC_KMODS	+= dadk
584MISC_KMODS	+= dcopy
585MISC_KMODS	+= dls
586MISC_KMODS	+= fssnap_if
587MISC_KMODS	+= gda
588MISC_KMODS	+= gld
589MISC_KMODS	+= hidparser
590MISC_KMODS	+= hook
591MISC_KMODS	+= hpcsvc
592MISC_KMODS	+= ibcm
593MISC_KMODS	+= ibdm
594MISC_KMODS	+= ibdma
595MISC_KMODS	+= ibmf
596MISC_KMODS	+= ibtl
597MISC_KMODS	+= idm
598MISC_KMODS	+= idmap
599MISC_KMODS	+= iommulib
600MISC_KMODS	+= ipc
601MISC_KMODS	+= kbtrans
602MISC_KMODS	+= kcf
603MISC_KMODS	+= kgssapi
604MISC_KMODS	+= kmech_dummy
605MISC_KMODS	+= kmech_krb5
606MISC_KMODS	+= ksocket
607MISC_KMODS	+= mac
608MISC_KMODS	+= mii
609MISC_KMODS	+= mwlfw
610MISC_KMODS	+= net80211
611MISC_KMODS	+= nfs_dlboot
612MISC_KMODS	+= nfssrv
613MISC_KMODS	+= neti
614MISC_KMODS	+= pci_autoconfig
615MISC_KMODS	+= pcicfg
616MISC_KMODS	+= pcihp
617MISC_KMODS	+= pcmcia
618MISC_KMODS	+= rpcsec
619MISC_KMODS	+= rpcsec_gss
620MISC_KMODS	+= rsmops
621MISC_KMODS	+= sata
622MISC_KMODS	+= scsi
623MISC_KMODS	+= sda
624MISC_KMODS	+= sol_ofs
625MISC_KMODS	+= strategy
626MISC_KMODS	+= strplumb
627MISC_KMODS	+= tem
628MISC_KMODS	+= tlimod
629MISC_KMODS	+= usba usba10 usbs49_fw
630MISC_KMODS	+= scsi_vhci_f_sym_hds
631MISC_KMODS	+= scsi_vhci_f_sym
632MISC_KMODS	+= scsi_vhci_f_tpgs
633MISC_KMODS	+= scsi_vhci_f_tape
634MISC_KMODS	+= scsi_vhci_f_tpgs_tape
635MISC_KMODS	+= fctl
636MISC_KMODS	+= emlxs_fw
637MISC_KMODS	+= qlc_fw_2200
638MISC_KMODS	+= qlc_fw_2300
639MISC_KMODS	+= qlc_fw_2400
640MISC_KMODS	+= qlc_fw_2500
641MISC_KMODS	+= qlc_fw_2700
642MISC_KMODS	+= qlc_fw_6322
643MISC_KMODS	+= qlc_fw_8100
644MISC_KMODS	+= qlc_fw_8301fc
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