Date: Tue, 21 Sep 2010 20:21:56 +0000 (UTC) From: Weongyo Jeong <weongyo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r212975 - user/weongyo/usb/sys/dev/usb Message-ID: <201009212021.o8LKLvVk005805@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009212021.o8LKLvVk005805>