ath25: 5.15: enable 5.15 testing kernel
[openwrt/openwrt.git] / target / linux / ath25 / patches-5.15 / 110-ar2313_ethernet.patch
index 72b8660baa6ba93065172a6b52f8c92ad703066f..bd998b14274ca01fa3c536ea9b3fe8c5ffee806f 100644 (file)
@@ -16,7 +16,7 @@
        help
          If you have a network (Ethernet) card belonging to this class, say Y.
  
-@@ -87,4 +87,10 @@ config ALX
+@@ -88,4 +88,10 @@ config ALX
          To compile this driver as a module, choose M here.  The module
          will be called alx.
  
  
 --- a/arch/mips/ath25/ar5312.c
 +++ b/arch/mips/ath25/ar5312.c
-@@ -128,6 +128,10 @@ static void ar5312_irq_dispatch(void)
+@@ -127,6 +127,10 @@ static void ar5312_irq_dispatch(void)
  
        if (pending & CAUSEF_IP2)
                do_IRQ(AR5312_IRQ_WLAN0);
        else if (pending & CAUSEF_IP5)
                do_IRQ(AR5312_IRQ_WLAN1);
        else if (pending & CAUSEF_IP6)
-@@ -161,6 +165,36 @@ void __init ar5312_arch_init_irq(void)
+@@ -160,6 +164,36 @@ void __init ar5312_arch_init_irq(void)
        ar5312_misc_irq_domain = domain;
  }
  
  static struct physmap_flash_data ar5312_flash_data = {
        .width = 2,
  };
-@@ -241,6 +275,7 @@ static void __init ar5312_flash_init(voi
+@@ -240,6 +274,7 @@ static void __init ar5312_flash_init(voi
  void __init ar5312_init_devices(void)
  {
        struct ath25_boarddata *config;
  
        ar5312_flash_init();
  
-@@ -264,8 +299,30 @@ void __init ar5312_init_devices(void)
+@@ -263,8 +298,30 @@ void __init ar5312_init_devices(void)
  
        platform_device_register(&ar5312_gpio);
  
                if (!ath25_board.radio)
                        return;
  
-@@ -274,8 +331,18 @@ void __init ar5312_init_devices(void)
+@@ -273,8 +330,18 @@ void __init ar5312_init_devices(void)
  
                ath25_add_wmac(0, AR5312_WLAN0_BASE, AR5312_IRQ_WLAN0);
                break;