Date: Mon, 2 Jun 2014 07:08:34 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266969 - head/sys/dev/usb Message-ID: <201406020708.s5278YsX047587@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <okuno.kohji@jp.panasonic.com> 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; };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406020708.s5278YsX047587>