diff options
author | Rod Whitby <rod@whitby.id.au> | 2006-06-24 07:20:47 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-06-24 07:20:47 +0000 |
commit | 55b70abcdb29a259439bb568759fba30baac1b02 (patch) | |
tree | 35e72c01577ca9f8e500f8b20e583db3d1c4a27a /packages/ixp425-eth/ixp400-eth-1.5.1/2.6.14.patch | |
parent | dae6ee2ec2e83177a3b407486ee3291770bcbfca (diff) |
ixp400-eth: Added version 1.5.1 - builds, untested
Diffstat (limited to 'packages/ixp425-eth/ixp400-eth-1.5.1/2.6.14.patch')
-rw-r--r-- | packages/ixp425-eth/ixp400-eth-1.5.1/2.6.14.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/ixp425-eth/ixp400-eth-1.5.1/2.6.14.patch b/packages/ixp425-eth/ixp400-eth-1.5.1/2.6.14.patch new file mode 100644 index 0000000000..fb55f92868 --- /dev/null +++ b/packages/ixp425-eth/ixp400-eth-1.5.1/2.6.14.patch @@ -0,0 +1,28 @@ + ixp400_eth.c | 6 +++++- + 1 files changed, 5 insertions(+), 1 deletion(-) + +Index: ixp400-eth-1.5.1-r0/ixp400_eth.c +=================================================================== +--- ixp400-eth-1.5.1-r0.orig/ixp400_eth.c ++++ ixp400-eth-1.5.1-r0/ixp400_eth.c +@@ -1848,7 +1848,11 @@ + skb->len -= header_len; + + /* fill the pkt arrival time (set at the irq callback entry) */ ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) + skb->stamp = irq_stamp; ++#else ++ skb_set_timestamp(skb, &irq_stamp); ++#endif + + /* fill the input device field */ + skb->dev = dev; +@@ -3040,7 +3044,7 @@ + } + + /* set port MAC addr and update the dev struct if successfull */ +-int ixp400_dev_set_mac_address(struct net_device *dev, void *addr) ++static int ixp400_dev_set_mac_address(struct net_device *dev, void *addr) + { + int res; + IxEthAccMacAddr npeMacAddr; |