RE: Conexant HSFlinmodem + serial_core.c [was RE: conexant combo]

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

 



> -----Original Message-----
> From: M A Young [mailto:m.a.young@xxxxxxxxxxxx]
> Sent: Thursday, December 04, 2003 6:42 AM
> To: fedora-list@xxxxxxxxxx
> Subject: Re: Conexant HSFlinmodem + serial_core.c [was RE: conexant
> combo]
> 
> 
> On Wed, 3 Dec 2003, Ow Mun Heng wrote:
> 
> > > -----Original Message-----
> > > From: Ow Mun Heng
> > > Sent: Wednesday, December 03, 2003 9:51 AM
> > > To: fedora-list@xxxxxxxxxx
> > > Subject: RE: conexant combo
> > > currently with the
> > > 2.4.23 kernel, it can't seem to compile.
> >
> > ...
> >
> > It should compile fine... According to him, it's 
> based/tested on FC1.
> > [From http://freax.be/]
> 
> 2.4.23 is not a Fedora kernel. The line

DUH!.. 

> if ((atomic_read(&(tty->count)) == 1) && (state->count != 1)) {
> works for me on both the original and updated Fedora kernels.

Good for you..
> 
> You are more likely to see answers for 2.4.23 on the mailling 
> lists at the
> linuxant site.

Think not.. since they will will most likely tell you to pay the USD14.95
for it. Although serial_core.c is GPL.

BTW, I got it working already. Just needed to comment out a few lines in
modules/makefile

[original]
# Remove the following if your OS already has the new serial core
# (expected to be merged one day in linux 2.5)
#serial_hsf.o: CFLAGS += -DCNXTSERIAL_INCLUDE_CORE
# The following is a workaround as the previous line causes certain
# versions of GNU make to crash with the message:
# "make: expand.c:489: allocated_variable_append: Assertion
#`current_variable_set_list->next != 0' failed."
CFLAGS-serial_hsf = -DCNXTSERIAL_INCLUDE_CORE

serial_hsf.o: serial_core.c serial_core.h

[patched]
# Remove the following if your OS already has the new serial core
# (expected to be merged one day in linux 2.5)
serial_hsf.o: CFLAGS += -DCNXTSERIAL_INCLUDE_CORE  <----
# The following is a workaround as the previous line causes certain
# versions of GNU make to crash with the message:
# "make: expand.c:489: allocated_variable_append: Assertion
#`current_variable_set_list->next != 0' failed."
#CFLAGS-serial_hsf = -DCNXTSERIAL_INCLUDE_CORE

#serial_hsf.o: serial_core.c serial_core.h

and keep

if (((tty->count) == 1) && (state->count != 1)) {

AS is.. Compiled fine




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux