Re: Lucent Win Modem driver (comms/ltmdm)
From: John Baldwin (jhb_at_FreeBSD.org)
Date: 06/21/05
- Previous message: John Baldwin: "Re: lapic@2k interrukts eating CPU cycles"
- In reply to: Polakov Alexander: "Lucent Win Modem driver (comms/ltmdm)"
- Next in thread: M. Warner Losh: "Re: Lucent Win Modem driver (comms/ltmdm)"
- Reply: M. Warner Losh: "Re: Lucent Win Modem driver (comms/ltmdm)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-current@freebsd.org, polachok@narod.ru Date: Tue, 21 Jun 2005 14:44:51 -0400
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.
-- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: John Baldwin: "Re: lapic@2k interrukts eating CPU cycles"
- In reply to: Polakov Alexander: "Lucent Win Modem driver (comms/ltmdm)"
- Next in thread: M. Warner Losh: "Re: Lucent Win Modem driver (comms/ltmdm)"
- Reply: M. Warner Losh: "Re: Lucent Win Modem driver (comms/ltmdm)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|