From owner-freebsd-current@FreeBSD.ORG Wed Jun 22 16:34:06 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09CDF16A429; Wed, 22 Jun 2005 16:34:06 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (unknown [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1279743D1F; Wed, 22 Jun 2005 16:34:03 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j5LKCuIS041222; Tue, 21 Jun 2005 14:13:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 21 Jun 2005 14:14:20 -0600 (MDT) Message-Id: <20050621.141420.48531287.imp@bsdimp.com> To: jhb@freebsd.org From: "M. Warner Losh" In-Reply-To: <200506211444.52693.jhb@FreeBSD.org> References: <42A60DAF.000003.32027@pantene.yandex.ru> <200506211444.52693.jhb@FreeBSD.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, polachok@narod.ru Subject: Re: Lucent Win Modem driver (comms/ltmdm) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jun 2005 16:34:06 -0000 In message: <200506211444.52693.jhb@FreeBSD.org> John Baldwin writes: : On Tuesday 07 June 2005 05:12 pm, Polakov Alexander wrote: : > Hi all. I'm new in CURRENT and english is not my native. I want to tell you : > my problem. My modem is Lucent Win Modem, and when I used FreeBSD-STABLE I : > could compile its driver. Now when I tried into CURRENT I couldn't. It : > showed errors like this: : > : > /usr/obj/usr/ports/comms/ltmdm/work/sys/modules/ltmdm/../../dev/ltmdm/ltmdm : >sio.c: In function `lt_pci_find_device': : > /usr/obj/usr/ports/comms/ltmdm/work/sys/modules/ltmdm/../../dev/ltmdm/ltmdm : >sio.c:748: error: `PCIR_MAPS' undeclared (first use in this function) : > : > So, I've made a patch. Where I have to send it if I want to add it into : > port(maybe it can be useful for anybody)? Here is it. : : Actually, the real fix is to change the ltmdmsio.c file to use PCIR_BAR(x) : rather than PCIR_MAPS + 4 * x for the rids for its memory and I/O resources. : The file can then include a #define for PCIR_BAR for old systems that maps to : PCIR_MAPS + 4 * x. I couldn't get comms/ltmdm to compile on my -current system, even before my changes in this area. Is there some newer version that's not in the ports tree that you are using? Warner