pcmcia.mk 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #
  2. # Copyright (C) 2006-2010 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. PCMCIA_MENU:=PCMCIA support
  8. define KernelPackage/pcmcia-core
  9. SUBMENU:=$(PCMCIA_MENU)
  10. TITLE:=PCMCIA/CardBus support
  11. DEPENDS:=@PCMCIA_SUPPORT
  12. KCONFIG:= \
  13. CONFIG_PCMCIA \
  14. CONFIG_PCMCIA_LOAD_CIS=y \
  15. CONFIG_CARDBUS \
  16. CONFIG_PCCARD \
  17. PCMCIA_DEBUG=n
  18. FILES:= \
  19. $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
  20. $(LINUX_DIR)/drivers/pcmcia/pcmcia.ko
  21. AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
  22. endef
  23. define KernelPackage/pcmcia-core/description
  24. Kernel support for PCMCIA/CardBus controllers
  25. endef
  26. $(eval $(call KernelPackage,pcmcia-core))
  27. define AddDepends/pcmcia
  28. SUBMENU:=$(PCMCIA_MENU)
  29. DEPENDS+=kmod-pcmcia-core $(1)
  30. endef
  31. define KernelPackage/pcmcia-rsrc
  32. TITLE:=PCMCIA resource support
  33. KCONFIG:=CONFIG_PCCARD_NONSTATIC=y
  34. FILES:=$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko
  35. AUTOLOAD:=$(call AutoLoad,26,pcmcia_rsrc)
  36. $(call AddDepends/pcmcia)
  37. endef
  38. define KernelPackage/pcmcia-rsrc/description
  39. Kernel support for PCMCIA resource allocation
  40. endef
  41. $(eval $(call KernelPackage,pcmcia-rsrc))
  42. define KernelPackage/pcmcia-yenta
  43. TITLE:=yenta socket driver
  44. KCONFIG:=CONFIG_YENTA
  45. FILES:=$(LINUX_DIR)/drivers/pcmcia/yenta_socket.ko
  46. AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
  47. DEPENDS:=+kmod-pcmcia-rsrc
  48. $(call AddDepends/pcmcia)
  49. endef
  50. $(eval $(call KernelPackage,pcmcia-yenta))
  51. define KernelPackage/pcmcia-serial
  52. TITLE:=Serial devices support
  53. KCONFIG:= \
  54. CONFIG_PCMCIA_SERIAL_CS \
  55. CONFIG_SERIAL_8250_CS
  56. FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko
  57. AUTOLOAD:=$(call AutoLoad,45,serial_cs)
  58. DEPENDS:=+kmod-serial-8250
  59. $(call AddDepends/pcmcia)
  60. endef
  61. define KernelPackage/pcmcia-serial/description
  62. Kernel support for PCMCIA/CardBus serial devices
  63. endef
  64. $(eval $(call KernelPackage,pcmcia-serial))
  65. define KernelPackage/pcmcia-pd6729
  66. TITLE:=Cirrus PD6729 compatible bridge support
  67. KCONFIG:=CONFIG_PD6729
  68. FILES:=$(LINUX_DIR)/drivers/pcmcia/pd6729.ko
  69. AUTOLOAD:=$(call AutoLoad,41,pd6729)
  70. DEPENDS:=+kmod-pcmcia-rsrc
  71. $(call AddDepends/pcmcia)
  72. endef
  73. define KernelPackage/pcmcia-pd6729/description
  74. Kernel support for the Cirrus PD6729 PCI-to-PCMCIA bridge
  75. endef
  76. $(eval $(call KernelPackage,pcmcia-pd6729))
  77. define KernelPackage/pcmcia-nozomi
  78. TITLE:=Option Fusion+ card
  79. KCONFIG:=CONFIG_NOZOMI
  80. FILES:=$(LINUX_DIR)/drivers/tty/nozomi.ko
  81. AUTOLOAD:=$(call AutoLoad,60,nozomi)
  82. DEPENDS:=+kmod-pcmcia-rsrc
  83. $(call AddDepends/pcmcia)
  84. endef
  85. define KernelPackage/pcmcia-nozomi/description
  86. Kernel support for Option Fusion+ card
  87. endef
  88. $(eval $(call KernelPackage,pcmcia-nozomi))