Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 23:31:20 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        shigeru@iij.ad.jp
Cc:        imp@harmony.village.org, freebsd-mobile@FreeBSD.ORG
Subject:   Re: Intel 2011 & wi driver failure 
Message-ID:  <200106220631.f5M6VKw06253@mass.dis.org>
In-Reply-To: Your message of "Fri, 22 Jun 2001 15:04:19 %2B0900." <20010622.150419.68552939.shigeru@iij.ad.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multipart MIME message.

--==_Exmh_2312818360
Content-Type: text/plain; charset=us-ascii


I fixed this with a couple of trivial patches, attached.

Note that this keys off the prism2 flag, which is wrong, it should
key off the symbol flag (which doesn't exist).

> >>>>> "Warner" == Warner Losh <imp@harmony.village.org> writes:
> Warner> Or just update to a newer -stable :-)
> 
> Unfortunatly, I don't think so.
> In FreeBSD, Intel 2011 is not supported.
> 
> Intel 2011(or Symbol's OEM) is using PrismII chip, but it has not Intersil
> oritinal frimware.
> #maybe, its firmware is a modified version.
> 
> In Linux, Intel 2011 is supported by Spectrum24 driver.
> #URL:http://sourceforge.net/projects/spectrum24/
> Spectrum24 driver is different from pcmcia-cs driver.
> 
> So, I think it is better to write a new driver than modifying a wi driver.
> -------
> YAMAMOTO Shigeru			Internet Initiative Japan Inc.
> <shigeru@iij.ad.jp>			Network Engineering Div.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message


--==_Exmh_2312818360
Content-Type: text/plain ; name="if_wi.diff"; charset=us-ascii
Content-Description: if_wi.diff
Content-Disposition: attachment; filename="if_wi.diff"

--- if_wi.c.orig	Wed May 30 03:43:43 2001
+++ if_wi.c	Wed May 30 05:41:37 2001
@@ -771,6 +771,7 @@
 	CSR_WRITE_2(sc, WI_COMMAND, cmd);
 
 	for (i = 0; i < WI_TIMEOUT; i++) {
+		DELAY(10);	/* let card settle */
 		/*
 		 * Wait for 'command complete' bit to be
 		 * set in the event status register.
@@ -1394,7 +1395,8 @@
 	if (ifp->if_flags & IFF_RUNNING)
 		wi_stop(sc);
 
-	wi_reset(sc);
+	if (!sc->wi_prism2)
+		wi_reset(sc);
 
 	/* Program max data length. */
 	WI_SETVAL(WI_RID_MAX_DATALEN, sc->wi_max_data_len);

--==_Exmh_2312818360
Content-Type: text/plain; charset=us-ascii

... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E

--==_Exmh_2312818360--



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?200106220631.f5M6VKw06253>