From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 12:27:52 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 989CE37B401 for ; Thu, 14 Aug 2003 12:27:52 -0700 (PDT) Received: from guldan.demon.nl (cust.13.38.adsl.cistron.nl [62.216.13.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id D66AA43FA3 for ; Thu, 14 Aug 2003 12:27:51 -0700 (PDT) (envelope-from robert@guldan.demon.nl) Received: from robert by guldan.demon.nl with local (Exim 4.12) id 19nNlE-000Mee-00; Thu, 14 Aug 2003 21:27:48 +0200 Date: Thu, 14 Aug 2003 21:27:48 +0200 From: Robert =?unknown-8bit?Q?Blacqui=E8re?= To: current@freebsd.org Message-ID: <20030814192748.GF61386@bombur.guldan.demon.nl> References: <20030813114415.GD61386@bombur.guldan.demon.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5CUMAwwhRxlRszMD" Content-Disposition: inline In-Reply-To: <20030813114415.GD61386@bombur.guldan.demon.nl> User-Agent: Mutt/1.3.28i X-Disclaimer: running FreeBSD on a Toshiba. Sender: Robert Subject: Re: problems with wi driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 19:27:53 -0000 --5CUMAwwhRxlRszMD Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 13, 2003 at 01:44:15PM +0200, Robert Blacqui=E8re wrote: > Hi, >=20 > I have some problems getting wi cards working. I've traced the behavour > of it.=20 >=20 > It assigns the first io memory 0x100-0x13f and the card fails to work.=20 > I plugin a second wi card and it gets 0x180-0x1bf and the card works. >=20 > I've 2 different cards one ASUS spacelink Prism 2.5 card and a Lucent > Orinoco Gold card. It does not matter which sequence i follow the first > card will fail but the second works.=20 >=20 > some debug info: >=20 Hi,=20 I fixed it somehow illegal by changing the src/sys/dev/pccbb/pccbb.c=20 line 121: #define CBB_START_16_IO 0x100=20 to=20 #define CBB_START_16_IO 0x140=20 And now my wireless cards work.=20 Is there a better way to toggle the start address for 16 bit and 32 bit cards with sysctl?? dmesg output with debug info: CBB EVENT 0x6 Waking up thread Status is 0x30000510 cbb0: card inserted: event=3D0x00000000, state=3D30000510 cbb_pcic_socket_enable: cbb0: cbb_power: 5V start (30000000) < sc->membase (40000000) end (ffffffff) > sc->memlimit (403fffff) pcib2: device pccard0 requested decoded memory range 0x30000000-0xffffffff pccard0: CIS version PC Card Standard 5.0 pccard0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01,=20 pccard0: Manufacturer code 0x156, product 0x2 pccard0: function 0: network adapter, ccr addr 3e0 mask 1 pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, io space 0-3f; io16 irqpulse irqlevel pcib2: device pccard0 requested decoded I/O range 0x140-0xffffffff cbb_pcic_socket_enable: cbb0: cbb_power: 0V cbb0: cbb_power: 5V start (30000000) < sc->membase (40000000) end (ffffffff) > sc->memlimit (403fffff) pcib2: device pccard0 requested decoded memory range 0x30000000-0xffffffff wi0: at port 0x180-0x1bf irq 11 function 0 co nfig 1 on pccard0 pcib2: device wi0 requested decoded I/O range 0x180-0x1bf pcib2: device pccard0 requested decoded I/O range 0x180-0x1bf pcib2: device wi0 requested decoded I/O range 0x180-0x1bf wi0: 802.11 address: 00:02:2d:03:69:67 wi0: using Lucent Technologies, WaveLAN/IEEE wi0: Lucent Firmware: Station (6.6.1) wi0: bpf attached wi0: bpf attached wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wi0: bad alloc 3e6 !=3D ff, cur 0 nxt 0 acpi_acad0: acline initialization done, tried 7 times acpi_tz0: _AC2: temperature 53.0 >=3D setpoint 40.0 acpi_tz0: switched from NONE to _AC2: 53.0C Robert --=20 Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD: He guys you left some holes out there! --5CUMAwwhRxlRszMD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAj874rQACgkQ1ODVtOXCG4itEwCfcUuQzNgdf7fYbXBck/R/DwDQ 3N8AoK/R03sWDTiNVrdr3ZRJW8VygRHB =Kxjt -----END PGP SIGNATURE----- --5CUMAwwhRxlRszMD--