svn commit: r266969 - head/sys/dev/usb
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Jun 2 07:08:34 UTC 2014
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 at 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;
};
More information about the svn-src-head
mailing list