[realtek] Can not compile rtl8139.c

Juan Fco Rodriguez Hervella jrh@it.uc3m.es
Mon, 23 Apr 2001 19:00:40 +0200


Hi:

Sorry, but I am very lost.

CONFIG8139too is the same as rtl8139.c ???
Can I overwrite rtl8139.c with rtl8139too without problems ??

How can I upgrade the rtl8139too driver ??

I am actually using 2.2.19, but it is a kernel from
usagi snapshots. I am going to ask to USAGI team, may be
they explain to me what is happening...

Thanks.

Jeff Garzik wrote:
> 
> Juan Fco Rodriguez Hervella wrote:
> >
> > Hi:
> >
> > I am trying to compile the latest "rtl8139.c" file, like a module.
> > When I run "gcc -DMODULE -D__KERNEL__ -O6 -c rtl8139.c", the following
> > errors appear:
> >
> > root@tarantula:~/realtek-8139# gcc -DMODULE -D__KERNEL__ -O6 -c
> > rtl8139.c
> > rtl8139.c: In function `rtl8129_open':
> > rtl8139.c:675: structure has no member named `tbusy'
> > rtl8139.c:676: structure has no member named `interrupt'
> > rtl8139.c:677: structure has no member named `start'
> > rtl8139.c: In function `rtl8129_timer':
> > rtl8139.c:777: structure has no member named `interrupt'
> > rtl8139.c:783: structure has no member named `tbusy'
> > rtl8139.c: In function `rtl8129_tx_timeout':
> > rtl8139.c:910: structure has no member named `tbusy'
> > rtl8139.c: In function `rtl8129_start_xmit':
> > rtl8139.c:940: structure has no member named `tbusy'
> > rtl8139.c:963: structure has no member named `tbusy'
> > rtl8139.c:967: structure has no member named `tbusy'
> > rtl8139.c: In function `rtl8129_interrupt':
> > rtl8139.c:992: structure has no member named `interrupt'
> > rtl8139.c:995: structure has no member named `interrupt'
> > rtl8139.c:1072: structure has no member named `tbusy'
> > rtl8139.c:1073: `NET_BH' undeclared (first use in this function)
> > rtl8139.c:1073: (Each undeclared identifier is reported only once
> > rtl8139.c:1073: for each function it appears in.)
> > rtl8139.c:1152: structure has no member named `interrupt'
> > rtl8139.c: In function `rtl8129_close':
> > rtl8139.c:1275: structure has no member named `start'
> > rtl8139.c:1276: structure has no member named `tbusy'
> > rtl8139.c: In function `rtl8129_get_stats':
> > rtl8139.c:1354: structure has no member named `start'
> >
> > root@tarantula:~/realtek-8139#
> >
> > My kernel is 2.2.19, with USAGI patches for IPv6, and I have
> > the rtl8139 compiled as a module.
> 
> 2.2.19 most certainly has structure members 'start', 'busy', and
> 'interrupt'.
> 
> The output you give is the classic example of trying to compile
> rtl8139.c under 2.4.x.  Use the included CONFIG_8139TOO instead.
> 
> --
> Jeff Garzik      | The difference between America and England is that
> Building 1024    | the English think 100 miles is a long distance and
> MandrakeSoft     | the Americans think 100 years is a long time.
>                  |      (random fortune)
> 
> _______________________________________________
> realtek mailing list
> realtek@scyld.com
> http://www.scyld.com/mailman/listinfo/realtek

-- 
*********************************
Juan F. Rodriguez Hervella
Universidad Carlos III de Madrid
********************************