From owner-svn-src-head@FreeBSD.ORG Wed Mar 7 18:57:09 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C16751065676; Wed, 7 Mar 2012 18:57:09 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B1AC48FC2F; Wed, 7 Mar 2012 18:57:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q27Iv9wD006359; Wed, 7 Mar 2012 18:57:09 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q27Iv9W0006357; Wed, 7 Mar 2012 18:57:09 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201203071857.q27Iv9W0006357@svn.freebsd.org> From: John Baldwin Date: Wed, 7 Mar 2012 18:57:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r232670 - head/sys/dev/pci X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 18:57:09 -0000 Author: jhb Date: Wed Mar 7 18:57:09 2012 New Revision: 232670 URL: http://svn.freebsd.org/changeset/base/232670 Log: Remove the PAE-specific 2GB DMA boundary since HEAD now supports a proper 4G boundary for PAE. Modified: head/sys/dev/pci/pci.c Modified: head/sys/dev/pci/pci.c ============================================================================== --- head/sys/dev/pci/pci.c Wed Mar 7 18:53:56 2012 (r232669) +++ head/sys/dev/pci/pci.c Wed Mar 7 18:57:09 2012 (r232670) @@ -70,20 +70,9 @@ __FBSDID("$FreeBSD$"); #include "pcib_if.h" #include "pci_if.h" -/* - * XXX: Due to a limitation of the bus_dma_tag_create() API, we cannot - * specify a 4GB boundary on 32-bit targets. Usually this does not - * matter as it is ok to use a boundary of 0 on these systems. - * However, in the case of PAE, DMA addresses can cross a 4GB - * boundary, so as a workaround use a 2GB boundary. - */ #if (BUS_SPACE_MAXADDR > 0xFFFFFFFF) -#ifdef PAE -#define PCI_DMA_BOUNDARY 0x80000000 -#else #define PCI_DMA_BOUNDARY 0x100000000 #endif -#endif #define PCIR_IS_BIOS(cfg, reg) \ (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \