projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port SPI-GPIO driver from 2.6.29-rc4
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.27
/
630-phy_packets.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.27/630-phy_packets.patch
b/target/linux/generic-2.6/patches-2.6.27/630-phy_packets.patch
index
4fe1357
..
b4e8b4d
100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.27/630-phy_packets.patch
+++ b/
target/linux/generic-2.6/patches-2.6.27/630-phy_packets.patch
@@
-30,7
+30,7
@@
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
-@@ -309,6 +309,
17
@@ struct phy_device {
+@@ -309,6 +309,
20
@@ struct phy_device {
void (*adjust_link)(struct net_device *dev);
void (*adjust_state)(struct net_device *dev);
void (*adjust_link)(struct net_device *dev);
void (*adjust_state)(struct net_device *dev);
@@
-45,6
+45,9
@@
+ */
+ int (*netif_receive_skb)(struct sk_buff *skb);
+ int (*netif_rx)(struct sk_buff *skb);
+ */
+ int (*netif_receive_skb)(struct sk_buff *skb);
+ int (*netif_rx)(struct sk_buff *skb);
++
++ /* alignment offset for packets */
++ int pkt_align;
};
#define to_phy_device(d) container_of(d, struct phy_device, dev)
};
#define to_phy_device(d) container_of(d, struct phy_device, dev)
This page took
0.024094 seconds
and
4
git commands to generate.