From owner-freebsd-hardware@FreeBSD.ORG Fri May 27 20:38:16 2011 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22F08106566B; Fri, 27 May 2011 20:38:16 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id B816C8FC08; Fri, 27 May 2011 20:38:15 +0000 (UTC) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p4RKcDt8019096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 May 2011 16:38:14 -0400 (EDT) (envelope-from mike@sentex.net) Received: from pyroxene.sentex.ca ([IPv6:2607:f3e0:0:3::18]) by smtp2.sentex.ca (8.14.4/8.14.4) with ESMTP id p4RKcEGk064800; Fri, 27 May 2011 16:38:14 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by pyroxene.sentex.ca (8.14.4/8.14.3) with ESMTP id p4RKcDAP099250; Fri, 27 May 2011 16:38:13 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4DE00B9C.4070809@sentex.net> Date: Fri, 27 May 2011 16:37:48 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: John Baldwin References: <20110521092037.GB3271@vpn.offrom.nl> <201105271533.03445.jhb@freebsd.org> <4DDFFD9C.2000503@sentex.net> <201105271622.21355.jhb@freebsd.org> In-Reply-To: <201105271622.21355.jhb@freebsd.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.67 on 64.7.153.18 Cc: Willy@offermans.rompen.nl, Marcel Moolenaar , freebsd-stable@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: modem support MT9234ZPX-PCIE-NV X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 20:38:16 -0000 On 5/27/2011 4:22 PM, John Baldwin wrote: > On Friday, May 27, 2011 3:38:04 pm Mike Tancsa wrote: >> On 5/27/2011 3:33 PM, John Baldwin wrote: >>> >>> Actually, can you just try this: >>> >>> Index: pucdata.c >> >> Hi, >> Patch applies, but it doesnt compile on RELENG_8 > > Ugh, looks like the offset can't handle 0x200, try this instead: > > Index: pucdata.c > =================================================================== Thanks! that applies cleanly and I see both ports now. However, I still cannot interact with the modem. Let me fire up LINUX 0(ich10)# patch < p Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: pucdata.c |=================================================================== |--- pucdata.c (revision 222364) |+++ pucdata.c (working copy) -------------------------- Patching file pucdata.c using Plan A... Hunk #1 succeeded at 48. Hunk #2 succeeded at 547 (offset -1 lines). Hunk #3 succeeded at 953 (offset -75 lines). done 0(ich10)# puc0: mem 0xe8950000-0xe89503ff irq 21 at device 0.0 on pci5 puc0: [FILTER] uart2: <16750 or compatible> on puc0 uart2: [FILTER] uart3: <16750 or compatible> on puc0 uart3: [FILTER] -- ------------------- 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/