From owner-freebsd-mobile Thu Jun 21 23:19:58 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id AE3A937B401 for ; Thu, 21 Jun 2001 23:19:54 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.4/8.11.3) with ESMTP id f5M6VKw06253; Thu, 21 Jun 2001 23:31:20 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200106220631.f5M6VKw06253@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: shigeru@iij.ad.jp Cc: imp@harmony.village.org, freebsd-mobile@FreeBSD.ORG Subject: Re: Intel 2011 & wi driver failure In-reply-to: Your message of "Fri, 22 Jun 2001 15:04:19 +0900." <20010622.150419.68552939.shigeru@iij.ad.jp> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_2312818360" Date: Thu, 21 Jun 2001 23:31:20 -0700 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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. > 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