Changeset 22416


Ignore:
Timestamp:
2010-07-30T11:59:13+02:00 (8 years ago)
Author:
acoul
Message:

[atheros] add missing bits & bytes from r22412

Location:
trunk/target/linux/atheros
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch

    r22412 r22416  
    2626--- /dev/null 
    2727+++ b/drivers/net/ar231x.c 
    28 @@ -0,0 +1,1266 @@ 
     28@@ -0,0 +1,1278 @@ 
    2929+/* 
    3030+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. 
     
    171171+static void rx_tasklet_cleanup(struct net_device *dev); 
    172172+static void ar231x_multicast_list(struct net_device *dev); 
     173+static void ar231x_tx_timeout(struct net_device *dev); 
    173174+ 
    174175+static int ar231x_mdiobus_read(struct mii_bus *bus, int phy_addr, int regnum); 
     
    191192+       .ndo_validate_addr      = eth_validate_addr, 
    192193+       .ndo_set_mac_address    = eth_mac_addr, 
     194+       .ndo_tx_timeout         = ar231x_tx_timeout, 
    193195+}; 
    194196+ 
     
    10381040+ 
    10391041+       return 0; 
     1042+} 
     1043+ 
     1044+static void ar231x_tx_timeout(struct net_device *dev) 
     1045+{ 
     1046+       struct ar231x_private *sp = netdev_priv(dev); 
     1047+       unsigned long flags; 
     1048+ 
     1049+       spin_lock_irqsave(&sp->lock, flags); 
     1050+       ar231x_restart(dev); 
     1051+       spin_unlock_irqrestore(&sp->lock, flags); 
    10401052+} 
    10411053+ 
  • trunk/target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch

    r22412 r22416  
    2626--- /dev/null 
    2727+++ b/drivers/net/ar231x.c 
    28 @@ -0,0 +1,1266 @@ 
     28@@ -0,0 +1,1278 @@ 
    2929+/* 
    3030+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. 
     
    171171+static void rx_tasklet_cleanup(struct net_device *dev); 
    172172+static void ar231x_multicast_list(struct net_device *dev); 
     173+static void ar231x_tx_timeout(struct net_device *dev); 
    173174+ 
    174175+static int ar231x_mdiobus_read(struct mii_bus *bus, int phy_addr, int regnum); 
     
    191192+       .ndo_validate_addr      = eth_validate_addr, 
    192193+       .ndo_set_mac_address    = eth_mac_addr, 
     194+       .ndo_tx_timeout         = ar231x_tx_timeout, 
    193195+}; 
    194196+ 
     
    10381040+ 
    10391041+       return 0; 
     1042+} 
     1043+ 
     1044+static void ar231x_tx_timeout(struct net_device *dev) 
     1045+{ 
     1046+       struct ar231x_private *sp = netdev_priv(dev); 
     1047+       unsigned long flags; 
     1048+ 
     1049+       spin_lock_irqsave(&sp->lock, flags); 
     1050+       ar231x_restart(dev); 
     1051+       spin_unlock_irqrestore(&sp->lock, flags); 
    10401052+} 
    10411053+ 
  • trunk/target/linux/atheros/patches-2.6.34/110-ar2313_ethernet.patch

    r22412 r22416  
    2626--- /dev/null 
    2727+++ b/drivers/net/ar231x.c 
    28 @@ -0,0 +1,1266 @@ 
     28@@ -0,0 +1,1278 @@ 
    2929+/* 
    3030+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. 
     
    171171+static void rx_tasklet_cleanup(struct net_device *dev); 
    172172+static void ar231x_multicast_list(struct net_device *dev); 
     173+static void ar231x_tx_timeout(struct net_device *dev); 
    173174+ 
    174175+static int ar231x_mdiobus_read(struct mii_bus *bus, int phy_addr, int regnum); 
     
    191192+       .ndo_validate_addr      = eth_validate_addr, 
    192193+       .ndo_set_mac_address    = eth_mac_addr, 
     194+       .ndo_tx_timeout         = ar231x_tx_timeout, 
    193195+}; 
    194196+ 
     
    10381040+ 
    10391041+       return 0; 
     1042+} 
     1043+ 
     1044+static void ar231x_tx_timeout(struct net_device *dev) 
     1045+{ 
     1046+       struct ar231x_private *sp = netdev_priv(dev); 
     1047+       unsigned long flags; 
     1048+ 
     1049+       spin_lock_irqsave(&sp->lock, flags); 
     1050+       ar231x_restart(dev); 
     1051+       spin_unlock_irqrestore(&sp->lock, flags); 
    10401052+} 
    10411053+ 
  • trunk/target/linux/atheros/patches-2.6.35/110-ar2313_ethernet.patch

    r22412 r22416  
    2626--- /dev/null 
    2727+++ b/drivers/net/ar231x.c 
    28 @@ -0,0 +1,1266 @@ 
     28@@ -0,0 +1,1278 @@ 
    2929+/* 
    3030+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device. 
     
    171171+static void rx_tasklet_cleanup(struct net_device *dev); 
    172172+static void ar231x_multicast_list(struct net_device *dev); 
     173+static void ar231x_tx_timeout(struct net_device *dev); 
    173174+ 
    174175+static int ar231x_mdiobus_read(struct mii_bus *bus, int phy_addr, int regnum); 
     
    191192+       .ndo_validate_addr      = eth_validate_addr, 
    192193+       .ndo_set_mac_address    = eth_mac_addr, 
     194+       .ndo_tx_timeout         = ar231x_tx_timeout, 
    193195+}; 
    194196+ 
     
    10381040+ 
    10391041+       return 0; 
     1042+} 
     1043+ 
     1044+static void ar231x_tx_timeout(struct net_device *dev) 
     1045+{ 
     1046+       struct ar231x_private *sp = netdev_priv(dev); 
     1047+       unsigned long flags; 
     1048+ 
     1049+       spin_lock_irqsave(&sp->lock, flags); 
     1050+       ar231x_restart(dev); 
     1051+       spin_unlock_irqrestore(&sp->lock, flags); 
    10401052+} 
    10411053+ 
Note: See TracChangeset for help on using the changeset viewer.