1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1994-09-16 20:24:29 +00:00
|
|
|
|
2003-06-23 22:01:01 +00:00
|
|
|
.if !defined(NOCRYPT) || defined(ALL_MODULES)
|
|
|
|
.if exists(${.CURDIR}/../opencrypto)
|
2002-10-16 14:31:34 +00:00
|
|
|
_crypto= crypto
|
|
|
|
_cryptodev= cryptodev
|
|
|
|
.endif
|
2003-06-23 22:01:01 +00:00
|
|
|
.if exists(${.CURDIR}/../crypto)
|
2000-10-14 10:59:56 +00:00
|
|
|
_random= random
|
2000-07-07 09:38:01 +00:00
|
|
|
.endif
|
2003-06-23 22:01:01 +00:00
|
|
|
.endif
|
2000-07-07 09:38:01 +00:00
|
|
|
|
2002-11-08 20:04:38 +00:00
|
|
|
SUBDIR= accf_data \
|
2001-07-15 04:55:37 +00:00
|
|
|
accf_http \
|
|
|
|
aha \
|
2002-11-03 23:48:14 +00:00
|
|
|
aic7xxx \
|
2001-12-29 07:13:47 +00:00
|
|
|
aio \
|
2001-07-15 04:55:37 +00:00
|
|
|
amr \
|
|
|
|
an \
|
2003-06-28 06:18:37 +00:00
|
|
|
ath \
|
2001-07-15 04:55:37 +00:00
|
|
|
aue \
|
2003-04-20 19:05:33 +00:00
|
|
|
axe \
|
2003-09-09 18:17:23 +00:00
|
|
|
bfe \
|
2001-09-27 23:55:28 +00:00
|
|
|
bge \
|
2001-10-05 07:09:27 +00:00
|
|
|
bridge \
|
2002-10-01 19:05:18 +00:00
|
|
|
cam \
|
|
|
|
cd9660 \
|
2003-09-26 20:26:25 +00:00
|
|
|
cd9660_iconv \
|
2001-07-15 04:55:37 +00:00
|
|
|
coda \
|
2003-09-07 07:43:10 +00:00
|
|
|
coda5 \
|
2002-10-16 14:31:34 +00:00
|
|
|
${_crypto} \
|
|
|
|
${_cryptodev} \
|
2001-07-15 04:55:37 +00:00
|
|
|
cue \
|
|
|
|
dc \
|
2003-10-24 15:44:10 +00:00
|
|
|
dcons \
|
|
|
|
dcons_crom \
|
2001-07-15 04:55:37 +00:00
|
|
|
de \
|
|
|
|
digi \
|
2001-10-05 07:09:27 +00:00
|
|
|
dummynet \
|
2003-06-16 13:52:27 +00:00
|
|
|
en \
|
2003-06-23 14:46:12 +00:00
|
|
|
fatm \
|
2001-07-15 04:55:37 +00:00
|
|
|
fdc \
|
2002-10-21 00:38:18 +00:00
|
|
|
fdescfs \
|
2002-11-07 16:19:43 +00:00
|
|
|
firewire \
|
2001-07-15 04:55:37 +00:00
|
|
|
fxp \
|
2003-05-31 18:36:41 +00:00
|
|
|
geom \
|
2001-10-19 02:21:16 +00:00
|
|
|
gx \
|
2003-07-21 13:56:22 +00:00
|
|
|
harp \
|
2003-06-17 16:12:50 +00:00
|
|
|
hatm \
|
2002-10-04 20:42:36 +00:00
|
|
|
hifn \
|
2001-07-15 04:55:37 +00:00
|
|
|
if_disc \
|
|
|
|
if_ef \
|
2002-10-21 00:38:18 +00:00
|
|
|
if_faith \
|
2001-07-15 04:55:37 +00:00
|
|
|
if_gif \
|
2002-09-06 17:18:53 +00:00
|
|
|
if_gre \
|
Commit the first cut of Project Evil, also known as the NDISulator.
Yes, it's what you think it is. Yes, you should run away now.
This is a special compatibility module for allowing Windows NDIS
miniport network drivers to be used with FreeBSD/x86. This provides
_binary_ NDIS compatibility (not source): you can run NDIS driver
code, but you can't build it. There are three main parts:
sys/compat/ndis: the NDIS compat API, which provides binary
compatibility functions for many routines in NDIS.SYS, HAL.dll
and ntoskrnl.exe in Windows (these are the three modules that
most NDIS miniport drivers use). The compat module also contains
a small PE relocator/dynalinker which relocates the Windows .SYS
image and then patches in our native routines.
sys/dev/if_ndis: the if_ndis driver wrapper. This module makes
use of the ndis compat API and can be compiled with a specially
prepared binary image file (ndis_driver_data.h) containing the
Windows .SYS image and registry key information parsed out of the
accompanying .INF file. Once if_ndis.ko is built, it can be loaded
and unloaded just like a native FreeBSD kenrel module.
usr.sbin/ndiscvt: a special utility that converts foo.sys and foo.inf
into an ndis_driver_data.h file that can be compiled into if_ndis.o.
Contains an .inf file parser graciously provided by Matt Dodd (and
mercilessly hacked upon by me) that strips out device ID info and
registry key info from a .INF file and packages it up with a binary
image array. The ndiscvt(8) utility also does some manipulation of
the segments within the .sys file to make life easier for the kernel
loader. (Doing the manipulation here saves the kernel code from having
to move things around later, which would waste memory.)
ndiscvt is only built for the i386 arch. Only files.i386 has been
updated, and none of this is turned on in GENERIC. It should probably
work on pc98. I have no idea about amd64 or ia64 at this point.
This is still a work in progress. I estimate it's about %85 done, but
I want it under CVS control so I can track subsequent changes. It has
been tested with exactly three drivers: the LinkSys LNE100TX v4 driver
(Lne100v4.sys), the sample Intel 82559 driver from the Windows DDK
(e100bex.sys) and the Broadcom BCM43xx wireless driver (bcmwl5.sys). It
still needs to have a net80211 stuff added to it. To use it, you would
do something like this:
# cd /sys/modules/ndis
# make; make load
# cd /sys/modules/if_ndis
# ndiscvt -i /path/to/foo.inf -s /path/to/foo.sys -o ndis_driver_data.h
# make; make load
# sysctl -a | grep ndis
All registry keys are mapped to sysctl nodes. Sometimes drivers refer
to registry keys that aren't mentioned in foo.inf. If this happens,
the NDIS API module creates sysctl nodes for these keys on the fly so
you can tweak them.
An example usage of the Broadcom wireless driver would be:
# sysctl hw.ndis0.EnableAutoConnect=1
# sysctl hw.ndis0.SSID="MY_SSID"
# sysctl hw.ndis0.NetworkType=0 (0 for bss, 1 for adhoc)
# ifconfig ndis0 <my ipaddr> netmask 0xffffff00 up
Things to be done:
- get rid of debug messages
- add in ndis80211 support
- defer transmissions until after a status update with
NDIS_STATUS_CONNECTED occurs
- Create smarter lookaside list support
- Split off if_ndis_pci.c and if_ndis_pccard.c attachments
- Make sure PCMCIA support works
- Fix ndiscvt to properly parse PCMCIA device IDs from INF files
- write ndisapi.9 man page
2003-12-11 22:34:37 +00:00
|
|
|
if_ndis \
|
2001-07-15 04:55:37 +00:00
|
|
|
if_ppp \
|
|
|
|
if_sl \
|
|
|
|
if_stf \
|
|
|
|
if_tap \
|
|
|
|
if_tun \
|
2001-09-05 23:47:46 +00:00
|
|
|
if_vlan \
|
2001-07-15 04:55:37 +00:00
|
|
|
ip6fw \
|
2001-07-25 20:15:17 +00:00
|
|
|
ip_mroute_mod \
|
2001-07-15 04:55:37 +00:00
|
|
|
ipfw \
|
2002-10-31 19:50:18 +00:00
|
|
|
isp \
|
2001-07-15 04:55:37 +00:00
|
|
|
ispfw \
|
|
|
|
joy \
|
|
|
|
kue \
|
|
|
|
lge \
|
2001-12-12 10:11:16 +00:00
|
|
|
libiconv \
|
2003-07-15 08:59:38 +00:00
|
|
|
libmbpool \
|
2001-07-15 04:55:37 +00:00
|
|
|
libmchain \
|
2001-11-03 08:20:44 +00:00
|
|
|
lpt \
|
2002-08-01 17:41:27 +00:00
|
|
|
mac_biba \
|
|
|
|
mac_bsdextended \
|
|
|
|
mac_ifoff \
|
2002-11-26 17:35:44 +00:00
|
|
|
mac_lomac \
|
2002-08-01 17:41:27 +00:00
|
|
|
mac_mls \
|
|
|
|
mac_none \
|
2002-10-23 23:36:26 +00:00
|
|
|
mac_partition \
|
2003-03-02 23:01:42 +00:00
|
|
|
mac_portacl \
|
2002-08-01 17:41:27 +00:00
|
|
|
mac_seeotheruids \
|
2003-08-21 16:48:39 +00:00
|
|
|
mac_stub \
|
2002-08-01 17:41:27 +00:00
|
|
|
mac_test \
|
2002-10-04 07:15:34 +00:00
|
|
|
mcd \
|
2001-07-15 04:55:37 +00:00
|
|
|
md \
|
|
|
|
mii \
|
|
|
|
mlx \
|
2002-10-31 19:39:23 +00:00
|
|
|
mpt \
|
2002-10-06 08:07:40 +00:00
|
|
|
msdosfs \
|
2003-09-26 20:26:25 +00:00
|
|
|
msdosfs_iconv \
|
2003-02-27 14:49:56 +00:00
|
|
|
my \
|
Commit the first cut of Project Evil, also known as the NDISulator.
Yes, it's what you think it is. Yes, you should run away now.
This is a special compatibility module for allowing Windows NDIS
miniport network drivers to be used with FreeBSD/x86. This provides
_binary_ NDIS compatibility (not source): you can run NDIS driver
code, but you can't build it. There are three main parts:
sys/compat/ndis: the NDIS compat API, which provides binary
compatibility functions for many routines in NDIS.SYS, HAL.dll
and ntoskrnl.exe in Windows (these are the three modules that
most NDIS miniport drivers use). The compat module also contains
a small PE relocator/dynalinker which relocates the Windows .SYS
image and then patches in our native routines.
sys/dev/if_ndis: the if_ndis driver wrapper. This module makes
use of the ndis compat API and can be compiled with a specially
prepared binary image file (ndis_driver_data.h) containing the
Windows .SYS image and registry key information parsed out of the
accompanying .INF file. Once if_ndis.ko is built, it can be loaded
and unloaded just like a native FreeBSD kenrel module.
usr.sbin/ndiscvt: a special utility that converts foo.sys and foo.inf
into an ndis_driver_data.h file that can be compiled into if_ndis.o.
Contains an .inf file parser graciously provided by Matt Dodd (and
mercilessly hacked upon by me) that strips out device ID info and
registry key info from a .INF file and packages it up with a binary
image array. The ndiscvt(8) utility also does some manipulation of
the segments within the .sys file to make life easier for the kernel
loader. (Doing the manipulation here saves the kernel code from having
to move things around later, which would waste memory.)
ndiscvt is only built for the i386 arch. Only files.i386 has been
updated, and none of this is turned on in GENERIC. It should probably
work on pc98. I have no idea about amd64 or ia64 at this point.
This is still a work in progress. I estimate it's about %85 done, but
I want it under CVS control so I can track subsequent changes. It has
been tested with exactly three drivers: the LinkSys LNE100TX v4 driver
(Lne100v4.sys), the sample Intel 82559 driver from the Windows DDK
(e100bex.sys) and the Broadcom BCM43xx wireless driver (bcmwl5.sys). It
still needs to have a net80211 stuff added to it. To use it, you would
do something like this:
# cd /sys/modules/ndis
# make; make load
# cd /sys/modules/if_ndis
# ndiscvt -i /path/to/foo.inf -s /path/to/foo.sys -o ndis_driver_data.h
# make; make load
# sysctl -a | grep ndis
All registry keys are mapped to sysctl nodes. Sometimes drivers refer
to registry keys that aren't mentioned in foo.inf. If this happens,
the NDIS API module creates sysctl nodes for these keys on the fly so
you can tweak them.
An example usage of the Broadcom wireless driver would be:
# sysctl hw.ndis0.EnableAutoConnect=1
# sysctl hw.ndis0.SSID="MY_SSID"
# sysctl hw.ndis0.NetworkType=0 (0 for bss, 1 for adhoc)
# ifconfig ndis0 <my ipaddr> netmask 0xffffff00 up
Things to be done:
- get rid of debug messages
- add in ndis80211 support
- defer transmissions until after a status update with
NDIS_STATUS_CONNECTED occurs
- Create smarter lookaside list support
- Split off if_ndis_pci.c and if_ndis_pccard.c attachments
- Make sure PCMCIA support works
- Fix ndiscvt to properly parse PCMCIA device IDs from INF files
- write ndisapi.9 man page
2003-12-11 22:34:37 +00:00
|
|
|
ndis \
|
2001-09-18 23:32:09 +00:00
|
|
|
nfsclient \
|
|
|
|
nfsserver \
|
2001-07-15 04:55:37 +00:00
|
|
|
nge \
|
|
|
|
nmdm \
|
|
|
|
ntfs \
|
2003-09-26 20:26:25 +00:00
|
|
|
ntfs_iconv \
|
2001-07-15 04:55:37 +00:00
|
|
|
nullfs \
|
2003-07-15 11:57:24 +00:00
|
|
|
patm \
|
2001-07-15 04:55:37 +00:00
|
|
|
pcn \
|
2001-11-03 08:20:44 +00:00
|
|
|
plip \
|
2001-07-15 04:55:37 +00:00
|
|
|
portalfs \
|
2001-11-03 08:20:44 +00:00
|
|
|
ppbus \
|
|
|
|
ppi \
|
|
|
|
pps \
|
2002-02-04 20:16:50 +00:00
|
|
|
procfs \
|
|
|
|
pseudofs \
|
2003-08-30 08:01:05 +00:00
|
|
|
pst \
|
2002-11-21 14:52:20 +00:00
|
|
|
raidframe \
|
2001-07-15 04:55:37 +00:00
|
|
|
${_random} \
|
2002-11-08 19:34:26 +00:00
|
|
|
rc \
|
2003-01-15 20:06:38 +00:00
|
|
|
rc4 \
|
Take the support for the 8139C+/8169/8169S/8110S chips out of the
rl(4) driver and put it in a new re(4) driver. The re(4) driver shares
the if_rlreg.h file with rl(4) but is a separate module. (Ultimately
I may change this. For now, it's convenient.)
rl(4) has been modified so that it will never attach to an 8139C+
chip, leaving it to re(4) instead. Only re(4) has the PCI IDs to
match the 8169/8169S/8110S gigE chips. if_re.c contains the same
basic code that was originally bolted onto if_rl.c, with the
following updates:
- Added support for jumbo frames. Currently, there seems to be
a limit of approximately 6200 bytes for jumbo frames on transmit.
(This was determined via experimentation.) The 8169S/8110S chips
apparently are limited to 7.5K frames on transmit. This may require
some more work, though the framework to handle jumbo frames on RX
is in place: the re_rxeof() routine will gather up frames than span
multiple 2K clusters into a single mbuf list.
- Fixed bug in re_txeof(): if we reap some of the TX buffers,
but there are still some pending, re-arm the timer before exiting
re_txeof() so that another timeout interrupt will be generated, just
in case re_start() doesn't do it for us.
- Handle the 'link state changed' interrupt
- Fix a detach bug. If re(4) is loaded as a module, and you do
tcpdump -i re0, then you do 'kldunload if_re,' the system will
panic after a few seconds. This happens because ether_ifdetach()
ends up calling the BPF detach code, which notices the interface
is in promiscuous mode and tries to switch promisc mode off while
detaching the BPF listner. This ultimately results in a call
to re_ioctl() (due to SIOCSIFFLAGS), which in turn calls re_init()
to handle the IFF_PROMISC flag change. Unfortunately, calling re_init()
here turns the chip back on and restarts the 1-second timeout loop
that drives re_tick(). By the time the timeout fires, if_re.ko
has been unloaded, which results in a call to invalid code and
blows up the system.
To fix this, I cleared the IFF_UP flag before calling ether_ifdetach(),
which stops the ioctl routine from trying to reset the chip.
- Modified comments in re_rxeof() relating to the difference in
RX descriptor status bit layout between the 8139C+ and the gigE
chips. The layout is different because the frame length field
was expanded from 12 bits to 13, and they got rid of one of the
status bits to make room.
- Add diagnostic code (re_diag()) to test for the case where a user
has installed a broken 32-bit 8169 PCI NIC in a 64-bit slot. Some
NICs have the REQ64# and ACK64# lines connected even though the
board is 32-bit only (in this case, they should be pulled high).
This fools the chip into doing 64-bit DMA transfers even though
there is no 64-bit data path. To detect this, re_diag() puts the
chip into digital loopback mode and sets the receiver to promiscuous
mode, then initiates a single 64-byte packet transmission. The
frame is echoed back to the host, and if the frame contents are
intact, we know DMA is working correctly, otherwise we complain
loudly on the console and abort the device attach. (At the moment,
I don't know of any way to work around the problem other than
physically modifying the board, so until/unless I can think of a
software workaround, this will have do to.)
- Created re(4) man page
- Modified rlphy.c to allow re(4) to attach as well as rl(4).
Note that this code works for the sample 8169/Marvell 88E1000 NIC
that I have, but probably won't work for the 8169S/8110S chips.
RealTek has sent me some sample NICs, but they haven't arrived yet.
I will probably need to add an rlgphy driver to handle the on-board
PHY in the 8169S/8110S (it needs special DSP initialization).
2003-09-08 02:11:25 +00:00
|
|
|
re \
|
2001-07-15 04:55:37 +00:00
|
|
|
rl \
|
|
|
|
rp \
|
2003-05-03 10:16:56 +00:00
|
|
|
rue \
|
2003-04-13 06:27:13 +00:00
|
|
|
sbsh \
|
2003-06-23 20:52:03 +00:00
|
|
|
scd \
|
2001-07-15 04:55:37 +00:00
|
|
|
sf \
|
|
|
|
sis \
|
|
|
|
sk \
|
|
|
|
sn \
|
|
|
|
snp \
|
|
|
|
ste \
|
|
|
|
sym \
|
|
|
|
sysvipc \
|
|
|
|
ti \
|
|
|
|
tl \
|
2002-10-13 18:44:26 +00:00
|
|
|
trm \
|
2002-10-21 00:38:18 +00:00
|
|
|
twe \
|
2001-07-15 04:55:37 +00:00
|
|
|
tx \
|
2001-07-23 20:44:54 +00:00
|
|
|
txp \
|
2003-09-06 23:23:26 +00:00
|
|
|
uart \
|
2002-10-20 20:35:14 +00:00
|
|
|
ubsa \
|
2002-10-04 20:42:36 +00:00
|
|
|
ubsec \
|
2002-03-18 18:23:42 +00:00
|
|
|
ucom \
|
2001-07-15 04:55:37 +00:00
|
|
|
udbp \
|
2002-04-14 16:36:49 +00:00
|
|
|
udf \
|
2003-11-07 09:38:05 +00:00
|
|
|
udf_iconv \
|
2002-10-21 00:38:18 +00:00
|
|
|
ufm \
|
2002-08-11 23:32:33 +00:00
|
|
|
uftdi \
|
2001-07-15 04:55:37 +00:00
|
|
|
ugen \
|
|
|
|
uhid \
|
|
|
|
ukbd \
|
|
|
|
ulpt \
|
|
|
|
umapfs \
|
|
|
|
umass \
|
2003-06-28 05:46:16 +00:00
|
|
|
umct \
|
2001-07-15 04:55:37 +00:00
|
|
|
umodem \
|
|
|
|
ums \
|
|
|
|
unionfs \
|
2002-03-18 18:23:42 +00:00
|
|
|
uplcom \
|
2001-07-15 04:55:37 +00:00
|
|
|
urio \
|
|
|
|
usb \
|
2000-10-25 10:34:38 +00:00
|
|
|
uscanner \
|
2003-06-12 14:28:32 +00:00
|
|
|
utopia \
|
2002-07-30 17:44:28 +00:00
|
|
|
uvisor \
|
2002-03-18 18:23:42 +00:00
|
|
|
uvscom \
|
2001-07-15 04:55:37 +00:00
|
|
|
vpo \
|
|
|
|
vr \
|
|
|
|
vx \
|
|
|
|
wb \
|
2003-01-15 20:06:38 +00:00
|
|
|
wlan \
|
2001-07-15 04:55:37 +00:00
|
|
|
xl
|
1999-11-22 03:48:33 +00:00
|
|
|
|
2003-06-24 13:35:46 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha"
|
2003-06-23 22:01:01 +00:00
|
|
|
.if defined(WANT_EXT2FS_MODULE) || defined(ALL_MODULES)
|
2002-10-21 00:38:18 +00:00
|
|
|
SUBDIR+=ext2fs
|
2002-10-01 19:05:18 +00:00
|
|
|
.endif
|
2003-06-24 13:35:46 +00:00
|
|
|
.endif
|
2002-10-01 19:05:18 +00:00
|
|
|
|
2003-06-23 22:01:01 +00:00
|
|
|
.if !defined(NO_IPFILTER) || defined(ALL_MODULES)
|
2002-03-21 09:15:39 +00:00
|
|
|
SUBDIR+=ipfilter
|
|
|
|
.endif
|
|
|
|
|
2002-10-21 00:38:18 +00:00
|
|
|
.if ${MACHINE_ARCH} != "sparc64"
|
|
|
|
SUBDIR+=syscons
|
|
|
|
.endif
|
|
|
|
|
1998-11-04 17:15:07 +00:00
|
|
|
# XXX some of these can move to the general case when de-i386'ed
|
2002-09-26 05:54:24 +00:00
|
|
|
# XXX some of these can move now, but are untested on other architectures.
|
2002-11-07 15:01:12 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2002-11-08 20:04:38 +00:00
|
|
|
SUBDIR+=3dfx \
|
2003-02-13 21:13:10 +00:00
|
|
|
agp \
|
2002-11-08 20:04:38 +00:00
|
|
|
aic \
|
2003-06-28 08:01:27 +00:00
|
|
|
amd \
|
2002-09-07 01:31:38 +00:00
|
|
|
aout \
|
2002-10-21 00:38:18 +00:00
|
|
|
apm \
|
2001-07-15 04:55:37 +00:00
|
|
|
ar \
|
2002-01-08 20:03:13 +00:00
|
|
|
arcnet \
|
2003-06-28 06:18:37 +00:00
|
|
|
ath_hal \
|
2002-12-08 17:59:44 +00:00
|
|
|
awi \
|
2001-07-15 04:55:37 +00:00
|
|
|
bktr \
|
|
|
|
coff \
|
2003-03-09 10:12:58 +00:00
|
|
|
drm \
|
2002-11-06 22:03:53 +00:00
|
|
|
ed \
|
2003-03-29 13:42:20 +00:00
|
|
|
elink \
|
2001-12-20 17:55:49 +00:00
|
|
|
em \
|
2002-09-26 05:54:24 +00:00
|
|
|
ep \
|
2001-09-02 06:43:45 +00:00
|
|
|
fe \
|
2002-06-03 09:13:22 +00:00
|
|
|
hfa \
|
2003-06-14 20:21:35 +00:00
|
|
|
i2c \
|
2001-07-15 04:55:37 +00:00
|
|
|
ibcs2 \
|
2003-03-29 13:40:41 +00:00
|
|
|
ie \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
linprocfs \
|
2001-10-19 05:04:02 +00:00
|
|
|
linux \
|
2002-11-06 22:56:57 +00:00
|
|
|
lnc \
|
2003-02-27 11:31:08 +00:00
|
|
|
ncp \
|
2002-10-21 00:38:18 +00:00
|
|
|
ncv \
|
2001-10-19 05:04:02 +00:00
|
|
|
netgraph \
|
2002-10-21 00:38:18 +00:00
|
|
|
nsp \
|
2003-02-27 11:31:08 +00:00
|
|
|
nwfs \
|
2001-07-15 04:55:37 +00:00
|
|
|
oltr \
|
2002-09-26 05:54:24 +00:00
|
|
|
pccard \
|
2003-08-10 01:35:36 +00:00
|
|
|
pcfclock \
|
2002-10-21 00:38:18 +00:00
|
|
|
pecoff \
|
2001-07-15 04:55:37 +00:00
|
|
|
ray \
|
2003-07-21 21:48:45 +00:00
|
|
|
safe \
|
2001-11-21 22:29:35 +00:00
|
|
|
sbni \
|
2001-12-15 12:44:38 +00:00
|
|
|
scsi_low \
|
2001-12-02 09:01:35 +00:00
|
|
|
smbfs \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
sound \
|
2003-03-29 09:59:49 +00:00
|
|
|
speaker \
|
2001-07-15 04:55:37 +00:00
|
|
|
splash \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
sppp \
|
2001-07-15 04:55:37 +00:00
|
|
|
sr \
|
2001-12-15 12:44:38 +00:00
|
|
|
stg \
|
2001-07-15 04:55:37 +00:00
|
|
|
streams \
|
2002-05-29 04:51:14 +00:00
|
|
|
vinum \
|
2002-02-20 15:00:34 +00:00
|
|
|
wi \
|
|
|
|
xe
|
1994-09-16 20:24:29 +00:00
|
|
|
|
2002-11-07 15:01:12 +00:00
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
SUBDIR+=aac \
|
2003-12-03 21:13:06 +00:00
|
|
|
acpi \
|
2002-11-07 15:01:12 +00:00
|
|
|
asr \
|
2003-03-29 15:20:45 +00:00
|
|
|
bios \
|
2002-11-07 15:01:12 +00:00
|
|
|
cardbus \
|
|
|
|
cbb \
|
|
|
|
ciss \
|
|
|
|
cm \
|
2003-04-13 01:32:03 +00:00
|
|
|
dpt \
|
2002-11-07 15:01:12 +00:00
|
|
|
el \
|
2003-04-13 01:32:03 +00:00
|
|
|
ex \
|
2002-11-07 15:01:12 +00:00
|
|
|
exca \
|
2003-04-13 01:32:03 +00:00
|
|
|
idt \
|
2002-11-07 15:01:12 +00:00
|
|
|
iir \
|
2003-05-13 11:26:08 +00:00
|
|
|
ips \
|
2002-11-07 15:01:12 +00:00
|
|
|
mly \
|
|
|
|
s3 \
|
|
|
|
vesa
|
2003-09-06 23:23:26 +00:00
|
|
|
|
2002-11-07 15:01:12 +00:00
|
|
|
.elif ${MACHINE} == "pc98"
|
2003-02-03 14:46:26 +00:00
|
|
|
SUBDIR+=canbepm \
|
|
|
|
canbus \
|
2002-09-16 08:32:48 +00:00
|
|
|
pmc \
|
2002-11-07 15:01:12 +00:00
|
|
|
snc
|
|
|
|
.endif
|
2002-09-16 08:32:48 +00:00
|
|
|
.endif
|
|
|
|
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
.if ${MACHINE_ARCH} == "ia64"
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
# Modules not enabled on ia64 (as compared to i386) include:
|
2003-07-22 08:11:17 +00:00
|
|
|
# aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
# nsp oltr pecoff s3 sbni stg vesa
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
SUBDIR+=aic \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
ar \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
arcnet \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
asr \
|
|
|
|
bktr \
|
|
|
|
cardbus \
|
|
|
|
cbb \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
ciss \
|
|
|
|
cm \
|
|
|
|
coff \
|
|
|
|
el \
|
|
|
|
em \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
ep \
|
|
|
|
exca \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
fe \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
hfa \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
iir \
|
|
|
|
mly \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
netgraph \
|
|
|
|
pccard \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
ray \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
rc \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
scsi_low \
|
|
|
|
smbfs \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
sound \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
splash \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
sppp \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
sr \
|
|
|
|
streams \
|
Build the following modules on ia64 as well:
ar, asr, bktr, cardbus, cbb, ep, exca, hea, hfa, ipfilter, lomac,
netgraph, pccard, rc, sound, sppp, vinum.
2002-10-24 07:16:24 +00:00
|
|
|
vinum \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
wi \
|
|
|
|
xe
|
|
|
|
.endif
|
|
|
|
|
1999-12-15 13:14:23 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
2003-02-14 06:33:52 +00:00
|
|
|
SUBDIR+=agp \
|
|
|
|
linprocfs \
|
Build modules on ia64:
o Make the cam, cd9660 lomac and sound modules i386 and alpha
specific due to link problems (@gprel relocation when @ltoff
is required). Once resolved, these can be moved back to the
generic list.
o Build linprocfs only on those architectures that have the
linux module.
o Make the sppp module i386 and alpha specific due to compile
problems (pointers as switch cases). Once resolved, this can
be moved back to the generic list.
o Build all i386 specific modules, with the exception of those
mentioned above as being moved from the generic list to the
i386 list and those with dependencies on the linux module (aac)
or i386 dependent (ar, apm, atspeaker, fpu, gnufpu, ibcs2,
linux, ncv, nsp, netgraph, oltr, pecoff, s3, sbni, stg and
vesa).
o Don't build acpi as a module yet. It most be ported first.
Once ported, it can be added to the ia64 list.
o Don't build ipfilter yet due to compile errors (osreldate.h
not found).
2002-04-19 09:44:50 +00:00
|
|
|
linux \
|
|
|
|
osf1 \
|
|
|
|
sound \
|
2002-05-29 04:51:14 +00:00
|
|
|
sppp \
|
|
|
|
vinum
|
1999-12-15 13:14:23 +00:00
|
|
|
.endif
|
|
|
|
|
2003-01-09 16:37:37 +00:00
|
|
|
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
|
|
|
|
SUBDIR+=gem
|
|
|
|
.endif
|
|
|
|
|
2003-01-08 18:45:04 +00:00
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
2003-01-09 16:37:37 +00:00
|
|
|
SUBDIR+=hme
|
2003-01-08 18:45:04 +00:00
|
|
|
.endif
|
|
|
|
|
2003-06-23 22:01:01 +00:00
|
|
|
.if defined(ALL_MODULES)
|
2003-06-26 08:06:31 +00:00
|
|
|
SUBDIR+=null
|
2003-06-23 22:01:01 +00:00
|
|
|
SUBDIR+=ufs
|
|
|
|
.endif
|
|
|
|
|
2002-02-17 21:00:20 +00:00
|
|
|
.if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
|
2001-04-02 08:52:05 +00:00
|
|
|
SUBDIR=${MODULES_OVERRIDE}
|
|
|
|
.endif
|
|
|
|
|
2003-11-06 08:46:52 +00:00
|
|
|
# pcic -- currently broken and being worked on out of tree.
|
|
|
|
# oldcard -- specialized use for debugging only.
|
|
|
|
# owi -- totally unsupported for debugging only.
|
|
|
|
|
2001-09-21 11:21:06 +00:00
|
|
|
# Calling kldxref(8) for each module is expensive.
|
2003-01-21 05:52:48 +00:00
|
|
|
.if !defined(NO_XREF)
|
2003-03-12 14:32:46 +00:00
|
|
|
.MAKEFLAGS+= -DNO_XREF
|
2001-09-21 11:21:06 +00:00
|
|
|
afterinstall:
|
2002-05-14 07:49:12 +00:00
|
|
|
@if type kldxref >/dev/null 2>&1; then \
|
|
|
|
${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
|
|
|
|
kldxref ${DESTDIR}${KMODDIR}; \
|
|
|
|
fi
|
2001-09-21 11:21:06 +00:00
|
|
|
.endif
|
|
|
|
|
1994-09-16 20:24:29 +00:00
|
|
|
.include <bsd.subdir.mk>
|