60ade6f232a49dfcc0d91beaeb208b956c1ea1b7
[openwrt/openwrt.git] / include / modules-2.6.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 NF_2_6:=1
8 include $(INCLUDE_DIR)/netfilter.mk
9
10 # Multimedia
11
12 $(eval $(call KMOD_template,PWC,pwc,\
13 $(MODULES_DIR)/kernel/drivers/usb/media/pwc/pwc.ko \
14 ,CONFIG_USB_PWC,kmod-videodev,63,pwc))
15
16 $(eval $(call KMOD_template,VIDEODEV,videodev,\
17 $(MODULES_DIR)/kernel/drivers/media/video/v4l1-compat.ko \
18 $(MODULES_DIR)/kernel/drivers/media/video/v4l2-common.ko \
19 $(MODULES_DIR)/kernel/drivers/media/video/videodev.ko \
20 ,CONFIG_VIDEO_DEV,,62,videodev))
21
22
23 # Network devices
24
25 $(eval $(call KMOD_template,NET_AIRO,net-airo,\
26 $(MODULES_DIR)/kernel/drivers/net/wireless/airo.ko \
27 ,CONFIG_AIRO,,10,airo))
28
29 $(eval $(call KMOD_template,NET_HERMES,net-hermes,\
30 $(MODULES_DIR)/kernel/drivers/net/wireless/hermes.ko \
31 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco.ko \
32 ,CONFIG_HERMES,,10,hermes orinoco))
33
34 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-pci,\
35 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_pci.ko \
36 ,CONFIG_PCI_HERMES,kmod-net-hermes,11,orinoco_pci))
37
38 $(eval $(call KMOD_template,NET_HERMES_PCI,net-hermes-plx,\
39 $(MODULES_DIR)/kernel/drivers/net/wireless/orinoco_plx.ko \
40 ,CONFIG_PLX_HERMES,kmod-net-hermes,11,orinoco_plx))
41
42 $(eval $(call KMOD_template,NET_PRISM54,net-prism54,\
43 $(MODULES_DIR)/kernel/drivers/net/wireless/prism54/prism54.ko \
44 ,CONFIG_PRISM54,,10,prism54))
45
46
47 # PCMCIA/CardBus
48
49 $(eval $(call KMOD_template,PCMCIA_CORE,pcmcia-core,\
50 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia.ko \
51 $(MODULES_DIR)/kernel/drivers/pcmcia/pcmcia_core.ko \
52 $(MODULES_DIR)/kernel/drivers/pcmcia/yenta_socket.ko \
53 $(MODULES_DIR)/kernel/drivers/pcmcia/rsrc_nonstatic.ko \
54 ,CONFIG_PCMCIA,,50,pcmcia_core pcmcia yenta_socket rsrc_nonstatic))
55
56 $(eval $(call KMOD_template,PCMCIA_SERIAL,pcmcia-serial,\
57 $(MODULES_DIR)/kernel/drivers/serial/serial_cs.ko \
58 ,CONFIG_SERIAL_8250_CS))
59
60
61 # Misc. devices
62
63 $(eval $(call KMOD_template,AX25,ax25,\
64 $(MODULES_DIR)/kernel/net/ax25/ax25.ko \
65 $(MODULES_DIR)/kernel/drivers/net/hamradio/mkiss.ko \
66 ,CONFIG_AX25,,90,ax25 mkiss))
67
68 $(eval $(call KMOD_template,BLUETOOTH,bluetooth,\
69 $(MODULES_DIR)/kernel/net/bluetooth/bluetooth.ko \
70 $(MODULES_DIR)/kernel/net/bluetooth/l2cap.ko \
71 $(MODULES_DIR)/kernel/net/bluetooth/sco.ko \
72 $(MODULES_DIR)/kernel/net/bluetooth/rfcomm/rfcomm.ko \
73 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_uart.ko \
74 $(MODULES_DIR)/kernel/drivers/bluetooth/hci_usb.ko \
75 ,CONFIG_BT))
76
77