From c5e3e839eb7fd3ccadb0e9b1a7f71de7ff97f29f Mon Sep 17 00:00:00 2001 From: John Bowler Date: Sun, 25 Sep 2005 06:46:30 +0000 Subject: ixp425_eth: commit fixes for 2.6.14 kernels --- packages/ixp425-eth/files/2.6.14.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/ixp425-eth/files/2.6.14.patch (limited to 'packages/ixp425-eth/files') 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; -- cgit v1.2.3