Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 01:12:15 +0400 (MSD)
From:      "Polakov Alexander" <polachok@narod.ru>
To:        freebsd-current@freebsd.org
Subject:   Lucent Win Modem driver (comms/ltmdm)
Message-ID:  <42A60DAF.000003.32027@pantene.yandex.ru>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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/ltmdmsio.c: In function `lt_pci_find_device':
/usr/obj/usr/ports/comms/ltmdm/work/sys/modules/ltmdm/../../dev/ltmdm/ltmdmsio.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.
[-- Attachment #2 --]
--- ./ltmdmsio.c	Wed Jun  8 00:54:28 2005
+++ ./ltmdmsio-6.c	Wed Jun  8 00:56:22 2005
@@ -143,6 +143,9 @@
 #endif
 #endif
 
+#if __FreeBSD_version >= 600000
+#define PCIR_MAPS PCIR_BARS
+#endif
 
 #define LOTS_OF_EVENTS  64  /* helps separate urgent events from input */
 

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