Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 14:19:34 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Jason Andresen <jandrese@mitre.org>
Cc:        Kirill Bezzubets <kirill@solaris.ru>, Julian Chesterfield <Julian.Chesterfield@cl.cam.ac.uk>, freebsd-mobile@freebsd.org
Subject:   Re: Sierra Wireless Aircard 750 GSM/GPRS 
Message-ID:  <20021014211934.152225D07@ptavv.es.net>
In-Reply-To: Your message of "Mon, 14 Oct 2002 16:46:53 EDT." <3DAB2D3C.F23244F3@mitre.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 14 Oct 2002 16:46:53 -0400
> From: Jason Andresen <jandrese@mitre.org>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021014211934.152225D07>