Date: Fri, 1 Mar 2002 18:27:59 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Brian Howell <bsdmobile@yahoo.com> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: 3com pci card not being recognized Message-ID: <20020301182759.A2155@Odin.AC.HMC.Edu> In-Reply-To: <20020302021012.19636.qmail@web21305.mail.yahoo.com>; from bsdmobile@yahoo.com on Fri, Mar 01, 2002 at 06:10:12PM -0800 References: <20020302021012.19636.qmail@web21305.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020301182759.A2155>