2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 FIREWIRE_MENU
:=FireWire support
11 SUBMENU
:=$(FIREWIRE_MENU
)
12 DEPENDS
:=kmod-ieee1394
$(1)
16 define KernelPackage
/ieee1394
17 SUBMENU
:=$(FIREWIRE_MENU
)
18 TITLE
:=Support for FireWire
(old stack
)
19 DEPENDS
:=@PCI_SUPPORT @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36
20 KCONFIG
:=CONFIG_IEEE1394
21 FILES
:=$(LINUX_DIR
)/drivers
/ieee1394
/ieee1394.ko
22 AUTOLOAD
:=$(call AutoLoad
,20,ieee1394
)
25 define KernelPackage
/ieee1394
/description
26 Kernel support for FireWire
(old stack
)
29 $(eval
$(call KernelPackage
,ieee1394
))
32 define KernelPackage
/ohci1394
34 TITLE
:=Support for OHCI-1394 controllers
35 KCONFIG
:= CONFIG_IEEE1394_OHCI1394
36 FILES
:=$(LINUX_DIR
)/drivers
/ieee1394
/ohci1394.ko
37 AUTOLOAD
:=$(call AutoLoad
,50,ohci1394
)
40 define KernelPackage
/ohci1394
/description
41 Kernel support for FireWire OHCI-1394 controllers
44 $(eval
$(call KernelPackage
,ohci1394
))
47 define KernelPackage
/sbp2
48 $(call firewiredep
,kmod-ohci1394
)
49 TITLE
:=Support for SBP-2 devices over FireWire
51 CONFIG_IEEE1394_SBP2 \
52 CONFIG_IEEE1394_SBP2_PHYS_DMA
=n
53 FILES
:=$(LINUX_DIR
)/drivers
/ieee1394
/sbp2.ko
54 AUTOLOAD
:=$(call AutoLoad
,50,sbp2
)
57 define KernelPackage
/sbp2
/description
58 Kernel support for SBP-2 devices over FireWire
61 $(eval
$(call KernelPackage
,sbp2
))
64 define KernelPackage
/raw1394
65 $(call firewiredep
,kmod-ohci1394
)
66 TITLE
:=Support for Raw I
/O for FireWire devices
67 KCONFIG
:=CONFIG_IEEE1394_RAWIO
68 FILES
:=$(LINUX_DIR
)/drivers
/ieee1394
/raw1394.ko
69 AUTOLOAD
:=$(call AutoLoad
,50,raw1394
)
72 define KernelPackage
/raw1394
/description
73 Kernel support for FireWire Raw I
/O
76 $(eval
$(call KernelPackage
,raw1394
))
79 define KernelPackage
/video1394
80 $(call firewiredep
,kmod-ohci1394
)
81 TITLE
:=Support for FireWire video
82 KCONFIG
:=CONFIG_IEEE1394_VIDEO1394
83 FILES
:=$(LINUX_DIR
)/drivers
/ieee1394
/video1394.ko
84 AUTOLOAD
:=$(call AutoLoad
,50,video1394
)
87 define KernelPackage
/video1394
/description
88 Kernel support for FireWire video
91 $(eval
$(call KernelPackage
,video1394
))
94 define KernelPackage
/firewire
95 SUBMENU
:=$(FIREWIRE_MENU
)
96 TITLE
:=Support for FireWire
(new stack
)
98 KCONFIG
:=CONFIG_FIREWIRE
99 FILES
:=$(LINUX_DIR
)/drivers
/firewire
/firewire-core.ko
100 AUTOLOAD
:=$(call AutoLoad
,20,firewire-core
)
103 define KernelPackage
/firewire
/description
104 Kernel support for FireWire
(new stack
)
107 $(eval
$(call KernelPackage
,firewire
))
110 define KernelPackage
/firewire-ohci
111 SUBMENU
:=$(FIREWIRE_MENU
)
112 TITLE
:=Support for OHCI-1394 controllers
113 DEPENDS
:=kmod-firewire
115 CONFIG_FIREWIRE_OHCI \
116 CONFIG_FIREWIRE_OHCI_DEBUG
=n \
117 CONFIG_FIREWIRE_OHCI_REMOTE_DMA
=n
118 FILES
:=$(LINUX_DIR
)/drivers
/firewire
/firewire-ohci.ko
119 AUTOLOAD
:=$(call AutoLoad
,50,firewire-ohci
)
123 define KernelPackage
/firewire-ohci
/description
124 Kernel support for FireWire OHCI-1394 controllers
127 $(eval
$(call KernelPackage
,firewire-ohci
))
130 define KernelPackage
/firewire-sbp2
131 SUBMENU
:=$(FIREWIRE_MENU
)
132 TITLE
:=Support for SBP-2 devices over FireWire
133 DEPENDS
:=kmod-firewire
+!TARGET_x86
:kmod-scsi-core
134 KCONFIG
:=CONFIG_FIREWIRE_SBP2
135 FILES
:=$(LINUX_DIR
)/drivers
/firewire
/firewire-sbp2.ko
136 AUTOLOAD
:=$(call AutoLoad
,50,firewire-sbp2
)
139 define KernelPackage
/firewire-sbp2
/description
140 Kernel support for SBP-2 devices over FireWire
143 $(eval
$(call KernelPackage
,firewire-sbp2
))
146 define KernelPackage
/firewire-net
147 SUBMENU
:=$(FIREWIRE_MENU
)
148 TITLE
:=Support for IP networking over FireWire
149 DEPENDS
:=kmod-firewire @
!LINUX_2_6_30
150 KCONFIG
:=CONFIG_FIREWIRE_NET
151 FILES
:=$(LINUX_DIR
)/drivers
/firewire
/firewire-net.ko
152 AUTOLOAD
:=$(call AutoLoad
,50,firewire-net
)
155 define KernelPackage
/firewire-net
/description
156 Kernel support for IPv4 over FireWire
159 $(eval
$(call KernelPackage
,firewire-net
))