kernel: refresh patches for kernel 3.0-rc4
[openwrt/svn-archive/archive.git] / target / linux / ps3 / modules.mk
1 #
2 # Copyright (C) 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
8 define KernelPackage/ps3lan
9 SUBMENU:=Network Devices
10 TITLE:=PS3-Lan support
11 DEPENDS:=@TARGET_ps3
12 KCONFIG:= \
13 CONFIG_GELIC_NET \
14 CONFIG_GELIC_WIRELESS=y
15 FILES:=$(LINUX_DIR)/drivers/net/ps3_gelic.ko
16 AUTOLOAD:=$(call AutoLoad,50,ps3_gelic)
17 endef
18
19 define KernelPackage/ps3lan/description
20 Kernel module for PS3 Networking. Includes Gb Ethernet and WLAN
21 endef
22
23 $(eval $(call KernelPackage,ps3lan))
24
25
26 define KernelPackage/ps3vram
27 SUBMENU:=$(BLOCK_MENU)
28 TITLE:=PS3 Video RAM Storage Driver
29 DEPENDS:=@TARGET_ps3
30 KCONFIG:=CONFIG_PS3_VRAM
31 FILES:=$(LINUX_DIR)/drivers/block/ps3vram.ko
32 AUTOLOAD:=$(call AutoLoad,01,ps3vram)
33 endef
34
35 define KernelPackage/ps3vram/description
36 Kernel support for PS3 Video RAM Storage
37 endef
38
39 $(eval $(call KernelPackage,ps3vram))
40
41
42 define KernelPackage/sound-ps3
43 SUBMENU:=$(SOUND_MENU)
44 TITLE:=PS3 Audio
45 DEPENDS:=@TARGET_ps3
46 KCONFIG:=CONFIG_SND_PS3 \
47 CONFIG_SND_PPC=y \
48 CONFIG_SND_PS3_DEFAULT_START_DELAY=2000
49 FILES:=$(LINUX_DIR)/sound/ppc/snd_ps3.ko
50 AUTOLOAD:=$(call AutoLoad,35, snd_ps3)
51 $(call AddDepends/sound)
52 endef
53
54 define KernelPackage/sound-ps3/description
55 support for the integrated PS3 audio device
56 endef
57
58 $(eval $(call KernelPackage,sound-ps3))