From owner-freebsd-current@FreeBSD.ORG Sat Apr 10 17:52:45 2004 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 70FB916A4CE for ; Sat, 10 Apr 2004 17:52:45 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6365343D2D for ; Sat, 10 Apr 2004 17:52:45 -0700 (PDT) (envelope-from itinerant@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id i3B0qcaw018844; Sat, 10 Apr 2004 17:52:38 -0700 (PDT) Received: from mac.com (82-32-116-200.cable.ubr03.hawk.blueyonder.co.uk [82.32.116.200]) (authenticated bits=0)i3B0qaZ2027180; Sat, 10 Apr 2004 17:52:37 -0700 (PDT) Message-ID: <407896CF.1040809@mac.com> Date: Sun, 11 Apr 2004 01:52:31 +0100 From: Pete Carss User-Agent: Mozilla Thunderbird 0.5 (X11/20040401) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Mitchell , freebsd-current@freebsd.org References: <4078026A.9070907@mac.com> <20040410225858.GD25661@llama.fishballoon.org> In-Reply-To: <20040410225858.GD25661@llama.fishballoon.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Cisco driver stopped working with -current 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: Sun, 11 Apr 2004 00:52:45 -0000 Scott Mitchell wrote: > 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 ....and as if by magic: xe0: pccard_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match xe0: pccard_product_match an0: at port 0x100-0x13f irq 10 function 0 config 5 on pccard1 an0: got RSSI <-> dBM map an0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps an0: Ethernet address: 00:40:96:44:b5:ed an0: [GIANT-LOCKED] ....sweet as! Thanks very much - I also finally learnt how to apply a patch properly - I always found this elusive under FreeBSD... Pete