2.6.x kernels & PCI-to-PCMCIA bridges [again]
komujun at nifty.com
komujun at nifty.com
Sat May 1 09:26:27 BST 2004
Please remove SS_CAP_PAGE_REGS from the pd6729.c
and try again.
- sockets[i]->socket.features |= SS_CAP_PAGE_REGS | SS_CAP_PCCARD;
+ sockets[i]->socket.features |= SS_CAP_PCCARD;
It seems the pd6729 driver does not work
if memory probe is 0xa0000000-0xa0ffffff
in your PC.
Best Regards
Komuro
>
>I just tried the pd6729 driver in FC2-test (2.6.5 kernel) with same
>prosedure. No success.
>
>lspci -vvv
>00:0b.0 PCMCIA bridge: Cirrus Logic CL 6729 (rev 07)
> Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
>ParErr- Step
>ping+ SERR- FastB2B-
> Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort+
><TAbort-
><MAbort- >SERR- <PERR-
> Interrupt: pin A routed to IRQ 5
> Region 0: I/O ports at d800
>
>-->modprobe pd6729
>Linux Kernel Card Services
> options: [pci] [cardbus] [pm]
>PCI: Found IRQ 5 for device 0000:00:0b.0
>pd6729: Cirrus PD6729 PCI to PCMCIA Bridge.
>pd6729: configured as a 2 socket device.
>-->modprobe ds
>-->cardmgr
>cs: IO port probe 0x0c00-0x0cff: clean.
>cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x37f
>0x4d0-0x4d7
>cs: memory probe 0xa0000000-0xa0ffffff: clean.
>cs: unable to map card memory!
>cs: unable to map card memory!
>cs: unable to map card memory!
>cs: unable to map card memory!
>cs: unable to map card memory!
>cs: unable to map card memory!
>
>With 2.4.20-19.9 and pcmcia_cs 3.1.31 it works. See below.
>==========================================================
>Linux PCMCIA Card Services 3.1.31
> kernel build: 2.4.20-19.9 unknown
> options: [pci] [cardbus] [apm]
>Intel ISA/PCI/CardBus PCIC probe:
>PCI: Found IRQ 5 for device 00:0b.0
> Cirrus PD6729 rev 00 PCI-to-PCMCIA at slot 00:0b, port 0xd800
> host opts [0]: [ring] [pci irq 5] [1/3/0] [1/10/0]
> host opts [1]: [ring] [pci irq 5] [1/3/0] [1/10/0]
> PCI card interrupts, PCI status changes
>cs: memory probe 0x0d0000-0x0dffff: clean.
>hostap_crypt: registered algorithm 'NULL'
>hostap_cs: 0.1.3 - 2004-02-08 (Jouni Malinen <jkmaline at cc.hut.fi>)
>hostap_cs: setting Vcc=33 (constant)
>hostap_cs: CS_EVENT_CARD_INSERTION
>hostap_cs: setting Vcc=33 (from config)
>Checking CFTABLE_ENTRY 0x01 (default 0x01)
>Config has no IRQ info, but trying to enable IRQ anyway..
>IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
>io->flags = 0x0046, io.base=0x0000, len=64
>cs: IO port probe 0x0100-0x037f: excluding 0x170-0x177 0x370-0x37f
>cs: IO port probe 0x0178-0x036f: clean.
>cs: IO port probe 0x0400-0x04ff: excluding 0x4d0-0x4d7
>cs: IO port probe 0x04d8-0x04ff: clean.
>cs: IO port probe 0x0a00-0x0aff: clean.
>cs: IO port probe 0x0c00-0x0cff: clean.
>hostap_cs: index 0x01: Vcc 3.3, irq 5, io 0x0100-0x013f
>divert: allocating divert_blk for wlan0
>hostap_cs: Registered netdevice wlan0
>prism2_hw_init: initialized in 110 ms
>wlan0: trying to read PDA from 0x007f0000: failed
>wlan0: trying to read PDA from 0x003f0000: failed
>wlan0: trying to read PDA from 0x00390000: OK
>wlan0: NIC: id=0x8002 v1.0.1
>wlan0: PRI: id=0x15 v0.3.0
>wlan0: STA: id=0x1f v1.5.6
>
>Anybody working with this driver?
>
>I think there might be people who will soon notice that their PD6729
>based hardware is not working any more after they are updated to new
>linux distro coming with 2.6.x kernel.
>
>Regards, Jar
More information about the linux-pcmcia
mailing list