Subject: Re: PCI <-> PCMCIA bridge
To: None <chris@cjones.org>
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
List: port-i386
Date: 07/16/2002 11:35:54
Hi,

       From: Chris Jones <chris@cjones.org>
    Subject: Re: PCI <-> PCMCIA bridge
      Date : Mon, 15 Jul 2002 13:20:55 -0600
 Message-ID: <3D332097.3060108@cjones.org>

$ NetBSD 1.6_BETA4 (LEGOLAS) #0: Fri Jul 12 17:09:04 MDT 2002
$ ...
$ wi0 at pci0 dev 11 function 0: Eumitcom WL11000P PCI WaveLAN/IEEE 802.11 
$ (rev. 0x02)
$ wi0: interrupting at irq 10
$ wi0:could not get mac address, attach failed
$ wi0: failed to attach controller

These messages are from wi_pci_attach()@sys/dev/pci/if_wi_pci.c and
wi_attach()@sys/dev/ic/wi.c.

I check -current wi driver and netbsd-1-6 branch wi driver.
They are almost same.(Their different are RCS_ID, revision).

If I try anything,I do next things.

 - Increase delay time in wi_reset()@sys/dev/ic/wi.c
 - Increase deley time in wi_pci_reset()@sys/dev/pci/if_wi_pci.c
 - Call wi_pci_reset() after bus_space_write1(memt, memh,
     WI_PLX_COR_OFFSET, WI_PLX_COR_VALUE) in wi_pci_attach().

But I don't have wi device. 
So I don't know whether it is useful for you or not.

Regards
---
 Masanori Kanaoka	kanaoka@ann.hi-ho.ne.jp