]> git.pld-linux.org Git - packages/kernel.git/blob - atm-20-fore200e-gettimeofday.patch
- added description of djurban's branch
[packages/kernel.git] / atm-20-fore200e-gettimeofday.patch
1 In message <20030225131546.GL7685@fs.tum.de>,Adrian Bunk writes:
2 >drivers/atm/fore200e.o drivers/atm/fore200e.c
3 >drivers/atm/fore200e.c: In function `fore200e_push_rpd':
4 >drivers/atm/fore200e.c:1135: structure has no member named `timestamp'
5 >drivers/atm/fore200e.c:1136: structure has no member named `timestamp'
6
7 it shouldnt be doing that.  you only need to set the timestamp in the 
8 skb.  i see the eni driver does the same thing.  i will see about
9 a patch for that shortly.
10
11 Index: linux/drivers/atm/fore200e.c
12 ===================================================================
13 RCS file: /home/chas/CVSROOT/linux/drivers/atm/fore200e.c,v
14 retrieving revision 1.1.1.1
15 diff -u -d -b -w -r1.1.1.1 fore200e.c
16 --- linux/drivers/atm/fore200e.c        20 Feb 2003 13:45:03 -0000      1.1.1.1
17 +++ linux/drivers/atm/fore200e.c        25 Feb 2003 14:42:06 -0000
18 @@ -1135,7 +1135,7 @@
19         return;
20      } 
21  
22 -    skb->stamp = vcc->timestamp = xtime;
23 +    do_gettimeofday(&skb->stamp);
24      
25  #ifdef FORE200E_52BYTE_AAL0_SDU
26      if (cell_header) {
27 -
28 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
29 the body of a message to majordomo@vger.kernel.org
30 More majordomo info at  http://vger.kernel.org/majordomo-info.html
31 Please read the FAQ at  http://www.tux.org/lkml/
This page took 0.423803 seconds and 3 git commands to generate.