From nobody@FreeBSD.org  Thu Sep  5 16:57:25 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 725D637B400
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Sep 2002 16:57:25 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3286743E6E
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Sep 2002 16:57:25 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g85NvOOT078669
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 Sep 2002 16:57:24 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g85NvOeN078660;
	Thu, 5 Sep 2002 16:57:24 -0700 (PDT)
Message-Id: <200209052357.g85NvOeN078660@www.freebsd.org>
Date: Thu, 5 Sep 2002 16:57:24 -0700 (PDT)
From: James Flemer <jflemer@acm.jhu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: if_wi_pci.c,if_wi_pccard.c lack device_resume/device_suspend
X-Send-Pr-Version: www-1.0

>Number:         42461
>Category:       kern
>Synopsis:       if_wi_pci.c,if_wi_pccard.c lack device_resume/device_suspend
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mdodd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 05 17:00:07 PDT 2002
>Closed-Date:    Thu Jul 29 04:23:35 UTC 2010
>Last-Modified:  Thu Jul 29 04:23:35 UTC 2010
>Originator:     James Flemer
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
n/a
>Environment:
FreeBSD null.speednaked.com 4.6-STABLE FreeBSD 4.6-STABLE #3: Fri Aug 16 16:34:01 EDT 2002 jflemer@psi.speednaked.com:/usr/obj/usr/src/sys/NULL i386
>Description:
The wi driver does not have suspend / resume hooks (in Stable or Current from the looks of it). This is probably not to much of a problem for the pccard driver, but with the pci driver it seems to be (for me at least). The card is non-functional after resume, and says:
   wi0: wi_cmd: busy bit won't clear.
Anytime it is touched after resume (a simple ifconfig will pause for several seconds...).

--- some bits of dmseg ---
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
wi0: <Intersil Prism2.5> mem 0xe0500000-0xe0500fff irq 5 at device 3.0 on pci2
wi0: 802.11 address: 00:d0:59:aa:bb:cc
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary 1.01.00, Station 1.04.03


>How-To-Repeat:
$ zzz
  >resume<
$ ifconfig
$ wicontrol
>Fix:
$ shutdown -r now
>Release-Note:
>Audit-Trail:

From: "James E. Flemer" <jflemer@acm.jhu.edu>
To: <FreeBSD-gnats-submit@FreeBSD.org>, <freebsd-bugs@FreeBSD.org>
Cc:  
Subject: Re: misc/42461: if_wi_pci.c,if_wi_pccard.c lack device_resume/device_suspend
Date: Thu, 30 Jan 2003 00:48:05 -0500 (EST)

 It seems that a patch to fix suspend / resume was added to
 -current recently:
 
   if_wi.c:       r1.119
   if_wi_pci.c:   r1.11
   if_wivar.h:    r1.14
 
 but then the new wlan driver was merged from NetBSD.
 Perhaps one of these (resume patch or new driver) should be
 MFC'd before the freeze for 4.8.
 
Responsible-Changed-From-To: freebsd-bugs->mdodd 
Responsible-Changed-By: arved 
Responsible-Changed-When: Mon Feb 24 02:10:28 PST 2003 
Responsible-Changed-Why:  
mdodd committed the CVS revisions mentioned in the PR.  

http://www.freebsd.org/cgi/query-pr.cgi?pr=42461 
State-Changed-From-To: open->closed 
State-Changed-By: mdodd 
State-Changed-When: Thu Jul 29 04:23:17 UTC 2010 
State-Changed-Why:  
Resolved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42461 
>Unformatted:
