~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/isdn/i4l/isdn_ppp.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1514
1514
#define MP_LONGSEQ_MAXBIT       ((MP_LONGSEQ_MASK+1)>>1)
1515
1515
#define MP_SHORTSEQ_MAXBIT      ((MP_SHORTSEQ_MASK+1)>>1)
1516
1516
 
1517
 
/* sequence-wrap safe comparisions (for long sequence)*/ 
 
1517
/* sequence-wrap safe comparisons (for long sequence)*/
1518
1518
#define MP_LT(a,b)      ((a-b)&MP_LONGSEQ_MAXBIT)
1519
1519
#define MP_LE(a,b)      !((b-a)&MP_LONGSEQ_MAXBIT)
1520
1520
#define MP_GT(a,b)      ((b-a)&MP_LONGSEQ_MAXBIT)
1746
1746
                 * then next fragment should be the start of new reassembly
1747
1747
                 * if sequence is contiguous, but we haven't reassembled yet,
1748
1748
                 * keep going.
1749
 
                 * if sequence is not contiguous, either clear everyting
 
1749
                 * if sequence is not contiguous, either clear everything
1750
1750
                 * below low watermark and set start to the next frag or
1751
1751
                 * clear start ptr.
1752
1752
                 */