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.ko...@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;
 };
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to