[x86] move x86 specific ide/pata modules to x86' modules.mk
[openwrt.git] / target / linux / x86 / modules.mk
1 #
2 # Copyright (C) 2006-2012 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 define KernelPackage/cs5535
9   SUBMENU:=$(BLOCK_MENU)
10   TITLE:=NSC/AMD CS5535 chipset support
11   DEPENDS:=@TARGET_x86
12   KCONFIG:=CONFIG_BLK_DEV_CS5535
13   FILES=$(LINUX_DIR)/drivers/ide/cs5535.ko
14   AUTOLOAD:=$(call AutoLoad,30,cs5535,1)
15   $(call AddDepends/ide)
16 endef
17
18 define KernelPackage/cs5535/description
19   Kernel module for the NSC/AMD CS5535 companion chip
20 endef
21
22 $(eval $(call KernelPackage,cs5535))
23
24
25 define KernelPackage/cs5536
26   SUBMENU:=$(BLOCK_MENU)
27   TITLE:=AMD CS5536 chipset support
28   DEPENDS:=@TARGET_x86
29   KCONFIG:=CONFIG_BLK_DEV_CS5536
30   FILES=$(LINUX_DIR)/drivers/ide/cs5536.ko
31   AUTOLOAD:=$(call AutoLoad,30,cs5536,1)
32   $(call AddDepends/ide)
33 endef
34
35 define KernelPackage/cs5536/description
36   Kernel module for the AMD CS5536 Geode LX companion chip
37 endef
38
39 $(eval $(call KernelPackage,cs5536))
40
41
42 define KernelPackage/pata-cs5535
43   SUBMENU:=$(BLOCK_MENU)
44   TITLE:=CS5535 PATA support
45   DEPENDS:=@TARGET_x86 @PCI_SUPPORT
46   KCONFIG:=CONFIG_PATA_CS5535
47   FILES=$(LINUX_DIR)/drivers/ata/pata_cs5535.ko
48   AUTOLOAD:=$(call AutoLoad,30,pata_cs5535,1)
49   $(call AddDepends/ata)
50 endef
51
52 define KernelPackage/pata-cs5535/description
53   Kernel module for the NSC/AMD CS5535 companion chip
54 endef
55
56 $(eval $(call KernelPackage,pata-cs5535))
57
58
59 define KernelPackage/pata-cs5536
60   SUBMENU:=$(BLOCK_MENU)
61   TITLE:=CS5536 PATA support
62   DEPENDS:=@TARGET_x86 @PCI_SUPPORT
63   KCONFIG:=CONFIG_PATA_CS5536
64   FILES=$(LINUX_DIR)/drivers/ata/pata_cs5536.ko
65   AUTOLOAD:=$(call AutoLoad,30,pata_cs5536,1)
66   $(call AddDepends/ata)
67 endef
68
69 define KernelPackage/pata-cs5536/description
70   Kernel module for the AMD CS5536 Geode LX companion chip
71 endef
72
73 $(eval $(call KernelPackage,pata-cs5536))