1
0

firewire.mk 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #
  2. # Copyright (C) 2008-2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. FIREWIRE_MENU:=FireWire support
  8. define KernelPackage/firewire
  9. SUBMENU:=$(FIREWIRE_MENU)
  10. TITLE:=Support for FireWire (new stack)
  11. DEPENDS:=@PCI_SUPPORT +kmod-lib-crc-itu-t
  12. KCONFIG:=CONFIG_FIREWIRE
  13. FILES:=$(LINUX_DIR)/drivers/firewire/firewire-core.ko
  14. endef
  15. define KernelPackage/firewire/description
  16. Kernel support for FireWire (new stack)
  17. endef
  18. $(eval $(call KernelPackage,firewire))
  19. define KernelPackage/firewire-net
  20. SUBMENU:=$(FIREWIRE_MENU)
  21. TITLE:=Support for IP networking over FireWire
  22. DEPENDS:=kmod-firewire
  23. KCONFIG:=CONFIG_FIREWIRE_NET
  24. FILES:=$(LINUX_DIR)/drivers/firewire/firewire-net.ko
  25. AUTOLOAD:=$(call AutoProbe,firewire-net)
  26. endef
  27. define KernelPackage/firewire-net/description
  28. Kernel support for IPv4 over FireWire
  29. endef
  30. $(eval $(call KernelPackage,firewire-net))
  31. define KernelPackage/firewire-ohci
  32. SUBMENU:=$(FIREWIRE_MENU)
  33. TITLE:=Support for OHCI-1394 controllers
  34. DEPENDS:=kmod-firewire
  35. KCONFIG:= \
  36. CONFIG_FIREWIRE_OHCI \
  37. CONFIG_FIREWIRE_OHCI_DEBUG=n \
  38. CONFIG_FIREWIRE_OHCI_REMOTE_DMA=n
  39. FILES:=$(LINUX_DIR)/drivers/firewire/firewire-ohci.ko
  40. AUTOLOAD:=$(call AutoProbe,firewire-ohci)
  41. endef
  42. define KernelPackage/firewire-ohci/description
  43. Kernel support for FireWire OHCI-1394 controllers
  44. endef
  45. $(eval $(call KernelPackage,firewire-ohci))
  46. define KernelPackage/firewire-sbp2
  47. SUBMENU:=$(FIREWIRE_MENU)
  48. TITLE:=Support for SBP-2 devices over FireWire
  49. DEPENDS:=kmod-firewire +kmod-scsi-core
  50. KCONFIG:=CONFIG_FIREWIRE_SBP2
  51. FILES:=$(LINUX_DIR)/drivers/firewire/firewire-sbp2.ko
  52. AUTOLOAD:=$(call AutoProbe,firewire-sbp2)
  53. endef
  54. define KernelPackage/firewire-sbp2/description
  55. Kernel support for SBP-2 devices over FireWire
  56. endef
  57. $(eval $(call KernelPackage,firewire-sbp2))