rtl8180 pcmcia wlan card driver - seeking for help
Christian Heimes <[email protected]> Fri, 13 Jun 2003 15:34:44 +0200
| Newsgroups | gmane.linux.drivers.realtek.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello!
I hope this list is not the wrong list for my question ...
I bought a Realtek 8180 pcmcia wlan card with "linux support". The card is not directly supported by the kernel or the pcmcia cs package. At first I tried the rtl8139 driver from the kernel and http://www.scyld.com/network/rtl8139.html because the card looks like a rtl8139 10/100MBit PCI card clone
$ cardctl ident
[...]
Socket 1:
product info: "Realtek", "Rtl8139"
manfid: 0x0000, 0x024c
function: 6 (network)
PCI id: 0x10ec, 0x8180
Then I tried the drivers from realtek
http://www.realtek.com.tw/downloads/downloads1-3.aspx?software=True&refdesign=True&spec=True&other=True&series=2002121.
The Redhat specific drivers don't work (see below), SuSE specifiy driver didnt' compile with gcc3.2.3
make
gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -c -o r8180_pci_init.o r8180_pci_init.c
In file included from r8180_pci_init.c:40:
r8180_if.h:87: syntax error before '*' token
r8180_if.h:88: syntax error before '*' token
r8180_if.h:89: syntax error before '*' token
make: *** [r8180_pci_init.o] Error 1
******** RTL8180 Wireless Lan Driver Version 1.0 loaded when
06:50.84********
RTL8180: : region #1 not a MMIO resource, aborting printing eip: c022a9ca
Oops: 0000
CPU: 0
EIP: 0010:[vsnprintf+558/1056] Not tainted
EFLAGS: 00010097
eax: 000000ac ebx: c02e4989 ecx: 000000ac edx: fffffffe
esi: c44b5ea8 edi: ffffffff ebp: 000000ac esp: c44b5e54
ds: 0018 es: 0018 ss: 0018
Process insmod (pid: 11425, stackpage=c44b5000)
Stack: 000000ac 00000246 00000000 c44b5ec8 00000000 00000000 ffffffff 00000000
c02e4d7f c01182af c02e4980 00000400 d094bcc1 c44b5ea4 000000ac 00000000
00000000 c44b5ec8 d0933253 d094bcb7 000000ac c027eb68 c011810b 00002831
Call Trace: [printk+87/276] [<d094bcc1>] [<d0933253>] [<d094bcb7>]
[_call_console_drivers+83/88] [<d09569c0>] [<d0956a00>] [pci_announce_device+53/80] [<d09569c0>]
[<d0956a00>] [pci_register_driver+72/96] [<d0956a00>] [<d093306c>] [<d09335c0>] [<d0956a00>]
[sys_init_module+1317/1480] [<d0933060>] [system_call+51/56]
Code: 80 38 00 74 07 40 4a 83 fa ff 75 f4 29 c8 89 44 24 10 8b 44
This is the debug message with IO_FLAGS = RTL_MEM_MAP. RTL_IO_MAP fails, too.
Any suggestions? I'm using Debian a testing/unstable mix on an i686 with an VIA Apollo ProMedia Chipset. The kernel and all modules are compiled with gcc3.2.3 under debian testing with some part from unstable because gcc3.3 has some problems with an inline statement in the kernel sources.
thx for your help
Christian