Re: Philippe Belgium kernel 2.6.27-9-generic

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

 



Joshua & Bjorn

Thanks, found it,  Changing  in v8250.c    line 181
from
struct tty_struct *tty = up->port.info->tty;
to
struct tty_struct *tty = up->port.info->port.tty;
enables the compile, though I lack the hardware for a functional test.

MarvS


On Sun, Jan 25, 2009 at 8:57 PM, Joshua Gordon Crawford
<jgcrawford@xxxxxxxxx> wrote:
> 2009/1/25 Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>:
>>
>> /usr/src/modules/ltmodem$ make modules
>> make -C /lib/modules/2.6.27-9-generic/build
>> M="/usr/src/modules/ltmodem"  modules
>> make[1]: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
>>  CC [M]  /usr/src/modules/ltmodem/v8250.o
>> /usr/src/modules/ltmodem/v8250.c: In function 'receive_chars':
>> /usr/src/modules/ltmodem/v8250.c:181: error: 'struct uart_info' has no
>> member named 'tty'
>> make[2]: *** [/usr/src/modules/ltmodem/v8250.o] Error 1
>> make[1]: *** [_module_/usr/src/modules/ltmodem] Error 2
>> make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
>> make: *** [modules] Error 2
>
> Marv, this is the same as the problem I reported for agrsm-20080203.
> The struct uart_info has changed slightly with linux 2.6.27.  Take a
> look at line 181 in v8250.c, and you'll see a reference like "->tty".
> Just change that to "->port.tty" and it should compile just fine.
> --
> Joshua Crawford ... http://geocities.com/mortarn
>
> http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn
> Be rewarded! Join RewardsCentral today!
>

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

  Powered by Linux