From owner-freebsd-stable@FreeBSD.ORG Fri May 27 12:23:55 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA0E7106566B; Fri, 27 May 2011 12:23:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A0E968FC08; Fri, 27 May 2011 12:23:55 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 574F346B2E; Fri, 27 May 2011 08:23:55 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id EC68C8A04F; Fri, 27 May 2011 08:23:54 -0400 (EDT) From: John Baldwin To: Mike Tancsa Date: Fri, 27 May 2011 08:05:56 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <20110521092037.GB3271@vpn.offrom.nl> <201105261612.40451.jhb@freebsd.org> <4DDEBEFD.8050902@sentex.net> In-Reply-To: <4DDEBEFD.8050902@sentex.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105270805.56457.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Fri, 27 May 2011 08:23:55 -0400 (EDT) Cc: Marcel Moolenaar , freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: modem support MT9234ZPX-PCIE-NV X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 12:23:55 -0000 On Thursday, May 26, 2011 4:58:37 pm 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 Oh, hmm, looks like the clock has an unusual multiplier. Does it work if you use 'cu -l -s 1200' to talk at 9600 for example? (In general use speed / 8 as the speed to '-s'.) Also, is your card a modem or a dual-port card? -- John Baldwin