diff options
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3/051-cns3xxx_gigabit.patch')
-rw-r--r-- | target/linux/cns3xxx/patches-3.3/051-cns3xxx_gigabit.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/051-cns3xxx_gigabit.patch b/target/linux/cns3xxx/patches-3.3/051-cns3xxx_gigabit.patch index 2f54a72..439403a 100644 --- a/target/linux/cns3xxx/patches-3.3/051-cns3xxx_gigabit.patch +++ b/target/linux/cns3xxx/patches-3.3/051-cns3xxx_gigabit.patch @@ -1299,35 +1299,6 @@ +MODULE_DESCRIPTION("Cavium CNS3xxx Ethernet driver"); +MODULE_LICENSE("GPL v2"); +MODULE_ALIAS("platform:cns3xxx_eth"); ---- /dev/null -+++ b/arch/arm/mach-cns3xxx/include/mach/platform.h -@@ -0,0 +1,26 @@ -+/* -+ * arch/arm/mach-cns3xxx/include/mach/platform.h -+ * -+ * Copyright 2011 Gateworks Corporation -+ * Chris Lang <clang@gateworks.com -+ * -+ * This file is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License, Version 2, as -+ * published by the Free Software Foundation. -+ * -+ */ -+ -+#ifndef __ASM_ARCH_PLATFORM_H -+#define __ASM_ARCH_PLATFORM_H -+ -+#ifndef __ASSEMBLY__ -+ -+/* Information about built-in Ethernet MAC interfaces */ -+struct cns3xxx_plat_info { -+ u8 ports; /* Bitmap of enabled Ports */ -+ u8 hwaddr[4][6]; -+ u32 phy[3]; -+}; -+ -+#endif /* __ASM_ARCH_PLATFORM_H */ -+#endif --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig @@ -32,6 +32,7 @@ source "drivers/net/ethernet/calxeda/Kco |