svn commit: r212975 - user/weongyo/usb/sys/dev/usb

Weongyo Jeong weongyo at FreeBSD.org
Tue Sep 21 20:21:57 UTC 2010


Author: weongyo
Date: Tue Sep 21 20:21:56 2010
New Revision: 212975
URL: http://svn.freebsd.org/changeset/base/212975

Log:
  Wrong type for DMA physical address.  Its type should be bus_addr_t not
  bus_size_t.  The difference could be that the size would be uint64_t if
  PAE or other is enabled.

Modified:
  user/weongyo/usb/sys/dev/usb/usb_busdma.h

Modified: user/weongyo/usb/sys/dev/usb/usb_busdma.h
==============================================================================
--- user/weongyo/usb/sys/dev/usb/usb_busdma.h	Tue Sep 21 19:12:22 2010	(r212974)
+++ user/weongyo/usb/sys/dev/usb/usb_busdma.h	Tue Sep 21 20:21:56 2010	(r212975)
@@ -73,7 +73,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-user mailing list