summaryrefslogtreecommitdiffstats
path: root/drivers/net/fddi/skfp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fddi/skfp/Makefile')
-rw-r--r--drivers/net/fddi/skfp/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/net/fddi/skfp/Makefile b/drivers/net/fddi/skfp/Makefile
new file mode 100644
index 000000000..875eac8a7
--- /dev/null
+++ b/drivers/net/fddi/skfp/Makefile
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for the SysKonnect FDDI PCI adapter driver
+#
+
+obj-$(CONFIG_SKFP) += skfp.o
+
+skfp-objs := skfddi.o hwmtm.o fplustm.o smt.o cfm.o \
+ ecm.o pcmplc.o pmf.o queue.o rmt.o \
+ smtdef.o smtinit.o smttimer.o srf.o hwt.o \
+ drvfbi.o ess.o
+
+# NOTE:
+# Compiling this driver produces some warnings (and some more are
+# switched off below), but I did not fix this, because the Hardware
+# Module source (see skfddi.c for details) is used for different
+# drivers, and fixing it for Linux might bring problems on other
+# projects. To keep the source common for all those drivers (and
+# thus simplify fixes to it), please do not clean it up!
+
+ccflags-y := -DPCI -DMEM_MAPPED_IO -Wno-strict-prototypes