NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

I do not understand modstat command (bwfm driver)



Hello,

I am using NetBSD on my RaspberryPi Zero W board.

raspa-netbsd# uname -a
NetBSD raspa-netbsd 10.99.9 NetBSD 10.99.9 (RPI) #0: Wed Sep 27 09:44:10 UTC 2023 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI

I am using the bwfm wireless driver:

raspa-netbsd# ifconfig
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33176
	status: active
	inet6 ::1/128 flags 0x20<NODAD>
	inet6 fe80::1%lo0/64 flags 0 scopeid 0x1
	inet 127.0.0.1/8 flags 0
bwfm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ssid MiFibra-3422 nwkey 65536:"",0x4a97636f1d8c7a070d1fe6e79f88cada,"",""
	powersave off
	bssid 60:8d:26:32:34:24 chan 1
	address: b8:27:eb:ed:85:47
	media: IEEE802.11 autoselect (HT mode 11ng)
	status: active
	inet6 fe80::ba27:ebff:feed:8547%bwfm0/64 flags 0 scopeid 0x2
	inet 192.168.1.230/24 broadcast 192.168.1.255 flags 0
raspa-netbsd#


raspa-netbsd# modstat
NAME                     CLASS    SOURCE   FLAG  REFS    SIZE REQUIRES
adiantum                 misc     builtin  -        0       - aes,chacha
aes                      misc     builtin  -        2       - -
aes_ccm                  misc     builtin  -        0       - aes
aio                      misc     builtin  -        0       - -
au8522                   driver   builtin  -        1       - i2cexec
audio                    driver   builtin  -        3       - -
auvitek                  driver   builtin  -        0       - au8522,xc5k
blake2s                  misc     builtin  -        0       - -
blowfish                 misc     builtin  -        2       - -
bpf                      driver   builtin  -        1       - bpf_filter
bpf_filter               misc     builtin  -        2       - -
bufq_disksort            bufq     builtin  -        0       - -
bufq_fcfs                bufq     builtin  -        2       - -
bufq_priocscan           bufq     builtin  -        0       - -
camellia                 misc     builtin  -        1       - -
cast128                  misc     builtin  -        1       - -
cd9660                   vfs      builtin  -        0       - -
cgd driver builtin - 0 - blowfish,des,dk_subr,bufq_fcfs
chacha                   misc     builtin  -        1       - -
cir                      driver   builtin  -        1       - ir
clockctl                 driver   builtin  -        0       - -
compat_100               exec     builtin  -        2       - -
compat_43 exec builtin - 1 - compat_sysctl_09_43,compat_util,compat_60
compat_60                exec     builtin  -        2       - compat_70
compat_70                exec     builtin  -        1       - compat_80
compat_80                exec     builtin  -        3       - compat_90
compat_90                exec     builtin  -        2       - compat_100
compat_netbsd32 exec builtin - 9 - ksem,compat_util,exec_elf32 compat_netbsd32_100 exec builtin - 1 - compat_netbsd32,compat_100 compat_netbsd32_43 exec builtin - 0 - compat_netbsd32,compat_43 compat_netbsd32_60 exec builtin - 0 - compat_netbsd32_80,compat_60 compat_netbsd32_80 exec builtin - 1 - compat_netbsd32_90,compat_80 compat_netbsd32_90 exec builtin - 1 - compat_netbsd32_100,compat_90 compat_netbsd32_coredump misc builtin - 0 - compat_netbsd32,compat_netbsd32_ptrace,coredump compat_netbsd32_mqueue exec builtin - 0 - mqueue,compat_netbsd32 compat_netbsd32_nfssrv exec builtin - 0 - nfsserver,compat_netbsd32 compat_netbsd32_ptrace exec builtin - 1 - compat_netbsd32,ptrace_common compat_netbsd32_quota exec builtin - 0 - compat_netbsd32 compat_netbsd32_raid exec builtin - 0 - raid,compat_netbsd32 compat_netbsd32_sysvipc exec builtin - 0 - compat_netbsd32,sysv_ipc
compat_raid_80           exec     builtin  -        0       - raid,compat_80
compat_sysctl_09_43      exec     builtin  -        1       - -
compat_util              misc     builtin  -        2       - -
cons                     driver   builtin  -        0       - -
coredump                 misc     builtin  -        1       - -
crypto                   driver   builtin  -        0       - opencrypto
des                      misc     builtin  -        2       - -
dk_subr                  misc     builtin  -        3       - -
drvctl                   driver   builtin  -        0       - -
dtv                      driver   builtin  -        0       - -
dtv_math                 misc     builtin  -        1       - -
efs                      vfs      builtin  -        0       - -
emdtv driver builtin - 0 - cir,lg3303,xc3028
exec_aout                exec     builtin  -        0       - -
exec_elf32               exec     builtin  -        1       - -
exec_script              exec     builtin  -        0       - -
ext2fs                   vfs      builtin  -        0       - ufs
extensions               secmodel builtin  -        1       - -
fdesc                    vfs      builtin  -        0       - -
ffs                      vfs      builtin  -        1       - ufs,wapbl
gpio                     driver   builtin  -        0       - -
i2c_bitbang              misc     builtin  -        1       - -
i2c_subr                 exec     builtin  -        1       - -
i2cexec                  misc     builtin  -        5       - -
if_athn_usb              driver   builtin  -        0       - -
if_aue                   driver   builtin  -        0       - usbnet
if_axe                   driver   builtin  -        0       - usbnet
if_axen                  driver   builtin  -        0       - usbnet
if_cdce                  driver   builtin  -        0       - usbnet
if_cue                   driver   builtin  -        0       - usbnet
if_gif                   driver   builtin  -        0       - ip_ecn
if_gre                   driver   builtin  -        0       - -
if_kue                   driver   builtin  -        0       - usbnet
if_loop                  driver   builtin  -        0       - -
if_mue                   driver   builtin  -        0       - usbnet
if_npflog                driver   builtin  -        0       - -
if_ppp driver builtin - 2 - bpf_filter,slcompress
if_pppoe                 driver   builtin  -        0       - sppp_subr
if_rum                   driver   builtin  -        0       - -
if_run                   driver   builtin  -        0       - -
if_smsc                  driver   builtin  -        0       - usbnet
if_tap                   driver   builtin  -        0       - -
if_tun                   driver   builtin  -        0       - -
if_udav                  driver   builtin  -        0       - usbnet
if_upl                   driver   builtin  -        0       - usbnet
if_ure                   driver   builtin  -        0       - usbnet
if_url                   driver   builtin  -        0       - usbnet
if_urndis                driver   builtin  -        0       - usbnet
if_urtw                  driver   builtin  -        0       - -
if_urtwn                 driver   builtin  -        0       - -
if_vlan                  driver   builtin  -        0       - -
iic driver builtin - 0 - i2cexec,i2c_bitbang,i2c_subr
ip_ecn                   misc     builtin  -        1       - -
ir                       driver   builtin  -        1       - -
irmce                    driver   builtin  -        0       - -
kernfs                   vfs      builtin  -        0       - -
ksem                     misc     builtin  -        1       - -
layerfs                  misc     builtin  -        3       - -
ld                       driver   builtin  -        1       - dk_subr
ld_sdmmc                 driver   builtin  -        0       - ld
lg3303 driver builtin - 1 - i2cexec,dtv_math
mfs                      vfs      builtin  -        0       - ffs
midi                     driver   builtin  -        0       - midi_seq
midi_seq                 driver   builtin  -        1       - audio
mqueue                   misc     builtin  -        1       - -
msdos                    vfs      builtin  -        0       - -
netbt                    driver   builtin  -        0       - -
nfs                      vfs      builtin  -        1       - -
nfsserver                misc     builtin  -        1       - nfs
npf                      misc     builtin  -        4       - bpf
npf_alg_icmp             misc     builtin  -        0       - npf
npf_ext_log              misc     builtin  -        0       - npf
npf_ext_normalize        misc     builtin  -        0       - npf
npf_ext_rndblock         misc     builtin  -        0       - npf
ntfs                     vfs      builtin  -        0       - -
null                     vfs      builtin  -        0       - layerfs
opencrypto               misc     builtin  -        2       - -
overlay                  vfs      builtin  -        0       - layerfs
pad                      driver   builtin  -        0       - audio
ppp_bsdcomp              misc     builtin  -        0       - if_ppp
ppp_deflate              misc     builtin  -        0       - zlib,if_ppp
procfs                   vfs      builtin  -        0       - ptrace_common
pseye                    driver   builtin  -        0       - -
ptrace                   exec     builtin  -        0       - ptrace_common
ptrace_common            exec     builtin  -        3       - -
ptyfs                    vfs      builtin  -        0       - -
puffs                    vfs      builtin  -        0       - putter
putter                   driver   builtin  -        1       - -
raid driver builtin - 2 - dk_subr,bufq_fcfs
scsi_subr                exec     builtin  -        0       - -
secmodel_bsd44 secmodel builtin - 0 - suser,securelevel,extensions
securelevel              secmodel builtin  -        1       - -
skipjack                 misc     builtin  -        1       - -
slcompress               misc     builtin  -        1       - -
spkr                     driver   builtin  -        0       - audio
sppp_subr                misc     builtin  -        1       - -
suser                    secmodel builtin  -        1       - -
swcrypto driver builtin - 0 - opencrypto,zlib,blowfish,des,cast128,camellia,skipjack
swwdog                   driver   builtin  -        0       - sysmon_wdog
sysmon                   driver   builtin  -        3       - -
sysmon_envsys driver builtin - 0 - sysmon,sysmon_taskq,sysmon_power
sysmon_power             driver   builtin  -        1       - sysmon
sysmon_taskq             misc     builtin  -        1       - -
sysmon_wdog              driver   builtin  -        1       - sysmon
sysv_ipc                 exec     builtin  -        1       - -
tmpfs                    vfs      builtin  -        0       - -
ualea                    driver   builtin  -        0       - -
ufs                      misc     builtin  -        2       - wapbl
ugen                     driver   builtin  -        0       - -
umap                     vfs      builtin  -        0       - layerfs
union                    vfs      builtin  -        0       - -
usbnet                   misc     builtin  -       13       - -
vnd                      driver   builtin  -        0       - zlib
wapbl                    vfs      builtin  -        2       - -
xc3028                   driver   builtin  -        1       - i2cexec
xc5k                     driver   builtin  -        1       - i2cexec
zlib                     misc     builtin  -        3       - -
raspa-netbsd#

Just curious: why I cannot see bwfm driver in modstat output?

Thanks.
Ramiro.


Home | Main Index | Thread Index | Old Index