From owner-freebsd-mobile Fri Mar 1 18:28: 4 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 6A36337B402 for ; Fri, 1 Mar 2002 18:28:00 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id g222Rx902489; Fri, 1 Mar 2002 18:27:59 -0800 Date: Fri, 1 Mar 2002 18:27:59 -0800 From: Brooks Davis To: Brian Howell Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 3com pci card not being recognized Message-ID: <20020301182759.A2155@Odin.AC.HMC.Edu> References: <20020302021012.19636.qmail@web21305.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020302021012.19636.qmail@web21305.mail.yahoo.com>; from bsdmobile@yahoo.com on Fri, Mar 01, 2002 at 06:10:12PM -0800 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 01, 2002 at 06:10:12PM -0800, Brian Howell wrote: > I had some problems configuring my orinoco card with a > pci adapter on my freebsd 4.4 box.So was trying to set > up my 3com pci card now to check if its a problem with > pci adapters on my system.can anyone tell me where i > shd do the modifications required for it to be > recognized.its being put on the pci irq right now. > am attaching my dmesg below. If you apply the following patch to sys/i386/isa/if_wi.c (based on 4.5-STABLE) it should be recognized assuming I read your dmesg correctly. -- Brooks Index: if_wi.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/i386/isa/Attic/if_wi.c,v retrieving revision 1.18.2.15 diff -u -r1.18.2.15 if_wi.c --- if_wi.c 2 Mar 2002 01:41:42 -0000 1.18.2.15 +++ if_wi.c 2 Mar 2002 02:20:11 -0000 @@ -214,6 +214,7 @@ {0x1385, 0x4100, "Netgear MA301 PCI IEEE 802.11b"}, {0x16ab, 0x1101, "GLPRISM2 PCI WaveLAN/IEEE 802.11"}, {0x16ab, 0x1102, "Linksys WDT11 PCI IEEE 802.11b"}, + {0x10b7, 0x7770, "3Com Airconnect IEEE 802.11b"}, {0, 0, NULL} }; #endif @@ -1978,7 +1979,7 @@ =20 sc->irq_rid =3D 0; sc->irq =3D bus_alloc_resource(dev, SYS_RES_IRQ, &sc->irq_rid, - 0, ~0, 1, RF_ACTIVE); + 0, ~0, 1, RF_ACTIVE|RF_SHARABLE); if (!sc->irq) { wi_free(dev); device_printf(dev, "No irq?!\n"); --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8gDiuXY6L6fI4GtQRAsDdAKCDi4IYoenNTQRLwOldPpK9Ek7MyACfRIGs eCE8mQdT8huRfd/xNHjeqAE= =8NWK -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message