Ignore:
Timestamp:
2012-05-06T19:08:30+02:00 (5 years ago)
Author:
nbd
Message:

atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels

Location:
trunk/target/linux/atheros/patches-3.3
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/patches-3.3/200-ar2313_enable_mvswitch.patch

    r31623 r31625  
    1 --- a/drivers/net/ar231x.c 
    2 +++ b/drivers/net/ar231x.c 
    3 @@ -755,6 +755,7 @@ static void ar231x_load_rx_ring(struct n 
     1--- a/drivers/net/ethernet/ar231x/ar231x.c 
     2+++ b/drivers/net/ethernet/ar231x/ar231x.c 
     3@@ -745,6 +745,7 @@ static void ar231x_load_rx_ring(struct n 
    44        for (i = 0; i < nr_bufs; i++) { 
    55                struct sk_buff *skb; 
     
    99                if (sp->rx_skb[idx]) 
    1010                        break; 
    11 @@ -770,7 +771,9 @@ static void ar231x_load_rx_ring(struct n 
     11@@ -760,7 +761,9 @@ static void ar231x_load_rx_ring(struct n 
    1212                 * Make sure IP header starts on a fresh cache line. 
    1313                 */ 
     
    2020  
    2121                rd = (ar231x_descr_t *) & sp->rx_ring[idx]; 
    22 @@ -844,20 +847,23 @@ static int ar231x_rx_int(struct net_devi 
     22@@ -834,20 +837,23 @@ static int ar231x_rx_int(struct net_devi 
    2323                        /* alloc new buffer. */ 
    2424                        skb_new = netdev_alloc_skb(dev, AR2313_BUFSIZE + RX_OFFSET); 
     
    4949                                rxdesc->addr = virt_to_phys(skb_new->data); 
    5050  
    51 @@ -1269,6 +1275,8 @@ static int ar231x_mdiobus_probe (struct  
     51@@ -1258,6 +1264,8 @@ static int ar231x_mdiobus_probe (struct  
    5252                return PTR_ERR(phydev); 
    5353        } 
     
    5858        phydev->supported &= (SUPPORTED_10baseT_Half 
    5959                | SUPPORTED_10baseT_Full 
    60 --- a/drivers/net/ar231x.h 
    61 +++ b/drivers/net/ar231x.h 
    62 @@ -221,6 +221,8 @@ typedef struct { 
     60--- a/drivers/net/ethernet/ar231x/ar231x.h 
     61+++ b/drivers/net/ethernet/ar231x/ar231x.h 
     62@@ -222,6 +222,8 @@ typedef struct { 
    6363  */ 
    6464 struct ar231x_private { 
Note: See TracChangeset for help on using the changeset viewer.