projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar7] add back the fixed PHY patches from #3124, until we move this to platform_data
[openwrt.git]
/
target
/
linux
/
ar7
/
patches-2.6.27
/
900-cpmac_multiqueue.patch
diff --git
a/target/linux/ar7/patches-2.6.27/900-cpmac_multiqueue.patch
b/target/linux/ar7/patches-2.6.27/900-cpmac_multiqueue.patch
index
1484e2b
..
c604aa4
100644
(file)
--- a/
target/linux/ar7/patches-2.6.27/900-cpmac_multiqueue.patch
+++ b/
target/linux/ar7/patches-2.6.27/900-cpmac_multiqueue.patch
@@
-19,7
+19,7
@@
because other drivers do it in the same way.
--- a/drivers/net/cpmac.c
+++ b/drivers/net/cpmac.c
--- a/drivers/net/cpmac.c
+++ b/drivers/net/cpmac.c
-@@ -621,13 +621,13 @@
+@@ -621,13 +621,13 @@
static void cpmac_end_xmit(struct net_de
dev_kfree_skb_irq(desc->skb);
desc->skb = NULL;
dev_kfree_skb_irq(desc->skb);
desc->skb = NULL;
@@
-35,7
+35,7
@@
because other drivers do it in the same way.
netif_wake_subqueue(dev, queue);
}
}
netif_wake_subqueue(dev, queue);
}
}
-@@ -737,7 +737,6 @@
+@@ -737,7 +737,6 @@
static void cpmac_clear_tx(struct net_de
static void cpmac_hw_error(struct work_struct *work)
{
static void cpmac_hw_error(struct work_struct *work)
{
@@
-43,7
+43,7
@@
because other drivers do it in the same way.
struct cpmac_priv *priv =
container_of(work, struct cpmac_priv, reset_work);
struct cpmac_priv *priv =
container_of(work, struct cpmac_priv, reset_work);
-@@ -824,7 +823,6 @@
+@@ -824,7 +823,6 @@
static irqreturn_t cpmac_irq(int irq, vo
static void cpmac_tx_timeout(struct net_device *dev)
{
static void cpmac_tx_timeout(struct net_device *dev)
{
@@
-51,7
+51,7
@@
because other drivers do it in the same way.
struct cpmac_priv *priv = netdev_priv(dev);
spin_lock(&priv->lock);
struct cpmac_priv *priv = netdev_priv(dev);
spin_lock(&priv->lock);
-@@ -1103,7 +1101,7 @@
+@@ -1103,7 +1101,7 @@
static int external_switch;
static int __devinit cpmac_probe(struct platform_device *pdev)
{
static int __devinit cpmac_probe(struct platform_device *pdev)
{
@@
-60,7
+60,7
@@
because other drivers do it in the same way.
char *mdio_bus_id = "0";
struct resource *mem;
struct cpmac_priv *priv;
char *mdio_bus_id = "0";
struct resource *mem;
struct cpmac_priv *priv;
-@@ -1132,6 +1130,7 @@
+@@ -1132,6 +1130,7 @@
static int __devinit cpmac_probe(struct
}
dev = alloc_etherdev_mq(sizeof(*priv), CPMAC_QUEUES);
}
dev = alloc_etherdev_mq(sizeof(*priv), CPMAC_QUEUES);
This page took
0.021545 seconds
and
4
git commands to generate.