From owner-freebsd-mobile Mon Oct 14 14:19:37 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0086437B401 for ; Mon, 14 Oct 2002 14:19:36 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7299243EA3 for ; Mon, 14 Oct 2002 14:19:35 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id MUA74016; Mon, 14 Oct 2002 14:19:34 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 152225D07; Mon, 14 Oct 2002 14:19:34 -0700 (PDT) To: Jason Andresen Cc: Kirill Bezzubets , Julian Chesterfield , freebsd-mobile@freebsd.org Subject: Re: Sierra Wireless Aircard 750 GSM/GPRS In-reply-to: Your message of "Mon, 14 Oct 2002 16:46:53 EDT." <3DAB2D3C.F23244F3@mitre.org> Date: Mon, 14 Oct 2002 14:19:34 -0700 From: "Kevin Oberman" Message-Id: <20021014211934.152225D07@ptavv.es.net> 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 > Date: Mon, 14 Oct 2002 16:46:53 -0400 > From: Jason Andresen > Sender: owner-freebsd-mobile@FreeBSD.ORG > > Kirill Bezzubets wrote: > > > > On Mon, Oct 14, 2002 at 04:49:41PM +0100, Julian Chesterfield wrote: > > - > > > > > > sio4 at port 0x240-0x27f irq 9 flags 0x40000 slot 0 on pccard0 > > > sio4: type 8250 > > > > 8250?.. Hmm.. Even my old USR Megahertz shows up as 16550A sio.. > > Isn't this what FreeBSD defaults to if it doesn't recognise your > card? It might just be a case of adding your card's ID to a > switch statement. Yes, it is. But there is no simple switch statement. UARTs don't provide explicit identification information to use with a simple switch statement, so the driver tries sending out a FIFO_ENABLE and a FIFO_RX_HIGH. If the unit responds with the FIFO_RX_LOW bit, it's a 16450. If it has the FIFO_RX_MEDL, it's an enhanced 16450. If it gets FIFO_RX_MEDH, it's a 16550, and if it's for FIFO_RX_HIGH, it's some type of 16550A. But, if the is no response at all, it's tagged as an 8650. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message