projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: setup bc2 mac addresses from the generic network script
[openwrt.git]
/
target
/
linux
/
atheros
/
patches-2.6.37
/
200-ar2313_enable_mvswitch.patch
diff --git
a/target/linux/atheros/patches-2.6.37/200-ar2313_enable_mvswitch.patch
b/target/linux/atheros/patches-2.6.37/200-ar2313_enable_mvswitch.patch
index
bb4af76
..
e590059
100644
(file)
--- a/
target/linux/atheros/patches-2.6.37/200-ar2313_enable_mvswitch.patch
+++ b/
target/linux/atheros/patches-2.6.37/200-ar2313_enable_mvswitch.patch
@@
-1,6
+1,6
@@
--- a/drivers/net/ar231x.c
+++ b/drivers/net/ar231x.c
--- a/drivers/net/ar231x.c
+++ b/drivers/net/ar231x.c
-@@ -7
40,6 +740
,7 @@ static void ar231x_load_rx_ring(struct n
+@@ -7
55,6 +755
,7 @@ static void ar231x_load_rx_ring(struct n
for (i = 0; i < nr_bufs; i++) {
struct sk_buff *skb;
ar231x_descr_t *rd;
for (i = 0; i < nr_bufs; i++) {
struct sk_buff *skb;
ar231x_descr_t *rd;
@@
-8,7
+8,7
@@
if (sp->rx_skb[idx])
break;
if (sp->rx_skb[idx])
break;
-@@ -7
55,7 +756
,9 @@ static void ar231x_load_rx_ring(struct n
+@@ -7
70,7 +771
,9 @@ static void ar231x_load_rx_ring(struct n
* Make sure IP header starts on a fresh cache line.
*/
skb->dev = dev;
* Make sure IP header starts on a fresh cache line.
*/
skb->dev = dev;
@@
-19,7
+19,7
@@
sp->rx_skb[idx] = skb;
rd = (ar231x_descr_t *) & sp->rx_ring[idx];
sp->rx_skb[idx] = skb;
rd = (ar231x_descr_t *) & sp->rx_ring[idx];
-@@ -8
29,20 +832
,23 @@ static int ar231x_rx_int(struct net_devi
+@@ -8
44,20 +847
,23 @@ static int ar231x_rx_int(struct net_devi
/* alloc new buffer. */
skb_new = netdev_alloc_skb(dev, AR2313_BUFSIZE + RX_OFFSET);
if (skb_new != NULL) {
/* alloc new buffer. */
skb_new = netdev_alloc_skb(dev, AR2313_BUFSIZE + RX_OFFSET);
if (skb_new != NULL) {
@@
-48,7
+48,7
@@
/* reset descriptor's curr_addr */
rxdesc->addr = virt_to_phys(skb_new->data);
/* reset descriptor's curr_addr */
rxdesc->addr = virt_to_phys(skb_new->data);
-@@ -12
54,6 +1260
,8 @@ static int ar231x_mdiobus_probe (struct
+@@ -12
69,6 +1275
,8 @@ static int ar231x_mdiobus_probe (struct
return PTR_ERR(phydev);
}
return PTR_ERR(phydev);
}
This page took
0.022839 seconds
and
4
git commands to generate.