Fix some modules to export more used symbols
and remove non-present symbols that are now reported by kmod_syms.awk. Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32878
This commit is contained in:
parent
3850d1837b
commit
5bb3134a8c
@ -52,4 +52,6 @@ cleanfirmware: clean
|
|||||||
CLEANFILES= ${GENSRCS}
|
CLEANFILES= ${GENSRCS}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -4,4 +4,6 @@
|
|||||||
KMOD= alq
|
KMOD= alq
|
||||||
SRCS= opt_mac.h vnode_if.h kern_alq.c
|
SRCS= opt_mac.h vnode_if.h kern_alq.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= amdsmn
|
KMOD= amdsmn
|
||||||
SRCS= amdsmn.c bus_if.h device_if.h pci_if.h
|
SRCS= amdsmn.c bus_if.h device_if.h pci_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -16,4 +16,6 @@ SRCS= amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h
|
|||||||
# Debugging
|
# Debugging
|
||||||
#CFLAGS+= -DAMR_DEBUG=3
|
#CFLAGS+= -DAMR_DEBUG=3
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD= ata
|
|||||||
SRCS= ata-all.c ata_if.c ata-lowlevel.c
|
SRCS= ata-all.c ata_if.c ata-lowlevel.c
|
||||||
SRCS+= ata_if.h bus_if.h device_if.h opt_cam.h pci_if.h
|
SRCS+= ata_if.h bus_if.h device_if.h opt_cam.h pci_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -8,4 +8,6 @@ KMOD= atapci
|
|||||||
SRCS= ata-pci.c ata-dma.c ata-sata.c
|
SRCS= ata-pci.c ata-dma.c ata-sata.c
|
||||||
SRCS+= ata_if.h bus_if.h device_if.h pci_if.h
|
SRCS+= ata_if.h bus_if.h device_if.h pci_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD= atasiliconimage
|
|||||||
SRCS= ata-siliconimage.c
|
SRCS= ata-siliconimage.c
|
||||||
SRCS+= ata_if.h bus_if.h device_if.h pci_if.h
|
SRCS+= ata_if.h bus_if.h device_if.h pci_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -44,4 +44,6 @@ CFLAGS+= -I. -I${SRCTOP}/sys/contrib/dev/ath/ath_hal/
|
|||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
CWARNFLAGS.ah_regdomain.c= ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW}
|
CWARNFLAGS.ah_regdomain.c= ${NO_WSHIFT_COUNT_NEGATIVE} ${NO_WSHIFT_COUNT_OVERFLOW}
|
||||||
|
@ -10,4 +10,6 @@ SRCS+= bus_if.h \
|
|||||||
backlight_if.h \
|
backlight_if.h \
|
||||||
backlight_if.c
|
backlight_if.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -71,5 +71,7 @@ SUBDIR= bcma \
|
|||||||
siba \
|
siba \
|
||||||
siba_bhndb
|
siba_bhndb
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
@ -15,4 +15,6 @@ SRCS+= bhnd_bus_if.h \
|
|||||||
|
|
||||||
SRCS+= device_if.h bus_if.h pci_if.h
|
SRCS+= device_if.h bus_if.h pci_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= bridgestp
|
KMOD= bridgestp
|
||||||
SRCS= bridgestp.c
|
SRCS= bridgestp.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -28,4 +28,6 @@ SRCS+= opt_cam.h
|
|||||||
|
|
||||||
MFILES= kern/bus_if.m kern/device_if.m
|
MFILES= kern/bus_if.m kern/device_if.m
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -44,4 +44,6 @@ SRCS+= fastlz.c
|
|||||||
|
|
||||||
CFLAGS+= -I${CXGBE}
|
CFLAGS+= -I${CXGBE}
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -17,4 +17,6 @@ opt_ddb.h:
|
|||||||
|
|
||||||
CFLAGS+= -I${SRCTOP}/sys
|
CFLAGS+= -I${SRCTOP}/sys
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -17,4 +17,6 @@ efirt_support.o: efirt_support.S assym.inc
|
|||||||
${.IMPSRC} -o ${.TARGET}
|
${.IMPSRC} -o ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD= evdev
|
|||||||
SRCS= cdev.c evdev.c evdev_mt.c evdev_utils.c
|
SRCS= cdev.c evdev.c evdev_mt.c evdev_utils.c
|
||||||
SRCS+= opt_evdev.h bus_if.h device_if.h
|
SRCS+= opt_evdev.h bus_if.h device_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= exca
|
KMOD= exca
|
||||||
SRCS= exca.c device_if.h bus_if.h power_if.h card_if.h pccarddevs.h
|
SRCS= exca.c device_if.h bus_if.h power_if.h card_if.h pccarddevs.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -11,4 +11,6 @@ SRCS = bus_if.h device_if.h pci_if.h \
|
|||||||
iec13213.h iec68113.h \
|
iec13213.h iec68113.h \
|
||||||
fwcrom.c fwdev.c fwmem.c fwmem.h fwdma.c fwdma.h
|
fwcrom.c fwdev.c fwmem.c fwmem.h fwdma.c fwdma.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= firmware
|
KMOD= firmware
|
||||||
SRCS= subr_firmware.c vnode_if.h
|
SRCS= subr_firmware.c vnode_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= geom_flashmap
|
KMOD= geom_flashmap
|
||||||
SRCS= geom_flashmap.c
|
SRCS= geom_flashmap.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -42,4 +42,6 @@ SRCS+= ofw_gpiobus.c
|
|||||||
|
|
||||||
CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/
|
CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -7,4 +7,6 @@ SRCS= hconf.c
|
|||||||
SRCS+= opt_hid.h
|
SRCS+= opt_hid.h
|
||||||
SRCS+= bus_if.h device_if.h
|
SRCS+= bus_if.h device_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -7,4 +7,6 @@ SRCS= hid.c hid_if.c
|
|||||||
SRCS+= opt_hid.h
|
SRCS+= opt_hid.h
|
||||||
SRCS+= bus_if.h device_if.h hid_if.h
|
SRCS+= bus_if.h device_if.h hid_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD= hidbus
|
|||||||
SRCS= hidbus.c
|
SRCS= hidbus.c
|
||||||
SRCS+= bus_if.h device_if.h hid_if.h
|
SRCS+= bus_if.h device_if.h hid_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -7,4 +7,6 @@ SRCS= hidmap.c
|
|||||||
SRCS+= opt_hid.h
|
SRCS+= opt_hid.h
|
||||||
SRCS+= bus_if.h device_if.h
|
SRCS+= bus_if.h device_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -35,4 +35,6 @@ vmbus_vector.o:
|
|||||||
CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \
|
CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \
|
||||||
-I${SRCTOP}/sys/dev/hyperv/vmbus
|
-I${SRCTOP}/sys/dev/hyperv/vmbus
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -10,4 +10,6 @@ KMOD = iicbb
|
|||||||
SRCS = device_if.h bus_if.h iicbus_if.h \
|
SRCS = device_if.h bus_if.h iicbus_if.h \
|
||||||
iicbb_if.h iicbb_if.c iicbb.c ${ofw_bus_if} opt_platform.h
|
iicbb_if.h iicbb_if.c iicbb.c ${ofw_bus_if} opt_platform.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -24,4 +24,6 @@ SRCS+= acpi_iicbus.c opt_acpi.h acpi_if.h
|
|||||||
SRCS+= ofw_iicbus.c ofw_bus_if.h
|
SRCS+= ofw_iicbus.c ofw_bus_if.h
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -16,4 +16,6 @@ SRCS+= \
|
|||||||
SRCS+= ofw_bus_if.h
|
SRCS+= ofw_bus_if.h
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@ KMOD = smbus
|
|||||||
SRCS = device_if.h bus_if.h smbus_if.h smbus_if.c \
|
SRCS = device_if.h bus_if.h smbus_if.h smbus_if.c \
|
||||||
smbconf.h smbconf.c smbus.h smbus.c
|
smbconf.h smbconf.c smbus.h smbus.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -52,6 +52,8 @@ CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
|||||||
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
||||||
CFLAGS+= -DINET6 -DINET -DCONFIG_INFINIBAND_USER_MEM
|
CFLAGS+= -DINET6 -DINET -DCONFIG_INFINIBAND_USER_MEM
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
|
||||||
CWARNFLAGS+= -Wno-cast-qual -Wno-pointer-arith -Wno-redundant-decls
|
CWARNFLAGS+= -Wno-cast-qual -Wno-pointer-arith -Wno-redundant-decls
|
||||||
|
@ -10,4 +10,6 @@ SRCS= if_gif.c opt_inet.h opt_inet6.h
|
|||||||
SRCS.INET=in_gif.c
|
SRCS.INET=in_gif.c
|
||||||
SRCS.INET6=in6_gif.c
|
SRCS.INET6=in6_gif.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -7,4 +7,6 @@ SRCS= if_infiniband.c \
|
|||||||
opt_inet.h \
|
opt_inet.h \
|
||||||
opt_inet6.h
|
opt_inet6.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -11,4 +11,6 @@ SRCS+= ifdi_if.c
|
|||||||
SRCS+= device_if.h bus_if.h pci_if.h pci_iov_if.h ifdi_if.h
|
SRCS+= device_if.h bus_if.h pci_if.h pci_iov_if.h ifdi_if.h
|
||||||
SRCS+= opt_acpi.h opt_inet.h opt_inet6.h opt_sched.h
|
SRCS+= opt_acpi.h opt_inet.h opt_inet6.h opt_sched.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -19,4 +19,6 @@ CFLAGS+= -DIPFIREWALL -I${SRCTOP}/sys/contrib/ck/include
|
|||||||
#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
|
#CFLAGS+= -DIPFIREWALL_DEFAULT_TO_ACCEPT
|
||||||
#
|
#
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -22,4 +22,6 @@ CFLAGS+=-DICL_KERNEL_PROXY
|
|||||||
|
|
||||||
MFILES= kern/bus_if.m kern/device_if.m dev/iscsi/icl_conn_if.m
|
MFILES= kern/bus_if.m kern/device_if.m dev/iscsi/icl_conn_if.m
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -22,4 +22,6 @@ SRCS += i40e_common.c i40e_nvm.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c i40e
|
|||||||
# CFLAGS += -DIXL_IW
|
# CFLAGS += -DIXL_IW
|
||||||
# SRCS += ixl_iw.c
|
# SRCS += ixl_iw.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -51,4 +51,6 @@ gssd_xdr.c: $S/kgssapi/gssd.x
|
|||||||
gssd_clnt.c: $S/kgssapi/gssd.x
|
gssd_clnt.c: $S/kgssapi/gssd.x
|
||||||
RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/kgssapi/gssd.x | grep -v string.h > gssd_clnt.c
|
RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/kgssapi/gssd.x | grep -v string.h > gssd_clnt.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -55,4 +55,6 @@ rpctlssd_xdr.c: $S/rpc/rpcsec_tls/rpctlssd.x
|
|||||||
rpctlssd_clnt.c: $S/rpc/rpcsec_tls/rpctlssd.x
|
rpctlssd_clnt.c: $S/rpc/rpcsec_tls/rpctlssd.x
|
||||||
RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/rpc/rpcsec_tls/rpctlssd.x | grep -v string.h > rpctlssd_clnt.c
|
RPCGEN_CPP=${CPP:Q} rpcgen -lM $S/rpc/rpcsec_tls/rpctlssd.x | grep -v string.h > rpctlssd_clnt.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= libalias
|
KMOD= libalias
|
||||||
SRCS= alias.c alias_db.c alias_proxy.c alias_util.c alias_mod.c alias_sctp.c
|
SRCS= alias.c alias_db.c alias_proxy.c alias_util.c alias_mod.c alias_sctp.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -113,4 +113,6 @@ linux${SFX}_genassym.o: offset.inc
|
|||||||
.warning Building Linuxulator outside of a kernel does not make sense
|
.warning Building Linuxulator outside of a kernel does not make sense
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -85,4 +85,6 @@ linux_genassym.o: offset.inc
|
|||||||
.warning Building Linuxulator outside of a kernel does not make sense
|
.warning Building Linuxulator outside of a kernel does not make sense
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -9,8 +9,6 @@ SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
|
|||||||
|
|
||||||
EXPORT_SYMS=
|
EXPORT_SYMS=
|
||||||
EXPORT_SYMS+= linux_emul_path
|
EXPORT_SYMS+= linux_emul_path
|
||||||
EXPORT_SYMS+= linux_ioctl_register_handler
|
|
||||||
EXPORT_SYMS+= linux_ioctl_unregister_handler
|
|
||||||
EXPORT_SYMS+= linux_get_osname
|
EXPORT_SYMS+= linux_get_osname
|
||||||
EXPORT_SYMS+= linux_get_osrelease
|
EXPORT_SYMS+= linux_get_osrelease
|
||||||
|
|
||||||
@ -18,4 +16,6 @@ EXPORT_SYMS+= linux_get_osrelease
|
|||||||
.warning Building Linuxulator outside of a kernel does not make sense
|
.warning Building Linuxulator outside of a kernel does not make sense
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -39,4 +39,6 @@ SRCS+= ${LINUXKPI_GENSRCS}
|
|||||||
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
||||||
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
|
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -15,4 +15,6 @@ SRCS+= device_if.h bus_if.h pci_if.h
|
|||||||
|
|
||||||
#CFLAGS += -DMFI_DEBUG
|
#CFLAGS += -DMFI_DEBUG
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -13,12 +13,6 @@ SRCS+= smscphy.c tdkphy.c truephy.c
|
|||||||
SRCS+= ukphy.c ukphy_subr.c
|
SRCS+= ukphy.c ukphy_subr.c
|
||||||
SRCS+= xmphy.c
|
SRCS+= xmphy.c
|
||||||
|
|
||||||
EXPORT_SYMS= mii_attach \
|
EXPORT_SYMS= YES
|
||||||
mii_bitbang_readreg \
|
|
||||||
mii_bitbang_sync \
|
|
||||||
mii_bitbang_writereg \
|
|
||||||
mii_mediachg \
|
|
||||||
mii_pollstat \
|
|
||||||
mii_tick
|
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -30,6 +30,8 @@ CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
|||||||
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include/uapi
|
||||||
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
|
||||||
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|
||||||
|
@ -51,6 +51,8 @@ SRCS+= \
|
|||||||
mlx5fpga_ipsec.c
|
mlx5fpga_ipsec.c
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
|
||||||
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
|
||||||
|
@ -15,4 +15,6 @@ CFLAGS+= \
|
|||||||
-I${SRCTOP}/sys/contrib/xz-embedded/freebsd \
|
-I${SRCTOP}/sys/contrib/xz-embedded/freebsd \
|
||||||
-I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz
|
-I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -15,4 +15,6 @@ SRCS= ngatmbase.c unimsg_common.c straddr.c \
|
|||||||
|
|
||||||
CFLAGS+= -I${LIBBASE} # -DNGATM_DEBUG
|
CFLAGS+= -I${LIBBASE} # -DNGATM_DEBUG
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -8,4 +8,6 @@ CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include
|
|||||||
KMOD= ng_bluetooth
|
KMOD= ng_bluetooth
|
||||||
SRCS= ng_bluetooth.c
|
SRCS= ng_bluetooth.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -13,4 +13,6 @@ SRCS= ng_btsocket.c \
|
|||||||
ng_btsocket_rfcomm.c \
|
ng_btsocket_rfcomm.c \
|
||||||
ng_btsocket_sco.c
|
ng_btsocket_sco.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -4,4 +4,6 @@
|
|||||||
KMOD= netgraph
|
KMOD= netgraph
|
||||||
SRCS= ng_base.c ng_parse.c
|
SRCS= ng_base.c ng_parse.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -14,4 +14,6 @@ SRCS= vnode_if.h \
|
|||||||
opt_nfs.h \
|
opt_nfs.h \
|
||||||
opt_ufs.h
|
opt_ufs.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@ KMOD= nfssvc
|
|||||||
SRCS= nfs_nfssvc.c \
|
SRCS= nfs_nfssvc.c \
|
||||||
opt_nfs.h
|
opt_nfs.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD = ntb
|
|||||||
SRCS = ntb.c ntb_if.c
|
SRCS = ntb.c ntb_if.c
|
||||||
SRCS += device_if.h bus_if.h ntb_if.h
|
SRCS += device_if.h bus_if.h ntb_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD = ntb_transport
|
|||||||
SRCS = ntb_transport.c
|
SRCS = ntb_transport.c
|
||||||
SRCS += device_if.h bus_if.h ntb_if.h
|
SRCS += device_if.h bus_if.h ntb_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -23,4 +23,6 @@ SRCS = nvme.c \
|
|||||||
opt_nvme.h \
|
opt_nvme.h \
|
||||||
pci_if.h
|
pci_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -7,4 +7,6 @@ SRCS= owc_gpiobus.c
|
|||||||
SRCS+= gpio_if.h gpiobus_if.h owll_if.h ofw_bus_if.h bus_if.h device_if.h
|
SRCS+= gpio_if.h gpiobus_if.h owll_if.h ofw_bus_if.h bus_if.h device_if.h
|
||||||
SRCS+= opt_platform.h
|
SRCS+= opt_platform.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -23,4 +23,6 @@ opt_global.h:
|
|||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -7,7 +7,7 @@ SRCS= bus_if.h device_if.h ppbus_if.h ppbus_if.c \
|
|||||||
opt_ppb_1284.h \
|
opt_ppb_1284.h \
|
||||||
ppb_1284.c ppb_base.c ppb_msq.c ppbconf.c
|
ppb_1284.c ppb_base.c ppb_msq.c ppbconf.c
|
||||||
|
|
||||||
EXPORT_SYMS= ppb_attach_device \
|
EXPORT_SYMS= \
|
||||||
ppb_request_bus \
|
ppb_request_bus \
|
||||||
ppb_release_bus \
|
ppb_release_bus \
|
||||||
ppb_get_status \
|
ppb_get_status \
|
||||||
@ -17,6 +17,9 @@ EXPORT_SYMS= ppb_attach_device \
|
|||||||
ppb_get_epp_protocol \
|
ppb_get_epp_protocol \
|
||||||
ppb_set_mode \
|
ppb_set_mode \
|
||||||
ppb_get_mode \
|
ppb_get_mode \
|
||||||
ppb_write
|
ppb_write \
|
||||||
|
ppb_lock
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -18,11 +18,11 @@ SRCS+= procfs_type.c
|
|||||||
SRCS+= procfs.c
|
SRCS+= procfs.c
|
||||||
|
|
||||||
EXPORT_SYMS=
|
EXPORT_SYMS=
|
||||||
EXPORT_SYMS+= procfs_attr
|
|
||||||
EXPORT_SYMS+= procfs_candebug
|
EXPORT_SYMS+= procfs_candebug
|
||||||
EXPORT_SYMS+= procfs_docurproc
|
EXPORT_SYMS+= procfs_docurproc
|
||||||
EXPORT_SYMS+= procfs_doprocfile
|
EXPORT_SYMS+= procfs_doprocfile
|
||||||
EXPORT_SYMS+= procfs_doprocmem
|
EXPORT_SYMS+= procfs_doprocmem
|
||||||
EXPORT_SYMS+= procfs_notsystem
|
EXPORT_SYMS+= procfs_notsystem
|
||||||
|
EXPORT_SYMS+= procfs_attr_rw
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -10,7 +10,8 @@ SRCS= opt_pseudofs.h \
|
|||||||
pseudofs_vncache.c \
|
pseudofs_vncache.c \
|
||||||
pseudofs_vnops.c
|
pseudofs_vnops.c
|
||||||
|
|
||||||
EXPORT_SYMS= pfs_mount \
|
EXPORT_SYMS= pfs_cmount \
|
||||||
|
pfs_mount \
|
||||||
pfs_unmount \
|
pfs_unmount \
|
||||||
pfs_root \
|
pfs_root \
|
||||||
pfs_statfs \
|
pfs_statfs \
|
||||||
@ -19,8 +20,6 @@ EXPORT_SYMS= pfs_mount \
|
|||||||
pfs_create_dir \
|
pfs_create_dir \
|
||||||
pfs_create_file \
|
pfs_create_file \
|
||||||
pfs_create_link \
|
pfs_create_link \
|
||||||
pfs_disable \
|
|
||||||
pfs_enable \
|
|
||||||
pfs_destroy
|
pfs_destroy
|
||||||
|
|
||||||
.if !defined(KERNBUILDDIR)
|
.if !defined(KERNBUILDDIR)
|
||||||
|
@ -17,4 +17,6 @@ SRCS+= \
|
|||||||
pwmbus_if.c \
|
pwmbus_if.c \
|
||||||
pwmbus_if.h \
|
pwmbus_if.h \
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= rc4
|
KMOD= rc4
|
||||||
SRCS= rc4.c
|
SRCS= rc4.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -47,4 +47,6 @@ opt_rtwn.h:
|
|||||||
@echo "#define RTWN_WITHOUT_UCODE 1" >> ${.TARGET}
|
@echo "#define RTWN_WITHOUT_UCODE 1" >> ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= sdhci
|
KMOD= sdhci
|
||||||
SRCS= sdhci.c sdhci.h sdhci_if.c sdhci_if.h device_if.h bus_if.h mmcbr_if.h opt_mmccam.h opt_cam.h
|
SRCS= sdhci.c sdhci.h sdhci_if.c sdhci_if.h device_if.h bus_if.h mmcbr_if.h opt_mmccam.h opt_cam.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD= snd_sbc
|
|||||||
SRCS= device_if.h bus_if.h isa_if.h pci_if.h
|
SRCS= device_if.h bus_if.h isa_if.h pci_if.h
|
||||||
SRCS+= sbc.c
|
SRCS+= sbc.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD= snd_spicds
|
|||||||
SRCS= device_if.h bus_if.h isa_if.h pci_if.h
|
SRCS= device_if.h bus_if.h isa_if.h pci_if.h
|
||||||
SRCS+= spicds.c
|
SRCS+= spicds.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -17,4 +17,6 @@ SRCS+= \
|
|||||||
spibus_if.c \
|
spibus_if.c \
|
||||||
spibus_if.h \
|
spibus_if.h \
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -16,4 +16,6 @@ SRCS+= \
|
|||||||
SRCS+= ofw_bus_if.h
|
SRCS+= ofw_bus_if.h
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD= superio
|
|||||||
SRCS= superio.c
|
SRCS= superio.c
|
||||||
SRCS+= device_if.h bus_if.h isa_if.h
|
SRCS+= device_if.h bus_if.h isa_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= sysvmsg
|
KMOD= sysvmsg
|
||||||
SRCS= sysv_msg.c opt_sysvipc.h
|
SRCS= sysv_msg.c opt_sysvipc.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= sysvsem
|
KMOD= sysvsem
|
||||||
SRCS= sysv_sem.c opt_sysvipc.h
|
SRCS= sysv_sem.c opt_sysvipc.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -5,4 +5,6 @@
|
|||||||
KMOD= sysvshm
|
KMOD= sysvshm
|
||||||
SRCS= sysv_shm.c opt_sysvipc.h
|
SRCS= sysv_shm.c opt_sysvipc.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -6,4 +6,6 @@ KMOD= toecore
|
|||||||
SRCS= toecore.c
|
SRCS= toecore.c
|
||||||
SRCS+= opt_ofed.h opt_inet.h opt_inet6.h opt_kern_tls.h
|
SRCS+= opt_ofed.h opt_inet.h opt_inet6.h opt_kern_tls.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -14,4 +14,6 @@ SRCS= opt_ddb.h opt_directio.h opt_ffs.h opt_quota.h opt_suiddir.h opt_ufs.h \
|
|||||||
CFLAGS+= -DSOFTUPDATES -DUFS_DIRHASH
|
CFLAGS+= -DSOFTUPDATES -DUFS_DIRHASH
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -33,4 +33,6 @@ KMOD= ucom
|
|||||||
SRCS= opt_bus.h opt_usb.h opt_gdb.h device_if.h bus_if.h usb_if.h usbdevs.h \
|
SRCS= opt_bus.h opt_usb.h opt_gdb.h device_if.h bus_if.h usb_if.h usbdevs.h \
|
||||||
usb_serial.c
|
usb_serial.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -34,4 +34,6 @@ SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
|
|||||||
miibus_if.h opt_inet.h \
|
miibus_if.h opt_inet.h \
|
||||||
usb_ethernet.c
|
usb_ethernet.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -33,4 +33,6 @@ KMOD= uhid
|
|||||||
SRCS= opt_bus.h opt_hid.h opt_usb.h device_if.h bus_if.h usb_if.h \
|
SRCS= opt_bus.h opt_hid.h opt_usb.h device_if.h bus_if.h usb_if.h \
|
||||||
vnode_if.h usbdevs.h uhid.c
|
vnode_if.h usbdevs.h uhid.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -41,4 +41,6 @@ SRCS= bus_if.h device_if.h usb_if.h usb_if.c vnode_if.h \
|
|||||||
SRCS+= usb_fdt_support.c ofw_bus_if.h
|
SRCS+= usb_fdt_support.c ofw_bus_if.h
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -32,4 +32,6 @@ SRCS+= virtio_bus_if.c virtio_bus_if.h
|
|||||||
SRCS+= virtio_if.c virtio_if.h
|
SRCS+= virtio_if.c virtio_if.h
|
||||||
SRCS+= bus_if.h device_if.h
|
SRCS+= bus_if.h device_if.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -16,6 +16,8 @@ SRCS= ieee80211.c ieee80211_action.c ieee80211_ageq.c \
|
|||||||
SRCS+= bus_if.h device_if.h opt_ddb.h opt_inet.h opt_inet6.h \
|
SRCS+= bus_if.h device_if.h opt_ddb.h opt_inet.h opt_inet6.h \
|
||||||
opt_tdma.h opt_wlan.h
|
opt_tdma.h opt_wlan.h
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
|
||||||
CWARNFLAGS.ieee80211_adhoc.c= -Wno-unused-function
|
CWARNFLAGS.ieee80211_adhoc.c= -Wno-unused-function
|
||||||
|
@ -9,4 +9,6 @@ SRCS= xdr.c \
|
|||||||
xdr_reference.c \
|
xdr_reference.c \
|
||||||
xdr_sizeof.c
|
xdr_sizeof.c
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
@ -17,4 +17,6 @@ CFLAGS+= \
|
|||||||
-I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz \
|
-I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz \
|
||||||
-I${SRCTOP}/sys/contrib/xz-embedded/linux/include/linux
|
-I${SRCTOP}/sys/contrib/xz-embedded/linux/include/linux
|
||||||
|
|
||||||
|
EXPORT_SYMS= YES
|
||||||
|
|
||||||
.include <bsd.kmod.mk>
|
.include <bsd.kmod.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user