]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/Makefile
Add isci(4) driver for amd64 and i386 targets.
[FreeBSD/FreeBSD.git] / sys / modules / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 SUBDIR= ${_3dfx} \
6         ${_3dfx_linux} \
7         ${_aac} \
8         accf_data \
9         accf_dns \
10         accf_http \
11         ${_acpi} \
12         ae \
13         ${_aesni} \
14         age \
15         ${_agp} \
16         aha \
17         ${_ahb} \
18         ahci \
19         ${_aic} \
20         aic7xxx \
21         aio \
22         alc \
23         ale \
24         alq \
25         ${_amdsbwd} \
26         ${_amdtemp} \
27         amr \
28         ${_an} \
29         ${_aout} \
30         ${_apm} \
31         ${_arcmsr} \
32         ${_arcnet} \
33         ${_asmc} \
34         ${_asr} \
35         ata \
36         ath \
37         ath_pci \
38         ${_auxio} \
39         bce \
40         bfe \
41         bge \
42         ${_bxe} \
43         ${_bios} \
44         ${_bktr} \
45         ${_bm} \
46         bridgestp \
47         bwi \
48         bwn \
49         cam \
50         ${_canbepm} \
51         ${_canbus} \
52         ${_cardbus} \
53         ${_carp} \
54         cas \
55         ${_cbb} \
56         cc \
57         cd9660 \
58         cd9660_iconv \
59         ${_ce} \
60         ${_cfi} \
61         ${_ciss} \
62         ${_cm} \
63         ${_cmx} \
64         coda \
65         coda5 \
66         ${_coff} \
67         ${_coretemp} \
68         ${_cp} \
69         ${_cpuctl} \
70         ${_cpufreq} \
71         ${_crypto} \
72         ${_cryptodev} \
73         ${_cs} \
74         ${_ctau} \
75         ${_cxgb} \
76         cxgbe \
77         ${_cyclic} \
78         dc \
79         dcons \
80         dcons_crom \
81         de \
82         ${_dpms} \
83         ${_dpt} \
84         ${_drm} \
85         ${_dtrace} \
86         dummynet \
87         ${_ed} \
88         ${_elink} \
89         ${_em} \
90         en \
91         ${_ep} \
92         ${_epic} \
93         esp \
94         ${_et} \
95         ${_ex} \
96         ${_exca} \
97         ${_ext2fs} \
98         fatm \
99         fdc \
100         fdescfs \
101         ${_fe} \
102         firewire \
103         firmware \
104         fxp \
105         gem \
106         geom \
107         ${_glxiic} \
108         ${_glxsb} \
109         hatm \
110         hifn \
111         hme \
112         ${_hpt27xx} \
113         ${_hptiop} \
114         ${_hptmv} \
115         ${_hptrr} \
116         hwpmc \
117         ${_i2c} \
118         ${_ibcs2} \
119         ${_ichwd} \
120         ${_ida} \
121         ${_ie} \
122         if_bridge \
123         if_disc \
124         if_edsc \
125         if_ef \
126         if_epair \
127         if_faith \
128         if_gif \
129         ${_if_gre} \
130         if_lagg \
131         ${_if_ndis} \
132         if_stf \
133         if_tap \
134         if_tun \
135         if_vlan \
136         ${_igb} \
137         ${_iir} \
138         ${_io} \
139         ${_ipdivert} \
140         ${_ipfilter} \
141         ${_ipfw} \
142         ipfw_nat \
143         ${_ipmi} \
144         ip_mroute_mod \
145         ${_ips} \
146         ${_ipw} \
147         ${_ipwfw} \
148         ${_isci} \
149         iscsi \
150         isp \
151         ispfw \
152         ${_iwi} \
153         ${_iwifw} \
154         ${_iwn} \
155         ${_iwnfw} \
156         ${_ixgb} \
157         ${_ixgbe} \
158         jme \
159         joy \
160         kbdmux \
161         kgssapi \
162         kgssapi_krb5 \
163         khelp \
164         krpc \
165         ksyms \
166         le \
167         lge \
168         libalias \
169         libiconv \
170         libmbpool \
171         libmchain \
172         ${_lindev} \
173         ${_linprocfs} \
174         ${_linsysfs} \
175         ${_linux} \
176         lmc \
177         lpt \
178         mac_biba \
179         mac_bsdextended \
180         mac_ifoff \
181         mac_lomac \
182         mac_mls \
183         mac_none \
184         mac_partition \
185         mac_portacl \
186         mac_seeotheruids \
187         mac_stub \
188         mac_test \
189         malo \
190         mcd \
191         md \
192         mem \
193         mfi \
194         mii \
195         mlx \
196         ${_mlx4} \
197         ${_mlx4ib} \
198         ${_mlxen} \
199         ${_mly} \
200         mmc \
201         mmcsd \
202         mps \
203         mpt \
204         mqueue \
205         msdosfs \
206         msdosfs_iconv \
207         ${_mse} \
208         msk \
209         ${_mthca} \
210         mvs \
211         mwl \
212         mwlfw \
213         mxge \
214         my \
215         ${_ncp} \
216         ${_ncv} \
217         ${_ndis} \
218         ${_netgraph} \
219         ${_nfe} \
220         nfs_common \
221         nfscl \
222         nfsclient \
223         nfscommon \
224         nfsd \
225         nfslock \
226         nfslockd \
227         nfsserver \
228         nfssvc \
229         nge \
230         nmdm \
231         ${_nsp} \
232         ntfs \
233         ntfs_iconv \
234         nullfs \
235         ${_nve} \
236         ${_nvram} \
237         ${_nwfs} \
238         ${_nxge} \
239         ${_opensolaris} \
240         ${_padlock} \
241         patm \
242         ${_pccard} \
243         ${_pcfclock} \
244         pcn \
245         ${_pf} \
246         ${_pflog} \
247         ${_pfsync} \
248         plip \
249         ${_pmc} \
250         portalfs \
251         ppbus \
252         ppc \
253         ppi \
254         pps \
255         procfs \
256         pseudofs \
257         ${_pst} \
258         pty  \
259         puc \
260         ${_qlxgb} \
261         ral \
262         ralfw \
263         ${_random} \
264         rc4 \
265         ${_rdma} \
266         re \
267         reiserfs \
268         rl \
269         runfw \
270         ${_s3} \
271         ${_safe} \
272         ${_sbni} \
273         scc \
274         scd \
275         ${_scsi_low} \
276         sdhci \
277         sem \
278         send \
279         sf \
280         ${_sfxge} \
281         sge \
282         siba_bwn \
283         siftr \
284         siis \
285         sis \
286         sk \
287         ${_smbfs} \
288         sn \
289         ${_snc} \
290         snp \
291         ${_sound} \
292         ${_speaker} \
293         ${_splash} \
294         ${_sppp} \
295         ste \
296         ${_stg} \
297         stge \
298         ${_streams} \
299         ${_svr4} \
300         ${_sym} \
301         ${_syscons} \
302         sysvipc \
303         ti \
304         tl \
305         tmpfs \
306         ${_tpm} \
307         trm \
308         ${_twa} \
309         twe \
310         tws \
311         tx \
312         txp \
313         uart \
314         ubsec \
315         udf \
316         udf_iconv \
317         ufs \
318         unionfs \
319         usb \
320         utopia \
321         ${_vesa} \
322         ${_virtio} \
323         vge \
324         ${_viawd} \
325         vkbd \
326         ${_vpo} \
327         vr \
328         vte \
329         vx \
330         ${_vxge} \
331         wb \
332         ${_wi} \
333         wlan \
334         wlan_acl \
335         wlan_amrr \
336         wlan_ccmp \
337         wlan_rssadapt \
338         wlan_tkip \
339         wlan_wep \
340         wlan_xauth \
341         ${_wpi} \
342         ${_wpifw} \
343         ${_x86bios} \
344         ${_xe} \
345         xfs \
346         xl \
347         ${_zfs} \
348         zlib \
349
350 .if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_CPUARCH} != "arm" && \
351         ${MACHINE_CPUARCH} != "mips"
352 _syscons=       syscons
353 _vpo=           vpo
354 .endif
355
356 .if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
357 # no BUS_SPACE_UNSPECIFIED
358 # No barrier instruction support (specific to this driver)
359 _sym=           sym
360 # intr_disable() is a macro, causes problems
361 _cxgb=          cxgb
362 .endif
363
364 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
365 .if exists(${.CURDIR}/../opencrypto)
366 _crypto=        crypto
367 _cryptodev=     cryptodev
368 .endif
369 .if exists(${.CURDIR}/../crypto)
370 _random=        random
371 .endif
372 .endif
373
374 .if (${MK_INET_SUPPORT} != "no" || ${MK_INET6_SUPPORT} != "no") || \
375         defined(ALL_MODULES)
376 _carp=  carp
377 .endif
378
379 .if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES)
380 _if_gre=        if_gre
381 .endif
382
383 .if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
384 _ipfilter=      ipfilter
385 .endif
386
387 .if ${MK_INET_SUPPORT} != "no" || defined(ALL_MODULES)
388 _ipdivert=      ipdivert
389 _ipfw=          ipfw
390 .endif
391
392 .if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
393 _netgraph=      netgraph
394 .endif
395
396 .if (${MK_PF} != "no" && (${MK_INET_SUPPORT} != "no" || \
397         ${MK_INET6_SUPPORT} != "no")) || defined(ALL_MODULES)
398 _pf=            pf
399 _pflog=         pflog
400 .if ${MK_INET_SUPPORT} != "no"
401 _pfsync=        pfsync
402 .endif
403 .endif
404
405 .if ${MACHINE_CPUARCH} == "i386"
406 # XXX some of these can move to the general case when de-i386'ed
407 # XXX some of these can move now, but are untested on other architectures.
408 _3dfx=          3dfx
409 _3dfx_linux=    3dfx_linux
410 _agp=           agp
411 _aic=           aic
412 _an=            an
413 _aout=          aout
414 _apm=           apm
415 _arcnet=        arcnet
416 _bktr=          bktr
417 _bxe=           bxe
418 _cardbus=       cardbus
419 _cbb=           cbb
420 _ce=            ce
421 _coff=          coff
422 _cp=            cp
423 _cpuctl=        cpuctl
424 _cpufreq=       cpufreq
425 _cs=            cs
426 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
427 _cyclic=        cyclic
428 .endif
429 _dpms=          dpms
430 _drm=           drm
431 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
432 _dtrace=        dtrace
433 .endif
434 _ed=            ed
435 _elink=         elink
436 _em=            em
437 _ep=            ep
438 _et=            et
439 _exca=          exca
440 _ext2fs=        ext2fs
441 _fe=            fe
442 _glxiic=        glxiic
443 _glxsb=         glxsb
444 _i2c=           i2c
445 _ibcs2=         ibcs2
446 _ie=            ie
447 _if_ndis=       if_ndis
448 _igb=           igb
449 _io=            io
450 _lindev=        lindev
451 _linprocfs=     linprocfs
452 _linsysfs=      linsysfs
453 _linux=         linux
454 _mse=           mse
455 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
456 _mlx4=          mlx4
457 _mlx4ib=        mlx4ib
458 _mlxen=         mlxen
459 _mthca=         mthca
460 .endif
461 .if ${MK_NCP} != "no"
462 _ncp=           ncp
463 .endif
464 _ncv=           ncv
465 _ndis=          ndis
466 _nsp=           nsp
467 .if ${MK_NCP} != "no"
468 _nwfs=          nwfs
469 .endif
470 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
471 _opensolaris=   opensolaris
472 .endif
473 _pccard=        pccard
474 _pcfclock=      pcfclock
475 _pst=           pst
476 _rdma=          rdma
477 _safe=          safe
478 _sbni=          sbni
479 _scsi_low=      scsi_low
480 _smbfs=         smbfs
481 _sound=         sound
482 _speaker=       speaker
483 _splash=        splash
484 _sppp=          sppp
485 _stg=           stg
486 _streams=       streams
487 _svr4=          svr4
488 _vxge=          vxge
489 _wi=            wi
490 _xe=            xe
491 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
492 _zfs=           zfs
493 .endif
494 .if ${MACHINE} == "i386"
495 _aac=           aac
496 _acpi=          acpi
497 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
498 _aesni=         aesni
499 .endif
500 _ahb=           ahb
501 _amdsbwd=       amdsbwd
502 _amdtemp=       amdtemp
503 _arcmsr=        arcmsr
504 _asmc=          asmc
505 _asr=           asr
506 _bios=          bios
507 _ciss=          ciss
508 _cm=            cm
509 _cmx=           cmx
510 _coretemp=      coretemp
511 _ctau=          ctau
512 _dpt=           dpt
513 _ex=            ex
514 _hpt27xx=       hpt27xx
515 _hptiop=        hptiop
516 _hptmv=         hptmv
517 _hptrr=         hptrr
518 _ichwd=         ichwd
519 _ida=           ida
520 _iir=           iir
521 _ipmi=          ipmi
522 _ips=           ips
523 _ipw=           ipw
524 _ipwfw=         ipwfw
525 _isci=          isci
526 _iwi=           iwi
527 _iwifw=         iwifw
528 _iwn=           iwn
529 _iwnfw=         iwnfw
530 _ixgb=          ixgb
531 _ixgbe=         ixgbe
532 _mly=           mly
533 _nfe=           nfe
534 _nve=           nve
535 _nvram=         nvram
536 _nxge=          nxge
537 _tpm=           tpm
538 _viawd=         viawd
539 _wpi=           wpi
540 _wpifw=         wpifw
541 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
542 _padlock=       padlock
543 .endif
544 _s3=            s3
545 _twa=           twa
546 _vesa=          vesa
547 _virtio=        virtio
548 _x86bios=       x86bios
549 .elif ${MACHINE} == "pc98"
550 _canbepm=       canbepm
551 _canbus=        canbus
552 _pmc=           pmc
553 _snc=           snc
554 .endif
555 .endif
556
557 .if ${MACHINE_CPUARCH} == "amd64"
558 _aac=           aac
559 _aout=          aout
560 _acpi=          acpi
561 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
562 _aesni=         aesni
563 .endif
564 _agp=           agp
565 _an=            an
566 _amdsbwd=       amdsbwd
567 _amdtemp=       amdtemp
568 _arcmsr=        arcmsr
569 _asmc=          asmc
570 _bktr=          bktr
571 _bxe=           bxe
572 _cardbus=       cardbus
573 _cbb=           cbb
574 _cmx=           cmx
575 _ciss=          ciss
576 _coretemp=      coretemp
577 _cpuctl=        cpuctl
578 _cpufreq=       cpufreq
579 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
580 _cyclic=        cyclic
581 .endif
582 _dpms=          dpms
583 _drm=           drm
584 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
585 _dtrace=        dtrace
586 .endif
587 _ed=            ed
588 _et=            et
589 _em=            em
590 _exca=          exca
591 _ext2fs=        ext2fs
592 _hpt27xx=       hpt27xx
593 _hptiop=        hptiop
594 _hptmv=         hptmv
595 _hptrr=         hptrr
596 _i2c=           i2c
597 _ichwd=         ichwd
598 _ida=           ida
599 _if_ndis=       if_ndis
600 _igb=           igb
601 _iir=           iir
602 _io=            io
603 _ipmi=          ipmi
604 _ips=           ips
605 _ipw=           ipw
606 _ipwfw=         ipwfw
607 _isci=          isci
608 _iwi=           iwi
609 _iwifw=         iwifw
610 _iwn=           iwn
611 _iwnfw=         iwnfw
612 _ixgb=          ixgb
613 _ixgbe=         ixgbe
614 _lindev=        lindev
615 _linprocfs=     linprocfs
616 _linsysfs=      linsysfs
617 _linux=         linux
618 _mly=           mly
619 .if ${MK_OFED} != "no" || defined(ALL_MODULES)
620 _mlx4=          mlx4
621 _mlx4ib=        mlx4ib
622 _mlxen=         mlxen
623 _mthca=         mthca
624 .endif
625 _ndis=          ndis
626 _nfe=           nfe
627 _nve=           nve
628 _nvram=         nvram
629 _nxge=          nxge
630 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
631 _opensolaris=   opensolaris
632 .endif
633 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
634 _padlock=       padlock
635 .endif
636 _pccard=        pccard
637 _qlxgb=         qlxgb
638 _rdma=          rdma    
639 _s3=            s3
640 _safe=          safe
641 _scsi_low=      scsi_low
642 _sfxge=         sfxge
643 _smbfs=         smbfs
644 _sound=         sound
645 _speaker=       speaker
646 _splash=        splash
647 _sppp=          sppp
648 _tpm=           tpm
649 _twa=           twa
650 _vesa=          vesa
651 _viawd=         viawd
652 _virtio=        virtio
653 _vxge=          vxge
654 _x86bios=       x86bios
655 _wi=            wi
656 _wpi=           wpi
657 _wpifw=         wpifw
658 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
659 _zfs=           zfs
660 .endif
661 .endif
662
663 .if ${MACHINE_CPUARCH} == "arm"
664 _cfi=           cfi
665 .endif
666
667 .if ${MACHINE_CPUARCH} == "ia64"
668 _aac=           aac
669 _aic=           aic
670 _an=            an
671 _arcnet=        arcnet
672 _asr=           asr
673 _bktr=          bktr
674 _cardbus=       cardbus
675 _cbb=           cbb
676 _ciss=          ciss
677 _cm=            cm
678 _cmx=           cmx
679 _coff=          coff
680 _cpufreq=       cpufreq
681 _dpt=           dpt
682 _em=            em
683 _ep=            ep
684 _et=            et
685 _exca=          exca
686 _fe=            fe
687 _hptiop=        hptiop
688 _ida=           ida
689 _igb=           igb
690 _iir=           iir
691 _ips=           ips
692 _mly=           mly
693 _pccard=        pccard
694 _scsi_low=      scsi_low
695 _smbfs=         smbfs
696 _sound=         sound
697 _splash=        splash
698 _sppp=          sppp
699 _streams=       streams
700 _tpm=           tpm
701 _twa=           twa
702 _wi=            wi
703 _xe=            xe
704 .endif
705
706 .if ${MACHINE_CPUARCH} == "powerpc"
707 _agp=           agp
708 _an=            an
709 _bm=            bm
710 _cfi=           cfi
711 _cpufreq=       cpufreq
712 _nvram=         powermac_nvram
713 _smbfs=         smbfs
714 _sound=         sound
715 .endif
716
717 .if ${MACHINE_ARCH} == "powerpc64"
718 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
719 _opensolaris=   opensolaris
720 .endif
721 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
722 _zfs=           zfs
723 .endif
724 .endif
725
726 .if ${MACHINE_CPUARCH} == "sparc64"
727 _auxio=         auxio
728 _em=            em
729 _epic=          epic
730 _i2c=           i2c
731 _igb=           igb
732 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
733 _opensolaris=   opensolaris
734 .endif
735 _smbfs=         smbfs
736 _sound=         sound
737 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
738 _zfs=           zfs
739 .endif
740 .endif
741
742 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
743 SUBDIR=${MODULES_OVERRIDE}
744 .endif
745
746 .for reject in ${WITHOUT_MODULES}
747 SUBDIR:= ${SUBDIR:N${reject}}
748 .endfor
749
750 # Calling kldxref(8) for each module is expensive.
751 .if !defined(NO_XREF)
752 .MAKEFLAGS+=    -DNO_XREF
753 afterinstall:
754         @if type kldxref >/dev/null 2>&1; then \
755                 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
756                 kldxref ${DESTDIR}${KMODDIR}; \
757         fi
758 .endif
759
760 .include <bsd.subdir.mk>