summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-05-06 00:10:01 +0200
committerRalf Baechle <ralf@linux-mips.org>2011-05-19 09:55:43 +0100
commit504d4721ee8e432af4b5f196a08af38bc4dac5fe (patch)
tree964df243c11ce5d6ad6b839e1a205431b008c990 /arch/mips/include/asm/mach-lantiq/lantiq_platform.h
parentdfec1a827d2bdc35d0990afd100f79a685ec0985 (diff)
downloadlinux-504d4721ee8e432af4b5f196a08af38bc4dac5fe.tar.bz2
MIPS: Lantiq: Add ethernet driver
This patch adds the driver for the ETOP Packet Processing Engine (PPE32) found inside the XWAY family of Lantiq MIPS SoCs. This driver makes 100MBit ethernet work. Support for all 8 dma channels, gbit and the embedded switch found on the ar9/vr9 still needs to be implemented. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com> Cc: linux-mips@linux-mips.org Cc: netdev@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/2357/ Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-lantiq/lantiq_platform.h')
-rw-r--r--arch/mips/include/asm/mach-lantiq/lantiq_platform.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
index 1f1dba6d0736..a305f1d0259e 100644
--- a/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
+++ b/arch/mips/include/asm/mach-lantiq/lantiq_platform.h
@@ -10,6 +10,7 @@
#define _LANTIQ_PLATFORM_H__
#include <linux/mtd/partitions.h>
+#include <linux/socket.h>
/* struct used to pass info to the pci core */
enum {
@@ -43,4 +44,10 @@ struct ltq_pci_data {
int irq[16];
};
+/* struct used to pass info to network drivers */
+struct ltq_eth_data {
+ struct sockaddr mac;
+ int mii_mode;
+};
+
#endif