[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pcmcia autodetect



Hi everybody,

I'm having some trouble with the configuration of my pcmcia network card under Debian. When I load the appropriate driver manually (modprobe xircom_cb) and issue a dhcp request (dhclient eth0) everything works fine. I would like the cardmgr to load the xircom_cb module automatically when the card is put in the pcmcia slot on my laptop (ThinkPad T21), but that doesn't seem to work.

When I put the pcmcia card (IBM EtherJet) into a pcmcia card and xircom_cb is not yet loaded, I get a message like this one:

cs: cb_alloc(bus 2): vendor 0x115d device 0x0003
PCI: Enabling device 02:00.0 (0000 -> 0003)

With the xircom_cb module already loaded, it says the same plus:

PCI: Setting latency timer of device 02:00.0 to 64
eth0: Xircom cardbus revision 3 at irq 11

How can I tell cardmgr to automatically load the xircom_cb module and issue a dhcp request? I thought the config below should do the trick... I tried with both the manfid and the version info of the IBM etherjet card.

Hope somebody can help me out...

Cheers,
Chris.

----------------
*** uname -a

Linux sornico 2.4.19 #10 Mon Nov 4 11:50:08 CET 2002 i686 unknown unknown GNU/Linux

*** /etc/pcmcia/config

device "xircom_cb"
 class "network" module "cb_enabler", "xircom_cb"

card "IBM 10/100 EtherJet CardBus"
version "IBM", "10/100 EtherJet CardBus", "IBMC-10/100", "1.04" (tried this)
 manfid 0x00a4, 0x0113 (and tried this)
 bind "xircom_cb"

*** dump_cis output (with card in slot 1):

Socket 0:
 no CIS present

Socket 1:
 vers_1 5.0, "IBM", "10/100 EtherJet CardBus", "IBMC-10/100", "1.04"
 manfid 0x00a4, 0x0113
 funcid network_adapter
 lan_node_id 00 06 29 95 4a 9d
 lan_technology ethernet
 lan_speed 10 mb/sec
 lan_speed 100 mb/sec
 lan_media unshielded_twisted_pair
 lan_media thin_coax
 lan_connector Closed connector standard
 BAR 1 size 128b [io]
 BAR 2 size 128b [mem] [prefetch]
 BAR 3 size 256b [mem] [prefetch]
 BAR 7 size 1kb [mem] [prefetch]
 config_cb base 0x0103 last_index 0x02
 cftable_entry_cb 0x01 [default]
   [master] [invalidate] [parity] [wait] [serr] [fast back]
   irq mask 0x8ebc [level] [shared]
   mem_base 1 2 3
 cftable_entry_cb 0x02
   [master] [invalidate] [parity] [wait] [serr] [fast back]
   io_base 1
   irq mask 0x8ebc [level] [shared]
   mem_base 2 3 4

*** /etc/network/interfaces

auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp



Reply to: