1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00
freebsd/sys/modules
Bill Paul 96b50ea387 Throw the switch on the new driver generation/loading mechanism. From
here on in, if_ndis.ko will be pre-built as a module, and can be built
into a static kernel (though it's not part of GENERIC). Drivers are
created using the new ndisgen(8) script, which uses ndiscvt(8) under
the covers, along with a few other tools. The result is a driver module
that can be kldloaded into the kernel.

A driver with foo.inf and foo.sys files will be converted into
foo_sys.ko (and foo_sys.o, for those who want/need to make static
kernels). This module contains all of the necessary info from the
.INF file and the driver binary image, converted into an ELF module.
You can kldload this module (or add it to /boot/loader.conf) to have
it loaded automatically. Any required firmware files can be bundled
into the module as well (or converted/loaded separately).

Also, add a workaround for a problem in NdisMSleep(). During system
bootstrap (cold == 1), msleep() always returns 0 without actually
sleeping. The Intel 2200BG driver uses NdisMSleep() to wait for
the NIC's firmware to come to life, and fails to load if NdisMSleep()
doesn't actually delay. As a workaround, if msleep() (and hence
ndis_thsuspend()) returns 0, use a hard DELAY() to sleep instead).
This is not really the right thing to do, but we can't really do much
else. At the very least, this makes the Intel driver happy.

