From: acinonyx Date: Thu, 7 Apr 2011 23:31:56 +0000 (+0000) Subject: [package] kernel/modules: Enable Realtek R8169 not only for x86 X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/1ce317f201484ecadcc56d4b05a8f91846f2f35f [package] kernel/modules: Enable Realtek R8169 not only for x86 This enables support for Realtek 8169 based network cards for other platforms than x86. I have a mini-PCI card on ixp4xxx running here. Maybe for the other cards in netdevices.mk a @DEPENDS change from @TARGET_x86 to @PCI_SUPPORT makes also sense. Signed-off-by: Christoph König git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26529 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index e8036f0e0..762a17177 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -224,7 +224,7 @@ $(eval $(call KernelPackage,8139cp)) define KernelPackage/r8169 SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support - DEPENDS:=@TARGET_x86 + DEPENDS:=@PCI_SUPPORT KCONFIG:=CONFIG_R8169 \ CONFIG_R8169_NAPI=y \ CONFIG_R8169_VLAN=n