From owner-cvs-all@FreeBSD.ORG Sun Aug 22 23:01:14 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2654A16A4CE; Sun, 22 Aug 2004 23:01:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F52A43D3F; Sun, 22 Aug 2004 23:01:14 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7MN1E85048917; Sun, 22 Aug 2004 23:01:14 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7MN1Epo048916; Sun, 22 Aug 2004 23:01:14 GMT (envelope-from mux) Message-Id: <200408222301.i7MN1Epo048916@repoman.freebsd.org> From: Maxime Henrion Date: Sun, 22 Aug 2004 23:01:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/lnc if_lnc_pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Aug 2004 23:01:14 -0000 mux 2004-08-22 23:01:13 UTC FreeBSD src repository Modified files: sys/dev/lnc if_lnc_pci.c Log: Pass a correct lowaddr to bus_dma_tag_create(), lnc(4) cards can only deal with 24-bit addresses. While the two other attachments, namely isa and cbus, do it properly, the PCI attachment was passing BUS_SPACE_MAXADDR instead of BUS_SPACE_MAXADDR_24BIT. This bug became apparent with the new contigmalloc() code. This fixes the problem reported with lnc(4) interfaces inside VMWare, and should theoritically also fix any user of a PCI lnc(4) card. It is a RELENG_5 MFC candidate. Tested by: Florian Le Goff Revision Changes Path 1.35 +1 -1 src/sys/dev/lnc/if_lnc_pci.c