Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2011 09:35:25 +0200
From:      Willy Offermans <Willy@Offermans.Rompen.nl>
To:        Mike Tancsa <mike@sentex.net>
Cc:        Willy@offermans.rompen.nl, Marcel Moolenaar <marcel@freebsd.org>, freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org
Subject:   Re: modem support MT9234ZPX-PCIE-NV
Message-ID:  <20110527073525.GC3065@vpn.offrom.nl>
In-Reply-To: <4DDEBEFD.8050902@sentex.net>
References:  <20110521092037.GB3271@vpn.offrom.nl> <201105251236.30188.jhb@freebsd.org> <20110526190134.GA3037@vpn.offrom.nl> <201105261612.40451.jhb@freebsd.org> <4DDEBEFD.8050902@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 26, 2011 at 04:58:37PM -0400, Mike Tancsa wrote:
> On 5/26/2011 4:12 PM, John Baldwin wrote:
> > 
> > Hmm, can you get 'pciconf -lb' output?
> > 
> > Hmm, wow, I wonder how uart(4) works at all.  It tries to reuse it's softc
> > structure in uart_bus_attach() that was setup in uart_bus_probe().  Since it
> > doesn't return 0 from its probe routine, that is forbidden.   I guess it
> > accidentally works because of the hack where we call DEVICE_PROBE() again
> > to make sure the device description is correct.
> 
> 
> I think this is a similar card.  Had it laying about for a while and
> popped it in.  cu -l to it, attaches, but I am not able to interact with it.
> 
> none3@pci0:5:0:0:       class=0x070002 card=0x20282205 chip=0x015213a8
> rev=0x02 hdr=0x00
>     vendor     = 'Exar Corp.'
>     device     = 'XR17C/D152 Dual PCI UART'
>     class      = simple comms
>     subclass   = UART
>     bar   [10] = type Memory, range 32, base 0xe8950000, size 1024, enabled
> 
> 
> NetBSD supposedly has support for this card
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/pci/pucdata.c.diff?r1=1.43&r2=1.44
> 
> 
> 	---Mike
> 
> -- 
> -------------------
> Mike Tancsa, tel +1 519 651 3400
> Sentex Communications, mike@sentex.net
> Providing Internet services since 1994 www.sentex.net
> Cambridge, Ontario Canada   http://www.tancsa.com/

I guess you refer to this part:

+	{   "EXAR XR17D152",
+	    {   0x13a8, 0x0152, 0,      0       },
+	    {   0xffff, 0xffff, 0,      0       },
+	    {
+		{ PUC_PORT_TYPE_COM, 0x10, 0x0000, COM_FREQ * 8 },
+		{ PUC_PORT_TYPE_COM, 0x10, 0x0200, COM_FREQ * 8 },
+	    },
+	},

I also found this link, but I cannot do anything with the entries. Maybe a
developer can use this.


-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,

Willy

*************************************
 W.K. Offermans
Home:   +31 45 544 49 44
Mobile: +31 681 15 87 68
e-mail: Willy@Offermans.Rompen.nl



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