Module Name: src Committed By: tsutsui Date: Sun Mar 20 17:54:03 UTC 2011
Modified Files: src/sys/conf: files src/sys/dev/usb: files.usb Log Message: Add usb_dma attribute for DMA capable USB host controllers and specify that usb_dma attribute to dev/usb/usb_mem.c. usb_mem.c uses bus_dma(9) for DMA memory allocation, but non-DMA capable USB host controllers like slhci(4) doesn't need them at all, and some ports don't bother to prepare MD bus_dma(9) implementation (yet). Discussed on current-users http://mail-index.NetBSD.org/current-users/2011/03/13/msg015995.html and usb_dma attribute is suggested by bouyer@. Tested by kiyohara@ on mmeye with slhci at pcmcia. To generate a diff of this commit: cvs rdiff -u -r1.1004 -r1.1005 src/sys/conf/files cvs rdiff -u -r1.104 -r1.105 src/sys/dev/usb/files.usb Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.