[kernel] Some symbols were missing or wrong. Tested with x86.
[openwrt.git] / package / kernel / modules / firewire.mk
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 FIREWIRE_MENU:=FireWire support
10
11 define firewiredep
12 SUBMENU:=$(FIREWIRE_MENU)
13 DEPENDS:=kmod-ieee1394 $(1)
14 endef
15
16
17 define KernelPackage/ieee1394
18 SUBMENU:=$(FIREWIRE_MENU)
19 TITLE:=Support for FireWire
20 DEPENDS:=@PCI_SUPPORT
21 KCONFIG:=CONFIG_IEEE1394
22 FILES:=$(LINUX_DIR)/drivers/ieee1394/ieee1394.$(LINUX_KMOD_SUFFIX)
23 AUTOLOAD:=$(call AutoLoad,20,ieee1394)
24 endef
25
26 define KernelPackage/ieee1394/description
27 Kernel support for FireWire
28 endef
29
30 $(eval $(call KernelPackage,ieee1394))
31
32
33 define KernelPackage/ohci1394
34 $(call firewiredep,)
35 TITLE:=Support for OHCI-1394 controllers
36 KCONFIG:= CONFIG_IEEE1394_OHCI1394
37 FILES:=$(LINUX_DIR)/drivers/ieee1394/ohci1394.$(LINUX_KMOD_SUFFIX)
38 AUTOLOAD:=$(call AutoLoad,50,ohci1394)
39 endef
40
41 define KernelPackage/ohci1394/description
42 Kernel support for FireWire OHCI-1394 controllers
43 endef
44
45 $(eval $(call KernelPackage,ohci1394))
46
47
48 define KernelPackage/sbp2
49 $(call firewiredep,kmod-ohci1394)
50 TITLE:=Support for SBP-2 devices over FireWire
51 KCONFIG:= \
52 CONFIG_IEEE1394_SBP2 \
53 CONFIG_IEEE1394_SBP2_PHYS_DMA=n
54 FILES:=$(LINUX_DIR)/drivers/ieee1394/sbp2.$(LINUX_KMOD_SUFFIX)
55 AUTOLOAD:=$(call AutoLoad,50,sbp2)
56 endef
57
58 define KernelPackage/sbp2/description
59 Kernel support for SBP-2 devices over FireWire
60 endef
61
62 $(eval $(call KernelPackage,sbp2))
63
64
65 define KernelPackage/raw1394
66 $(call firewiredep,kmod-ohci1394)
67 TITLE:=Support for Raw I/O for FireWire devices
68 KCONFIG:=CONFIG_IEEE1394_RAWIO
69 FILES:=$(LINUX_DIR)/drivers/ieee1394/raw1394.$(LINUX_KMOD_SUFFIX)
70 AUTOLOAD:=$(call AutoLoad,50,raw1394)
71 endef
72
73 define KernelPackage/raw1394/description
74 Kernel support for FireWire Raw I/O
75 endef
76
77 $(eval $(call KernelPackage,raw1394))
78
79
80 define KernelPackage/video1394
81 $(call firewiredep,kmod-ohci1394)
82 TITLE:=Support for FireWire video
83 KCONFIG:=CONFIG_IEEE1394_VIDEO1394
84 FILES:=$(LINUX_DIR)/drivers/ieee1394/video1394.$(LINUX_KMOD_SUFFIX)
85 AUTOLOAD:=$(call AutoLoad,50,video1394)
86 endef
87
88 define KernelPackage/video1394/description
89 Kernel support for FireWire video
90 endef
91
92 $(eval $(call KernelPackage,video1394))
93
This page took 0.052225 seconds and 5 git commands to generate.