diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2005-09-25 06:46:30 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-09-25 06:46:30 +0000 |
commit | c5e3e839eb7fd3ccadb0e9b1a7f71de7ff97f29f (patch) | |
tree | 59d0b9b0e5a1ec70504dbada3e80a73e86c1c67d /packages/ixp425-eth/files | |
parent | 700b8e3f9bad98c84f78a1088e0699614812fff8 (diff) |
ixp425_eth: commit fixes for 2.6.14 kernels
Diffstat (limited to 'packages/ixp425-eth/files')
-rw-r--r-- | packages/ixp425-eth/files/2.6.14.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/ixp425-eth/files/2.6.14.patch b/packages/ixp425-eth/files/2.6.14.patch new file mode 100644 index 0000000000..c86ff971ed --- /dev/null +++ b/packages/ixp425-eth/files/2.6.14.patch @@ -0,0 +1,16 @@ +# change in field semantic in 2.6.14 +--- dir/ixp425_eth.c 2005-09-24 17:50:57.828607113 -0700 ++++ dir/ixp425_eth.c 2005-09-24 17:54:19.593303365 -0700 +@@ -1300,8 +1300,12 @@ + 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.tv_sec = irq_stamp.tv_sec; + skb->stamp.tv_usec = irq_stamp.tv_usec; ++#else ++ skb_set_timestamp(skb, &irq_stamp); ++#endif + + /* fill the input device field */ + skb->dev = dev; |