diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-04 15:23:08 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-04 15:23:08 +0000 |
commit | df7b7e61854c0e0da9e75b4a678f0e3b196f79ea (patch) | |
tree | 98addc02f41d652e39ae1f7afa251108ab606416 /target/linux/leon/patches-2.6.36/025-greth_bootloader_disable_device_node.patch | |
parent | b01f7e06a29068c94cb65fb40317daf54cb60ff0 (diff) |
leon: R.I.P.
It is broken since ~9 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35488 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/leon/patches-2.6.36/025-greth_bootloader_disable_device_node.patch')
-rw-r--r-- | target/linux/leon/patches-2.6.36/025-greth_bootloader_disable_device_node.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/target/linux/leon/patches-2.6.36/025-greth_bootloader_disable_device_node.patch b/target/linux/leon/patches-2.6.36/025-greth_bootloader_disable_device_node.patch deleted file mode 100644 index 836bab1fa..000000000 --- a/target/linux/leon/patches-2.6.36/025-greth_bootloader_disable_device_node.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 66d5b37cc6d32291419bf99161e83e2946ea5f25 Mon Sep 17 00:00:00 2001 -From: Daniel Hellstrom <daniel@gaisler.com> -Date: Wed, 1 Dec 2010 12:11:03 +0100 -Subject: [PATCH] GRETH: added option to disable a device node from bootloader. - -Signed-off-by: Daniel Hellstrom <daniel@gaisler.com> ---- - drivers/net/greth.c | 6 ++++++ - 1 files changed, 6 insertions(+), 0 deletions(-) - ---- a/drivers/net/greth.c -+++ b/drivers/net/greth.c -@@ -1428,6 +1428,12 @@ static int __devinit greth_of_probe(stru - int err; - int tmp; - unsigned long timeout; -+ int *ampopts; -+ -+ /* Skip device if used by another OS instance */ -+ ampopts = (int *) of_get_property(ofdev->dev.of_node, "ampopts", NULL); -+ if (ampopts && (*ampopts == 0)) -+ return -EIO; - - dev = alloc_etherdev(sizeof(struct greth_private)); - |