[target/leon]: add preliminary LEON support
[openwrt/svn-archive/archive.git] / target / linux / leon / patches / 012-greth_amba_vendor_device.patch
diff --git a/target/linux/leon/patches/012-greth_amba_vendor_device.patch b/target/linux/leon/patches/012-greth_amba_vendor_device.patch
new file mode 100644 (file)
index 0000000..78b526c
--- /dev/null
@@ -0,0 +1,22 @@
+From ff5f2ee8b37f2278dd86946761313c3664c51836 Mon Sep 17 00:00:00 2001
+From: Daniel Hellstrom <daniel@gaisler.com>
+Date: Thu, 21 Oct 2010 14:34:48 +0200
+Subject: [PATCH] GRETH: added raw AMBA vendor/device number to match against.
+
+Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
+---
+ drivers/net/greth.c |    3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+--- a/drivers/net/greth.c
++++ b/drivers/net/greth.c
+@@ -1600,6 +1600,9 @@ static struct of_device_id greth_of_matc
+       {
+        .name = "GAISLER_ETHMAC",
+        },
++      {
++       .name = "01_01d",
++       },
+       {},
+ };