| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | menu "DMA support" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-05-09 17:36:15 +09:00
										 |  |  | config SH_DMA | 
					
						
							|  |  |  | 	bool "SuperH on-chip DMA controller (DMAC) support" | 
					
						
							| 
									
										
										
										
											2007-07-20 14:23:04 +09:00
										 |  |  | 	depends on CPU_SH3 || CPU_SH4 | 
					
						
							| 
									
										
										
										
											2007-05-09 17:36:15 +09:00
										 |  |  | 	default n | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-03-16 03:22:07 +00:00
										 |  |  | config SH_DMA_IRQ_MULTI | 
					
						
							|  |  |  | 	bool | 
					
						
							|  |  |  | 	depends on SH_DMA | 
					
						
							| 
									
										
										
										
											2009-04-04 11:40:22 -04:00
										 |  |  | 	default y if CPU_SUBTYPE_SH7750  || CPU_SUBTYPE_SH7751  || \ | 
					
						
							|  |  |  | 		     CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \ | 
					
						
							|  |  |  | 		     CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091  || \ | 
					
						
							|  |  |  | 		     CPU_SUBTYPE_SH7763  || CPU_SUBTYPE_SH7764  || \ | 
					
						
							| 
									
										
										
										
											2009-05-11 09:01:08 +00:00
										 |  |  | 		     CPU_SUBTYPE_SH7780  || CPU_SUBTYPE_SH7785  || \ | 
					
						
							|  |  |  | 		     CPU_SUBTYPE_SH7760 | 
					
						
							| 
									
										
										
										
											2009-03-16 03:22:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-09-07 03:26:23 +00:00
										 |  |  | config SH_DMA_API | 
					
						
							|  |  |  | 	depends on SH_DMA | 
					
						
							|  |  |  | 	bool "SuperH DMA API support" | 
					
						
							|  |  |  | 	default n | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  SH_DMA_API always enabled DMA API of used SuperH. | 
					
						
							|  |  |  | 	  If you want to use DMA ENGINE, you must not enable this. | 
					
						
							|  |  |  | 	  Please enable DMA_ENGINE and SH_DMAE. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | config NR_ONCHIP_DMA_CHANNELS | 
					
						
							| 
									
										
										
										
											2007-07-20 14:24:57 +09:00
										 |  |  | 	int | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 	depends on SH_DMA | 
					
						
							| 
									
										
										
										
											2009-04-04 11:40:22 -04:00
										 |  |  | 	default "4" if CPU_SUBTYPE_SH7750  || CPU_SUBTYPE_SH7751  || \ | 
					
						
							|  |  |  | 		       CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7091 | 
					
						
							|  |  |  | 	default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \ | 
					
						
							|  |  |  | 		       CPU_SUBTYPE_SH7760 | 
					
						
							|  |  |  | 	default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780  || \ | 
					
						
							| 
									
										
										
										
											2009-08-19 10:24:15 +00:00
										 |  |  | 			CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7724 | 
					
						
							| 
									
										
										
										
											2009-03-10 17:26:49 +09:00
										 |  |  | 	default "6" | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 	help | 
					
						
							|  |  |  | 	  This allows you to specify the number of channels that the on-chip | 
					
						
							| 
									
										
										
										
											2009-08-19 10:24:15 +00:00
										 |  |  | 	  DMAC supports. This will be 4 for SH7750/SH7751/Sh7750S/SH7091 and 8 for the | 
					
						
							|  |  |  | 	  SH7750R/SH7751R/SH7760, 12 for the SH7723/SH7780/SH7785/SH7724, default is 6. | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | config NR_DMA_CHANNELS_BOOL | 
					
						
							|  |  |  | 	depends on SH_DMA | 
					
						
							|  |  |  | 	bool "Override default number of maximum DMA channels" | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  This allows you to forcibly update the maximum number of supported | 
					
						
							|  |  |  | 	  DMA channels for a given board. If this is unset, this will default | 
					
						
							|  |  |  | 	  to the number of channels that the on-chip DMAC has. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | config NR_DMA_CHANNELS | 
					
						
							|  |  |  | 	int "Maximum number of DMA channels" | 
					
						
							|  |  |  | 	depends on SH_DMA && NR_DMA_CHANNELS_BOOL | 
					
						
							|  |  |  | 	default NR_ONCHIP_DMA_CHANNELS | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  This allows you to specify the maximum number of DMA channels to | 
					
						
							|  |  |  | 	  support. Setting this to a higher value allows for cascading DMACs | 
					
						
							|  |  |  | 	  with additional channels. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-05-09 17:36:15 +09:00
										 |  |  | config SH_DMABRG | 
					
						
							|  |  |  | 	bool "SH7760 DMABRG support" | 
					
						
							|  |  |  | 	depends on CPU_SUBTYPE_SH7760 | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  The DMABRG does data transfers from main memory to Audio/USB units | 
					
						
							|  |  |  | 	  of the SH7760. | 
					
						
							|  |  |  | 	  Say Y if you want to use Audio/USB DMA on your SH7760 board. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-03-17 09:30:36 +09:00
										 |  |  | config PVR2_DMA | 
					
						
							|  |  |  | 	tristate "PowerVR 2 DMAC support" | 
					
						
							|  |  |  | 	depends on SH_DREAMCAST && SH_DMA | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  Selecting this will enable support for the PVR2 DMA controller. | 
					
						
							|  |  |  | 	  As this chains off of the on-chip DMAC, that must also be | 
					
						
							|  |  |  | 	  enabled by default. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	  This is primarily used by the pvr2fb framebuffer driver for | 
					
						
							|  |  |  | 	  certain optimizations, but is not necessary for functionality. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	  If in doubt, say N. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-03-17 12:47:56 +09:00
										 |  |  | config G2_DMA | 
					
						
							|  |  |  | 	tristate "G2 Bus DMA support" | 
					
						
							|  |  |  | 	depends on SH_DREAMCAST | 
					
						
							|  |  |  | 	select SH_DMA_API | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  This enables support for the DMA controller for the Dreamcast's | 
					
						
							|  |  |  | 	  G2 bus. Drivers that want this will generally enable this on | 
					
						
							|  |  |  | 	  their own. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	  If in doubt, say N. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | endmenu |