[realtek] trying to compile cardservice driver

patrick thempel patrick_thempel@yahoo.com
Sun Oct 27 04:29:00 2002


hello,

maybe someone can help me.
 bought a pcmcia networking card , cardbus, with
rtl8139 chip.
came with a module realtek_cb.o and a source
rtl8139.c.

the module is for a 2.2.kernel (2.2.20 i think or
somewhere close) and cant be used .

i started with a 2.4.5 kernel , and since have
upgraded my system to suse 8.0 (2.4.18 kernel).
the upgrade in the hope maybe the card would be
somehow magically work with the new system  ( which it
didnt).

also downloaded the pcmcia package from sourceforge
(pcmcia3.2.1).

tried to get the card working with the rtl8139too
module, i read somewhere that pcmcia is just pci in
disguise. didnt work

been trying since to compile my own module, to no
avail.

heres the excerpt of what i get in return:
the command is what i found at the end of the source,
edited to my settings

gcc -DMODULE -D__KERNEL__ -O6 -c rtl8139.c
-I/lib/modules/2.4.18-4GB/build/include
-I/homes/public/pcmcia/include
rtl8139.c: In function `rtl8139_probe':
rtl8139.c:408: structure has no member named
`base_address'
rtl8139.c: In function `rtl8129_probe1':
rtl8139.c:471: warning: passing arg 1 of
`init_etherdev' from incompatible pointer type
rtl8139.c:471: warning: assignment from incompatible
pointer type
rtl8139.c:474: dereferencing pointer to incomplete
type
rtl8139.c:482: dereferencing pointer to incomplete
type
rtl8139.c:486: dereferencing pointer to incomplete
type
rtl8139.c:487: dereferencing pointer to incomplete
type
rtl8139.c:490: dereferencing pointer to incomplete
type
rtl8139.c:492: dereferencing pointer to incomplete
type
rtl8139.c:493: dereferencing pointer to incomplete
type
rtl8139.c:498: dereferencing pointer to incomplete
type
rtl8139.c:518: dereferencing pointer to incomplete
type
rtl8139.c:524: dereferencing pointer to incomplete
type
rtl8139.c:547: dereferencing pointer to incomplete
type


=====
Mit freundlichen Gruessen

Patrick Thempel
mail:patrick_thempel@yahoo.com

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/