[realtek] Re: compiling problem

Donald Becker becker@scyld.com
Tue Jan 29 12:17:01 2002


On 29 Jan 2002, Cristiano De Michele wrote:

> I downloaded your last release (v1.17) of your rtl8139.c driver

That didn't take long -- I released the new driver set late last night
(early this morning) into the test directory, and haven't yet announced
the new versions. 

> but I can't compile it indeed I get the following errors:
>
> rtl8139.c:336: parse error before string constant
> rtl8139.c:336: warning: type defaults to `int' in declaration of
> `MODULE_LICENSE'

You also need the new kern_compat.h, which I needed to update to support
the requirement for MODULE_LICENSE("GPL") in the later 2.4 kernel.

> rtl8139.c:1440: `NETIF_MSG_RXFILTER' undeclared (first use in this
> function)

Also defined in the new kern_compat.h.  This is part of the new
NETIF_MSG settings, which is a low-overhead way of selectively enabling
driver message.  By default most messages are disabled, but different
messages types can be enabled per-interface while the driver is running.

> I have also a question: actually I use your rtl8139.c v1.16a 
> driver with my pcmcia ethernet card and I have kernel 2.2.20, 
> anyway I would install kernel 2.4.x on my laptop but my main doubt
> is whether it's any chance to make my ethernet pcmcia card
> work with kernel 2.4.x, what do you think about? 

I'm about to start working on the 2.4 CardBus support -- it should work
now, but I can't say for certain.


Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993