1. 09 May, 2006 10 commits
  2. 08 May, 2006 16 commits
  3. 07 May, 2006 11 commits
  4. 06 May, 2006 3 commits
    • Russell King's avatar
      [ARM] rtc-sa1100: fix compiler warnings and error cleanup · f1226701
      Russell King authored
      Fix:
      drivers/rtc/rtc-sa1100.c: In function `sa1100_rtc_proc':
      drivers/rtc/rtc-sa1100.c:298: warning: unsigned int format, long unsigned int arg (arg 3)
      
      and arrange for sa1100_rtc_open() to pass the devid to free_irq()
      rather than NULL.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      f1226701
    • Russell King's avatar
      [ARM] Allow SA1100 RTC alarm to be configured for wakeup · 19ca5d27
      Russell King authored
      The SA1100 RTC alarm can be configured to wake up the CPU
      from sleep mode, and the RTC driver has been using the
      API to configure this mode.  Unfortunately, the code was
      which sets the required bit in the hardware was missing.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      19ca5d27
    • John Heffner's avatar
      [TCP]: Fix snd_cwnd adjustments in tcp_highspeed.c · 5528e568
      John Heffner authored
      Xiaoliang (David) Wei wrote:
      > Hi gurus,
      > 
      >    I am reading the code of tcp_highspeed.c in the kernel and have a
      > question on the hstcp_cong_avoid function, specifically the following
      > AI part (line 136~143 in net/ipv4/tcp_highspeed.c ):
      > 
      >                /* Do additive increase */
      >                if (tp->snd_cwnd < tp->snd_cwnd_clamp) {
      >                        tp->snd_cwnd_cnt += ca->ai;
      >                        if (tp->snd_cwnd_cnt >= tp->snd_cwnd) {
      >                                tp->snd_cwnd++;
      >                                tp->snd_cwnd_cnt -= tp->snd_cwnd;
      >                        }
      >                }
      > 
      >    In this part, when (tp->snd_cwnd_cnt == tp->snd_cwnd),
      > snd_cwnd_cnt will be -1... snd_cwnd_cnt is defined as u16, will this
      > small chance of getting -1 becomes a problem?
      > Shall we change it by reversing the order of the cwnd++ and cwnd_cnt -= 
      > cwnd?
      
      Absolutely correct.  Thanks.
      Signed-off-by: default avatarJohn Heffner <jheffner@psc.edu>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5528e568