Subject: Re: d-link dwl 660 / pci-pcmcia bridge...
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Siegmund Fuhringer <sifu@0xx0.net>
List: netbsd-help
Date: 07/02/2003 17:23:51
--9zSXsLTf0vkW971A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

today i received the bridge (EPox EWL-PCA), but i'm unable to get it to
work properly with the d-link dwl-660.

dmesg:
snip snip...

cbb0 at pci0 dev 10 function 0: Ricoh 5C475 PCI-CardBus bridge (rev.
0x80)
=2E..
cbb0: interrupting at irq 12
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 0 device 0
pcmcia0 at cardslot0
apm0 at mainbus0: Power Management spec V1.2
biomask f765 netmask ff65 ttymask ffe7
wi0 at pcmcia0 function 0: D-Link, D-Link Air DWL-660 Wireless PC Card,
Version 01.01
wi0:wi0: init failed
could not get mac address, attach failed
wi0: failed to attach controller


i've also tried to add these options to the kernel:

options PCIBIOS
options PCIBIOS_ADDR_FIXUP
options PCIBIOS_BUS_FIXUP
options PCIBIOS_INTR_FIXUP

but then the kernel stops right after:
biomask f765 netmask ff65 ttymask ffe7=20

is it more likely that the problem are to be caused by the bridge or by
the card?


bye bye - sifu

On Thu, Jun 19, 2003 at 10:19:34AM +0200, Siegmund Fuhringer wrote:
> On Wed, Jun 18, 2003 at 08:36:22PM +0000, Valeriy E. Ushakov wrote:
> > Siegmund Fuhringer <sifu@0xx0.net> wrote:
> >=20
> > > so i need a pci-pcmcia bridge, but there are so many available and i
> > > don't know which one can be used with an d-link dwl 660, has netbsd
> > > support and is cheap.
> >=20
> > This is what I use:
> >=20
> > cbb0 at pci0 dev 18 function 0: Texas Instruments PCI1410 PCI-CardBus B=
ridge (rev. 0x01)
> > cbb0: interrupting at irq 10
> > cardslot0 at cbb0 slot 0 flags 0
> > cardbus0 at cardslot0: bus 1 device 0
> > pcmcia0 at cardslot0
> > wi0 at pcmcia0 function 0: Lucent Technologies, WaveLAN/IEEE, Version 0=
1.01
> >=20
>=20
>=20
> > Check sys/dev/pci/pccbb.c for a list of supported pci-cardbus bridges.
>=20
> this made my decision a lot easier.
>=20
>=20
> >=20
> > Chances are you'll need some of:
> >=20
> > options PCIBIOS
> > options PCIBIOS_ADDR_FIXUP
> > options PCIBIOS_BUS_FIXUP
> > options PCIBIOS_INTR_FIXUP
>=20
> good to know :)
>=20
>=20
> >=20
> > I never bothered to check if PCIBIOS and PCIBIOS_INTR_FIXUP are enough
> > to get the interrupt for the bridge (the box was set up in a hurry).
> >=20
> > PS: No idea about DWL-660, or how cheap this bridge was ;)
>=20
> i will try the EPoX EWL-PCA bridge...
>=20
>=20
> thank you - sifu
>=20
> >=20
> > SY, Uwe
> > --=20
> > uwe@ptc.spbu.ru                         |       Zu Grunde kommen
> > http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen
> >=20

--9zSXsLTf0vkW971A
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/AvkGi6ACRCFwm4IRAv5rAKCS0iElSSCLNSdrzIHZgoKP3SwFHwCfSCaV
G8lKvWk/RkbOIxJGkeYsu2w=
=4HDE
-----END PGP SIGNATURE-----

--9zSXsLTf0vkW971A--