From the@best.llama.com  Sat Aug 18 21:20:14 2001
Return-Path: <the@best.llama.com>
Received: from best.llama.com (llama.com [63.194.69.194])
	by hub.freebsd.org (Postfix) with ESMTP
	id 9967D37B410; Sat, 18 Aug 2001 21:20:14 -0700 (PDT)
	(envelope-from the@best.llama.com)
Received: (from the@localhost)
	by best.llama.com (8.9.3/8.9.3) id VAA33946;
	Sat, 18 Aug 2001 21:20:11 -0700 (PDT)
	(envelope-from the)
Message-Id: <20010818212011.A33879@llama.com>
Date: Sat, 18 Aug 2001 21:20:11 -0700
From: Sam Habash <the@llama.com>
To: Jonathan Chen <jon@FreeBSD.ORG>, freebsd-gnats-submit@FreeBSD.ORG
In-Reply-To: <20010818124503.A26350@enterprise.spock.org>; from jon@FreeBSD.ORG on Sat, Aug 18, 2001 at 12:45:03PM -0400
Subject: Re: NEWCARD support for aironet driver an(4) (kern/24854)
References: <20010817011103.A25841@llama.com> <20010818110728.A20719@enterprise.spock.org> <20010818092654.C28694@llama.com> <20010818124503.A26350@enterprise.spock.org>

>Number:         29866
>Category:       kern
>Synopsis:       Re: NEWCARD support for aironet driver an(4) (kern/24854)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 21:30:00 PDT 2001
>Closed-Date:    Sun Aug 19 14:42:47 PDT 2001
>Last-Modified:  Wed Oct 26 05:48:07 GMT 2005
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 (also getting this into the PR)
 
 On Sat, Aug 18, 2001 at 12:45:03PM -0400, Jonathan Chen wrote:
 > On Sat, Aug 18, 2001 at 09:26:54AM -0700, Sam Habash wrote:
 > > The problem was newcard failing to detect my aironet LMC352.
 > 
 > This is strange... as I understand it, the 350 and 340 are basically the 
 > same programatically...  Without the patch, newcard should be able to 
 > detect the 350 fine when it probes the old-fashioned way, the same way it 
 > detects my 340.  Since oldcard uses the same probe routine, there is no 
 > reason why it should fail when using newcard.  Bleah, it's probably a bug 
 > in newcard.  Perhaps you can do some debugging to find out where exactly it 
 > fails in an_probe()?  Or if it starts working when you change the 
 > DEVMETHOD, perhaps it's an_alloc_irq is failing.  In that case, it would be 
 > nice to find out how exactly it's failing too.
 
 It looks like undoing the patch given in kern/24854 and applying your
 patch instead (and also remembering to uncomment  the line in
 /usr/srs/sys/conf/files referencing 'dev/an/if_an_pccard.c optional an
 pccard') works as well.  I wasn't previously aware of your work, you
 see...
 
 I believe I already tried just uncommenting 'optional ata pccard'
 with the -current source, without any luck. 
 
 > > Looking forward to your patch being committed.  I notice weird behavior 
 > > upon reinsertion currently, it doesn't panic -all- the time. :-)
 > > (looks like the correct URL was http://people.freebsd.org/~jon/newcard.diff.3)
 
 The first time I tried it (not in X) removal and reinsertion of the 
 Aironet card was fine.
 
 The second time (while in X), removal was ok, but card reinsertion caused 
 a reboot (no panic)...
 
 Let me know what you want me to do exactly, in terms of what kind of 
 debugging you need...once I hear back I'll build a debug kernel.
 
 --Sam
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Sun Aug 19 14:42:47 PDT 2001 
State-Changed-Why:  
not a new pr 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29866 
>Unformatted:
