As internal 3Com mini-PCI modem still unsupported under Linux,
I use modem from
Xircom Realport RBEM56G-100BTX combo card (ethernet+modem).
It is supported by pcmcia-cs package (current release is 3.1.24). |
Here is the extract from dmesg:
Linux PCMCIA Card Services 3.1.24
kernel build: 2.2.19 #1 Wed May 9 16:16:09 MSD 2001
options: [pci] [cardbus] [apm]
PCI routing table version 1.0 at 0xfdee0
00:02.0 -> irq 11
00:02.1 -> irq 11
Intel PCIC probe:
TI 1450 rev 03 PCI-to-CardBus at slot 00:02, mem 0x50000000
host opts [0]: [ring] [serial pci & irq] [pci irq 11] [lat 64/176] [bus 2/4]
host opts [1]: [ring] [serial pci & irq] [pci irq 11] [lat 64/176] [bus 5/7]
ISA irqs (scanned) = 3,4,5,7,9,10 PCI status changes
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: cb_alloc(bus 5): vendor 0x115d, device 0x0003
ROM image dump:
image 0: 0x000000-0x0001ff, signature PCIR
eth0: Initial media type MII.
eth0: MII #0 status 786d, link partner capability 40a1, setting half-duplex.
cs: cb_config(bus 5)
fn 0 bar 2: mem 0x60013000-0x600137ff
fn 0 bar 3: mem 0x60012000-0x600127ff
fn 1 bar 1: io 0x280-0x287
fn 1 bar 2: mem 0x60011000-0x600117ff
fn 1 bar 3: mem 0x60010000-0x600107ff
fn 0 bar 1: io 0x200-0x27f
fn 0 rom: mem 0x6000c000-0x6000ffff
fn 1 rom: mem 0x60008000-0x6000bfff
irq 11
cs: cb_enable(bus 5)
bridge io map 0 (flags 0x21): 0x200-0x287
bridge mem map 0 (flags 0x1): 0x60008000-0x60013fff
tulip_attach(device 05:00.0)
tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
eth1: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x200, 00:10:A4:EF:0D:0F, IRQ 11.
eth1: MII transceiver #0 config 3100 status 7809 advertising 01e1.
serial_attach(device 05:00.1)
tty00 at 0x0280 (irq = 11) is a 16550A
Modem works fine at cua0. Unfortunately, there is a problem with ethernet (non-essential, as eth0 works on 3com internal mini-pci card). The tulip.c driver is buggy for this Xircom card for pcmcia-cs versions after 3.1.20.
My workaround is very simple: copy clients/tulip_cb.c from pcmcia-cs-3.1.20 over the tulip_cb.c in pcmcia-cs-3.1.24 and rebuild the package.
Unfortunately, both tulip drivers reports the same version, but you may see (using diff) that the source codes are rather different.