Ignore:
Timestamp:
2011-09-04T17:06:05+02:00 (5 years ago)
Author:
kaloz
Message:

[cns3xxx]: upgrade testing kernel support to 3.1

Location:
trunk/target/linux/cns3xxx/patches-3.1
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/cns3xxx/patches-3.1/051-cns3xxx_gigabit.patch

    r27328 r28165  
    11--- a/drivers/net/Kconfig 
    22+++ b/drivers/net/Kconfig 
    3 @@ -2078,6 +2078,14 @@ config ACENIC_OMIT_TIGON_I 
     3@@ -2071,6 +2071,14 @@ config ACENIC_OMIT_TIGON_I 
    44  
    55          The safe and default value for this is N. 
     
    1818--- a/drivers/net/Makefile 
    1919+++ b/drivers/net/Makefile 
    20 @@ -241,6 +241,7 @@ obj-$(CONFIG_MAC89x0) += mac89x0.o 
     20@@ -240,6 +240,7 @@ obj-$(CONFIG_MAC89x0) += mac89x0.o 
    2121 obj-$(CONFIG_TUN) += tun.o 
    2222 obj-$(CONFIG_VETH) += veth.o 
     
    4545+#include <linux/dmapool.h> 
    4646+#include <linux/etherdevice.h> 
     47+#include <linux/interrupt.h> 
    4748+#include <linux/io.h> 
    4849+#include <linux/kernel.h> 
     
    5051+#include <linux/platform_device.h> 
    5152+#include <linux/skbuff.h> 
    52 +#include <mach/hardware.h> 
     53+#include <mach/irqs.h> 
     54+#include <mach/platform.h> 
    5355+ 
    5456+#define DRV_NAME "cns3xxx_eth" 
     
    212214+       u8 alignment[16]; /* for 32 byte alignment */ 
    213215+}; 
    214 + 
    215216+ 
    216217+struct switch_regs { 
     
    440441+} 
    441442+ 
    442 + 
    443443+static void cns3xxx_alloc_rx_buf(struct sw *sw, int received) 
    444444+{ 
     
    12981298+MODULE_LICENSE("GPL v2"); 
    12991299+MODULE_ALIAS("platform:cns3xxx_eth"); 
    1300 --- a/arch/arm/mach-cns3xxx/include/mach/hardware.h 
    1301 +++ b/arch/arm/mach-cns3xxx/include/mach/hardware.h 
    1302 @@ -19,4 +19,6 @@ 
    1303  #define PCIBIOS_MIN_MEM                0x00000000 
    1304  #define pcibios_assign_all_busses()    1 
    1305   
    1306 +#include "platform.h" 
    1307 + 
    1308  #endif 
    13091300--- /dev/null 
    13101301+++ b/arch/arm/mach-cns3xxx/include/mach/platform.h 
Note: See TracChangeset for help on using the changeset viewer.