Date: Sat, 10 Apr 2004 23:58:59 +0100 From: Scott Mitchell <scott+freebsd@fishballoon.org> To: Pete Carss <itinerant@mac.com> Cc: freebsd-current@freebsd.org Subject: Re: Cisco driver stopped working with -current Message-ID: <20040410225858.GD25661@llama.fishballoon.org> In-Reply-To: <40786B83.5010603@mac.com> References: <4078026A.9070907@mac.com> <20040410202404.GB25661@llama.fishballoon.org> <40786B83.5010603@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Apr 10, 2004 at 10:47:47PM +0100, Pete Carss wrote: > > This is what I got - note I assumed you meant not to set the two > variables I set previously?? Exactly what I needed. It looks like the driver is matching _any_ card passed to it... I should be glad more people haven't hit this yet :-( The attached patch should fix the problem - could you try building a new kernel with this patch and see if it works for you? ie: save the patch somewhere # cd /sys/dev/xe # patch < /tmp/if_xe_pccard.patch (or wherever you saved it) build/install/boot a new kernel as usual If you try inserting the Aironet with hw.xe.debug=2 again, you should get a lot of repetitions of "xe0: pccard_product_match", then nothing else from the xe driver. The right driver should then come along and claim the card. Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_xe_pccard.patch" Index: if_xe_pccard.c =================================================================== RCS file: /home/ncvs/src/sys/dev/xe/if_xe_pccard.c,v retrieving revision 1.16 diff -u -r1.16 if_xe_pccard.c --- if_xe_pccard.c 9 Apr 2004 17:34:54 -0000 1.16 +++ if_xe_pccard.c 10 Apr 2004 22:44:16 -0000 @@ -408,7 +408,7 @@ pccard_get_prodext(dev, &prodext); if (xpp->prodext != prodext) - vpfmatch--; + vpfmatch = 0; return (vpfmatch); } --dDRMvlgZJXvWKvBx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040410225858.GD25661>