summaryrefslogtreecommitdiffstats
path: root/sys/modules/firewire
diff options
context:
space:
mode:
authorikob <ikob@FreeBSD.org>2002-09-13 12:31:56 +0000
committerikob <ikob@FreeBSD.org>2002-09-13 12:31:56 +0000
commit594125652993c3f7e88268f9b36d9730c5c2961d (patch)
tree9da4eff2bec066848b2818f3ae10a47cf62315ad /sys/modules/firewire
parent238e3d325507fc228dd938ae173eb4d9d1a8f9c7 (diff)
downloadFreeBSD-src-594125652993c3f7e88268f9b36d9730c5c2961d.zip
FreeBSD-src-594125652993c3f7e88268f9b36d9730c5c2961d.tar.gz
Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
Diffstat (limited to 'sys/modules/firewire')
-rw-r--r--sys/modules/firewire/Makefile8
-rw-r--r--sys/modules/firewire/firewire/Makefile29
-rw-r--r--sys/modules/firewire/fwe/Makefile19
-rw-r--r--sys/modules/firewire/sbp/Makefile20
4 files changed, 76 insertions, 0 deletions
diff --git a/sys/modules/firewire/Makefile b/sys/modules/firewire/Makefile
new file mode 100644
index 0000000..3cbed99
--- /dev/null
+++ b/sys/modules/firewire/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+SUBDIR =
+SUBDIR += firewire
+SUBDIR += sbp
+#SUBDIR += fwe
+
+.include <bsd.subdir.mk>
diff --git a/sys/modules/firewire/firewire/Makefile b/sys/modules/firewire/firewire/Makefile
new file mode 100644
index 0000000..522cfad
--- /dev/null
+++ b/sys/modules/firewire/firewire/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+# Makefile for the IEEE1394 OHCI chipset
+
+.PATH: ${.CURDIR}/../../../dev/firewire
+
+KMOD= firewire
+SRCS = bus_if.h device_if.h pci_if.h \
+ opt_bus.h opt_firewire.h \
+ firewire.c firewire.h firewire_phy.h firewirebusreg.h firewirereg.h \
+ fwohci.c fwohci_pci.c fwohcireg.h fwohcivar.h \
+ iec13213.h iec68113.h \
+ fwmem.c fwmem.h
+
+opt_firewire.h:
+ echo "#define FIREWIRE_FREEBSD_MODULE 1" > opt_firewire.h
+
+#EXPORT_SYMS= fw_asybusy \
+# fw_asyreq \
+# fw_bindadd \
+# fw_bindremove \
+# getcsrdata \
+# fw_xfer_alloc \
+# fw_xfer_free \
+
+EXPORT_SYMS= YES
+
+.include <bsd.kmod.mk>
+
diff --git a/sys/modules/firewire/fwe/Makefile b/sys/modules/firewire/fwe/Makefile
new file mode 100644
index 0000000..551299d
--- /dev/null
+++ b/sys/modules/firewire/fwe/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+# Makefile for the SBP-II (Serial Bus Protocol 2/SCSI over IEEE1394)
+
+.PATH: ${.CURDIR}/../../../dev/firewire
+
+CFLAGS+= -g
+
+KMOD = if_fwe
+SRCS = bus_if.h device_if.h\
+ opt_bus.h opt_firewire.h opt_inet.h\
+ if_fwe.c if_fwevar.h\
+ firewire.h firewirereg.h
+
+opt_fwe.h:
+ echo "#define FIREWIRE_ETHEREMU_FREEBSD 1" > opt_fwe.h
+
+.include <bsd.kmod.mk>
+
diff --git a/sys/modules/firewire/sbp/Makefile b/sys/modules/firewire/sbp/Makefile
new file mode 100644
index 0000000..3e08db5
--- /dev/null
+++ b/sys/modules/firewire/sbp/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+# Makefile for the SBP-II (Serial Bus Protocol 2/SCSI over IEEE1394)
+
+.PATH: ${.CURDIR}/../../../dev/firewire
+
+CFLAGS+= -g
+
+KMOD = sbp
+SRCS = bus_if.h device_if.h\
+ opt_bus.h opt_firewire.h opt_cam.h opt_scsi.h\
+ sbp.c \
+ firewire.h firewirereg.h \
+ iec13213.h
+
+opt_sbp.h:
+ echo "#define SBP2_FREEBSD_MODULE 1" > opt_sbp.h
+
+.include <bsd.kmod.mk>
+
OpenPOWER on IntegriCloud