Problem initializing hostap_cs on dwl 650
Amit Gurdasani
gurdasani
Sat Nov 16 19:33:14 PST 2002
: It looks like that your PCMCIA driver cannot figure out what interrupts
: (ISA or PCI) should be used for the PCMCIA cards.
:
: If you are using pcmcia-cs from RedHat, recompile the kernel without
: PCMCIA or recompile pcmcia-cs, but configure it with the "--force" option
: to compile the new modules.
:
: Once you have done it (or if you have pcmcia-cs modules already)
: give the option irq_mode=0 for the i82365 module.
Agreed, but also specify pci_int=1 pci_csc=1 as arguments to i82365.o along
with irq_list=0. The DWL-650 is a CardBus adapter, and doesn't appear to
work with ISA interrupts enabled as opposed to PCI interrupts and status
changes.
e.g. on my laptop (using a TI 1225 PCIC), I see, after providing these
arguments:
Linux PCMCIA Card Services 3.2.1
kernel build: 2.4.18 #1 Thu Jul 18 22:57:45 EDT 2002
options: [pci] [cardbus] [apm] [pnp]
PnP: PNP BIOS installation structure at 0xc00fe2d0
PnP: PNP BIOS version 1.0, entry at f0000:e2f4, dseg at 40
Intel ISA/PCI/CardBus PCIC probe:
PCI: Found IRQ 11 for device 00:03.0
PCI: Sharing IRQ 11 with 00:03.1
PCI: Sharing IRQ 11 with 00:07.2
PCI: Found IRQ 11 for device 00:03.1
PCI: Sharing IRQ 11 with 00:03.0
PCI: Sharing IRQ 11 with 00:07.2
TI 1225 rev 01 PCI-to-CardBus at slot 00:03, mem 0x10000000
host opts [0]: [ring] [serial pci & irq] [pci irq 11] [lat 32/32] [bus 2/5]
host opts [1]: [ring] [serial pci & irq] [pci irq 11] [lat 32/32] [bus 6/9]
PCI card interrupts, PCI status changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you see different, ensure
you're passing the right arguments to the PCIC driver
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH Communications Security Corp, Jouni Malinen)
hostap_cs: (c) Jouni Malinen <jkmaline at cc.hut.fi>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
cs: IO port probe 0x0100-0x04ff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: clean.
hostap_cs: index 0x01: Vcc 3.3, irq 11, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 13022 iterations
wlan0: NIC: id=0x800c v1.0.0
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.4.9
See the PCMCIA HOWTO off the LDP for more information (especially the
section on resource starvation).
FWIW, this is for the modules that come with pcmcia_cs (as can be
ascertained from the Linux PCMCIA Card Services 3.2.1 line). The kernel
PCMCIA modules include yenta_socket.o, which correctly switches to PCI
interrupts for CardBus bridges.
More information about the Hostap
mailing list