There are probably other drivers that fail in this way during bootstrap.
Unfortunately, the only workaround for those is to avoid pre-loading
them and kldload them once the system is running instead.
2005-04-24 20:21:22 +00:00
..
3dfx
aac
accf_data
accf_http
acpi Pick up the selectors to use for various kernel segments from assym.s 2005-04-22 09:53:04 +00:00
agp
aha
ahb
aic
aic7xxx
aio
amd
amr
an
aout
apm Rename from apm_bioscall.s to apm_bioscall.S for removing a special rule 2005-04-20 12:28:20 +00:00
ar
arcmsr Add the Areca SATA RAID driver (arcmsr). This supports the ARC-11xx and 12xx 2005-03-31 18:19:55 +00:00
arcnet
arl Use CFLAGS+=. 2005-02-09 11:50:43 +00:00
asr Unbreak buildworld on i386 when MODULES_WITH_WORLD is defined. 2005-03-23 17:13:08 +00:00
ata Connect the atapicam module to the build. 2005-04-05 02:05:01 +00:00
ath
ath_hal
ath_rate_amrr
ath_rate_onoe
ath_rate_sample SampleRate rate control algorithm for the ath driver 2005-03-11 01:39:57 +00:00
aue
auxio Add missing ofw_bus_if.h to SRCS. 2005-02-25 06:59:56 +00:00
awi
axe
bfe
bge
bios
bktr
bridge
cam
canbepm
canbus
cardbus
cbb
cd9660
cd9660_iconv
cdce Add USB Communication Device Class Ethernet driver. Originally written for 2005-03-22 14:52:40 +00:00
ciss
cm
coda
coda5
coff
cp
cpufreq Add a driver for SMI-based SpeedStep. The hardware supports two frequency 2005-04-19 16:38:24 +00:00
crypto just use crypto/rijndael, and nuke opencrypto/rindael.[ch]. 2005-03-11 17:24:46 +00:00
cryptodev
cs
ctau
cue
cx
dc
dcons
dcons_crom
de
digi
dpt
drm Update to DRM CVS as of 2005-04-12, bringing many changes: 2005-04-16 03:44:47 +00:00
dummynet
ed Break out obscure ISA cards into their own files, as well as ne2000 2005-02-09 20:03:40 +00:00
el
elink
em
en
ep eisa attachment is safe to be in this module, both on eisa and 2005-03-17 18:40:37 +00:00
esp
ex
exca
ext2fs Use vfs_hash() instead of home-rolled 2005-03-14 13:30:06 +00:00
fatm
fdc
fdescfs
fe
firewire
fxp
gem
geom
harp
hatm
hfa
hifn
hme
hpfs - Fix the hpfs build, hpfs_hash.c was removed from the repository. 2005-03-28 09:41:25 +00:00
hptmv Move all of the hptmv files to /sys/dev/hptmv so that they won't be mistaken 2005-03-02 05:14:28 +00:00
hwpmc Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities 2005-04-19 04:01:25 +00:00
i2c
ibcs2
ichwd
ida
idt
ie
if_disc
if_ef
if_faith
if_gif
if_gre
if_ndis Throw the switch on the new driver generation/loading mechanism. From 2005-04-24 20:21:22 +00:00
if_ppp
if_sl
if_stf
if_tap
if_tun
if_vlan
iir
io
ip6fw
ip_mroute_mod
ipdivert
ipfilter
ipfw
ips
ipw Initial import of ipw, iwi, ral and ural drivers: 2005-04-18 18:47:38 +00:00
isp
ispfw
iwi Initial import of ipw, iwi, ral and ural drivers: 2005-04-18 18:47:38 +00:00
ixgb
joy
kue
lge
libiconv
libmbpool
libmchain
linprocfs
linux
lnc
lpt
mac_biba
mac_bsdextended
mac_ifoff
mac_lomac
mac_mls
mac_none
mac_partition
mac_portacl
mac_seeotheruids
mac_stub
mac_test
mcd
md
mem
mii
mlx
mly
mpt
msdosfs
msdosfs_iconv
mse
my
ncp
ncv
ndis Create new i386 windows/bsd thunking layer, similar to the amd64 thunking 2005-04-11 02:02:35 +00:00
netgraph Connect ng_source(4) to the build. 2005-02-12 17:04:21 +00:00
nfs4client
nfsclient
nfsserver
nge
nmdm
nsp
ntfs
ntfs_iconv
nullfs
nve Due to a CVS misfire, I ended up committing the wrong version of this. 2005-03-12 08:02:06 +00:00
nwfs
oldcard
oltr - Split out PCI support. 2005-02-03 23:01:01 +00:00
osf1
owi
patm
pccard
pcfclock
pcn
pecoff
pf
plip
pmc
portalfs
ppbus
ppi
pps
procfs
pseudofs Add PSEUDOFS_TRACE option. 2005-03-14 16:04:27 +00:00
pst
puc Create a puc module. Not connected to the build until I can test it on 2005-04-22 07:43:27 +00:00
ral Initial import of ipw, iwi, ral and ural drivers: 2005-04-18 18:47:38 +00:00
random
ray
rc
rc4
re
rl
rndtest
rp
rue
s3
safe
sbni
sbsh
scd
scsi_low
sem
sf
sio
sis
sk
smbfs
sn
snc
snp
sound
speaker
splash
sppp
sr
ste
stg
streams
svr4
sym
syscons
sysvipc Fix the standalone module build. 2005-02-09 08:35:24 +00:00
ti
tl
trm
twa The latest release of the FreeBSD driver (twa) for 2005-04-12 22:07:11 +00:00
twe
tx
txp
uart
ubsa
ubsec
ubser
ucom
ucycom
udav
udbp
udf
udf_iconv
ufm
ufs Remove ufs_ihash.c here as well. 2005-03-14 10:23:34 +00:00
uftdi
ugen
uhid
ukbd
ulpt
umapfs
umass
umct
umodem
ums
unionfs
uplcom
ural Initial import of ipw, iwi, ral and ural drivers: 2005-04-18 18:47:38 +00:00
urio
usb
uscanner
utopia The chip specific functions have been split out in their own 2005-02-25 09:49:29 +00:00
uvisor
uvscom
vesa
vge
vkbd
vpo
vr
vx
wb
wi
wlan
wlan_acl
wlan_ccmp
wlan_tkip
wlan_wep
wlan_xauth
xe
xl
zlib
Makefile Throw the switch on the new driver generation/loading mechanism. From 2005-04-24 20:21:22 +00:00
Makefile.inc