Re: Sierra Wireless Aircard 750 GSM/GPRS
"Kevin Oberman" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
> Date: Mon, 14 Oct 2002 16:46:53 -0400 > From: Jason Andresen <[email protected]> > Sender: [email protected] > > 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: [email protected] Phone: +1 510 486-8634 To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-mobile" in the body of the message