Re: About the type of physaddr in struct usb_page.

看板FB_current作者時間11年前 (2014/06/02 15:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
On 06/02/14 03:22, Kohji Okuno wrote: > Hi HPS, > > I think the type of physaddr in struct usb_page is incorrect. > We shuld use bus_addr_t for physaddr. > What do you think about this? > > 60 * The following structure defines physical and non kernel virtual > 61 * address of a memory page having size USB_PAGE_SIZE. > 62 */ > 63 struct usb_page { > 64 #if USB_HAVE_BUSDMA > 65 bus_size_t physaddr; > 66 void *buffer; /* non Kernel Virtual Address */ > 67 #endif > 68 }; > > Regards, > Kohji Okuno Hi, http://svnweb.freebsd.org/changeset/base/266969 --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1JZ2Xpy5 (FB_current)
文章代碼(AID): #1JZ2Xpy5 (FB_current)