From owner-svn-src-all@FreeBSD.ORG Mon Jun 2 07:08:34 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A156CBFF; Mon, 2 Jun 2014 07:08:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E7D72145; Mon, 2 Jun 2014 07:08:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5278Yg2047588; Mon, 2 Jun 2014 07:08:34 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5278YsX047587; Mon, 2 Jun 2014 07:08:34 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201406020708.s5278YsX047587@svn.freebsd.org> From: Hans Petter Selasky Date: Mon, 2 Jun 2014 07:08:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266969 - head/sys/dev/usb X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 07:08:34 -0000 Author: hselasky Date: Mon Jun 2 07:08:34 2014 New Revision: 266969 URL: http://svnweb.freebsd.org/changeset/base/266969 Log: Change type of the DMA address so that on PAE platforms we get can 64-bit DMA addresses even though the USB stack currently only uses 32-bit DMA. Suggested by: Kohji Okuno Modified: head/sys/dev/usb/usb_busdma.h Modified: head/sys/dev/usb/usb_busdma.h ============================================================================== --- head/sys/dev/usb/usb_busdma.h Mon Jun 2 06:15:38 2014 (r266968) +++ head/sys/dev/usb/usb_busdma.h Mon Jun 2 07:08:34 2014 (r266969) @@ -62,7 +62,7 @@ typedef void (usb_dma_callback_t)(struct */ struct usb_page { #if USB_HAVE_BUSDMA - bus_size_t physaddr; + bus_addr_t physaddr; void *buffer; /* non Kernel Virtual Address */ #endif }; @@ -75,7 +75,7 @@ struct usb_page { struct usb_page_search { void *buffer; #if USB_HAVE_BUSDMA - bus_size_t physaddr; + bus_addr_t physaddr; #endif usb_size_t length; };