mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
atheros: merge a few patches into the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26556 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#ifndef ERR
|
||||
#define ERR(fmt, args...) printk("%s: " fmt, __func__, ##args)
|
||||
@@ -283,6 +284,21 @@ int __init ar231x_probe(struct platform_
|
||||
@@ -298,6 +299,21 @@ int __init ar231x_probe(struct platform_
|
||||
|
||||
mdiobus_register(sp->mii_bus);
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
if (ar231x_mdiobus_probe(dev) != 0) {
|
||||
printk(KERN_ERR "%s: mdiobus_probe failed\n", dev->name);
|
||||
rx_tasklet_cleanup(dev);
|
||||
@@ -339,8 +355,10 @@ static int __devexit ar231x_remove(struc
|
||||
@@ -354,8 +370,10 @@ static int __devexit ar231x_remove(struc
|
||||
rx_tasklet_cleanup(dev);
|
||||
ar231x_init_cleanup(dev);
|
||||
unregister_netdev(dev);
|
||||
@@ -43,7 +43,7 @@
|
||||
kfree(dev);
|
||||
return 0;
|
||||
}
|
||||
@@ -841,7 +859,12 @@ static int ar231x_rx_int(struct net_devi
|
||||
@@ -856,7 +874,12 @@ static int ar231x_rx_int(struct net_devi
|
||||
dev->stats.rx_bytes += skb->len;
|
||||
|
||||
/* pass the packet to upper layers */
|
||||
@@ -57,7 +57,7 @@
|
||||
skb_new->dev = dev;
|
||||
|
||||
/* 16 bit align */
|
||||
@@ -1138,6 +1161,9 @@ static int ar231x_ioctl(struct net_devic
|
||||
@@ -1153,6 +1176,9 @@ static int ar231x_ioctl(struct net_devic
|
||||
struct ar231x_private *sp = netdev_priv(dev);
|
||||
int ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user