package/kernel: Remove all 2.4 definitions
[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
8 FIREWIRE_MENU:=FireWire support
9
10 define firewiredep
11 SUBMENU:=$(FIREWIRE_MENU)
12 DEPENDS:=kmod-ieee1394 $(1)
13 endef
14
15
16 define KernelPackage/ieee1394
17 SUBMENU:=$(FIREWIRE_MENU)
18 TITLE:=Support for FireWire
19 DEPENDS:=@PCI_SUPPORT
20 KCONFIG:=CONFIG_IEEE1394
21 FILES:=$(LINUX_DIR)/drivers/ieee1394/ieee1394.ko
22 AUTOLOAD:=$(call AutoLoad,20,ieee1394)
23 endef
24
25 define KernelPackage/ieee1394/description
26 Kernel support for FireWire
27 endef
28
29 $(eval $(call KernelPackage,ieee1394))
30
31
32 define KernelPackage/ohci1394
33 $(call firewiredep,)
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)
38 endef
39
40 define KernelPackage/ohci1394/description
41 Kernel support for FireWire OHCI-1394 controllers
42 endef
43
44 $(eval $(call KernelPackage,ohci1394))
45
46
47 define KernelPackage/sbp2
48 $(call firewiredep,kmod-ohci1394)
49 TITLE:=Support for SBP-2 devices over FireWire
50 KCONFIG:= \
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)
55 endef
56
57 define KernelPackage/sbp2/description
58 Kernel support for SBP-2 devices over FireWire
59 endef
60
61 $(eval $(call KernelPackage,sbp2))
62
63
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)
70 endef
71
72 define KernelPackage/raw1394/description
73 Kernel support for FireWire Raw I/O
74 endef
75
76 $(eval $(call KernelPackage,raw1394))
77
78
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)
85 endef
86
87 define KernelPackage/video1394/description
88 Kernel support for FireWire video
89 endef
90
91 $(eval $(call KernelPackage,video1394))
92
This page took 0.041726 seconds and 5 git commands to generate.