Re: Fwd: agrsm patch for kernel 2.6.27.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That is an EXTREMELY outdated package... Please use agrsm-20080808, at
least, or furthermore, the packages in Zsolt's repositories- those work
properly.
Bjorn.

Marvin Stodolsky wrote:
> ---------- Forwarded message ----------
> From: Joshua Gordon Crawford <jgcrawford@xxxxxxxxx>
> Date: Wed, Jan 21, 2009 at 8:50 PM
> Subject: agrsm patch for kernel 2.6.27.7
> To: Linmodems <discuss@xxxxxxxxxxxxx>
> 
> 
> G'day,
> 
> It's been a while since I read this list, so sorry if this is old news.
> 
> I've just upgraded my system and found that agrsm-20080203 won't
> compile on recent kernels. It compiled for 2.6.24.5, but does not
> compile on 2.6.27.7. One struct member has been renamed in the kernel
> headers. There's a small patch below to update the agrsm source code.
> 
> diff -upPr agrsm-20080203/serial26.c agrsm/serial26.c
> --- agrsm-20080203/serial26.c   2007-08-04 13:11:05.000000000 +1000
> +++ agrsm/serial26.c    2009-01-22 12:56:19.000000000 +1100
> @@ -1004,7 +1004,7 @@ static void serial8250_enable_ms(struct
>  static _INLINE_ void
>  receive_chars(struct uart_8250_port *up, int *status, struct pt_regs *regs)
>  {
> -       struct tty_struct *tty = up->port.info->tty;
> +       struct tty_struct *tty = up->port.info->port.tty;
>        unsigned char ch, lsr = *status;
>        int max_count = 256;
>        char flag;
> --
> Joshua Crawford ... http://geocities.com/mortarn
> 
> http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn
> Be rewarded! Join RewardsCentral today!
> 

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux