2
0

firewire.mk 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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-ohci
  20. SUBMENU:=$(FIREWIRE_MENU)
  21. TITLE:=Support for OHCI-1394 controllers
  22. DEPENDS:=kmod-firewire
  23. KCONFIG:= \
  24. CONFIG_FIREWIRE_OHCI \
  25. CONFIG_FIREWIRE_OHCI_DEBUG=n \
  26. CONFIG_FIREWIRE_OHCI_REMOTE_DMA=n
  27. FILES:=$(LINUX_DIR)/drivers/firewire/firewire-ohci.ko
  28. AUTOLOAD:=$(call AutoProbe,firewire-ohci)
  29. endef
  30. define KernelPackage/firewire-ohci/description
  31. Kernel support for FireWire OHCI-1394 controllers
  32. endef
  33. $(eval $(call KernelPackage,firewire-ohci))
  34. define KernelPackage/firewire-sbp2
  35. SUBMENU:=$(FIREWIRE_MENU)
  36. TITLE:=Support for SBP-2 devices over FireWire
  37. DEPENDS:=kmod-firewire +kmod-scsi-core
  38. KCONFIG:=CONFIG_FIREWIRE_SBP2
  39. FILES:=$(LINUX_DIR)/drivers/firewire/firewire-sbp2.ko
  40. AUTOLOAD:=$(call AutoProbe,firewire-sbp2)
  41. endef
  42. define KernelPackage/firewire-sbp2/description
  43. Kernel support for SBP-2 devices over FireWire
  44. endef
  45. $(eval $(call KernelPackage,firewire-sbp2))
  46. define KernelPackage/firewire-net
  47. SUBMENU:=$(FIREWIRE_MENU)
  48. TITLE:=Support for IP networking over FireWire
  49. DEPENDS:=kmod-firewire
  50. KCONFIG:=CONFIG_FIREWIRE_NET
  51. FILES:=$(LINUX_DIR)/drivers/firewire/firewire-net.ko
  52. AUTOLOAD:=$(call AutoProbe,firewire-net)
  53. endef
  54. define KernelPackage/firewire-net/description
  55. Kernel support for IPv4 over FireWire
  56. endef
  57. $(eval $(call KernelPackage,firewire-net))