Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2011 15:18:13 -0400
From:      John Baldwin <jhb@freebsd.org>
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:  <201105271518.13856.jhb@freebsd.org>
In-Reply-To: <4DDFE56E.3000406@sentex.net>
References:  <20110521092037.GB3271@vpn.offrom.nl> <201105271200.12062.jhb@freebsd.org> <4DDFE56E.3000406@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, May 27, 2011 1:54:54 pm Mike Tancsa wrote:
> On 5/27/2011 12:00 PM, John Baldwin wrote:
> >>
> >> uart2@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
> > 
> > Possibly.  Did you try adding it via puc instead?
> 
> Yes, same result. But I am not sure what values to plugin for some of
> the options.
> 
> I tried this is uart
> 
> 1(ich10)# diff -u uart_bus_pci.c.orig uart_bus_pci.c
> --- uart_bus_pci.c.orig 2011-05-24 17:10:21.000000000 -0400
> +++ uart_bus_pci.c      2011-05-27 10:49:05.000000000 -0400
> @@ -110,6 +110,8 @@
>  { 0x1415, 0x950b, 0xffff, 0, "Oxford Semiconductor OXCB950 Cardbus
> 16950 UART",
>         0x10, 16384000 },
>  { 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 },
> +{ 0x13a8, 0x0152, 0x2205, 0x2028, "MultiTech MultiModem ZPX", 0x10,
> +       8 * DEFAULT_RCLK },
>  { 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 },
>  { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 },
>  { 0x9710, 0x9901, 0xa000, 0x1000,
> 1(ich10)#
> 
> Then I removed the entry from uart and added the following for pucdata.c
> 
> 
>         {   0x13a8, 0x0152, 0xffff, 0,
>             "Exar Multitech",
>             DEFAULT_RCLK * 8,
>             PUC_PORT_2S, 0x10, 0, -1,
>         },

Use '0x200' rather than -1.

-- 
John Baldwin



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