aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/drivers/pci/Kconfig
blob: 5aaee3c707b0816626cc4d0a613e1639d7532256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
config PCI
	bool "PCI support"
	depends on SYS_SUPPORTS_PCI
	help
	  Find out whether you have a PCI motherboard. PCI is the name of a
	  bus system, i.e. the way the CPU talks to the other stuff inside
	  your box. If you have PCI, say Y, otherwise N.

config SH_PCIDMA_NONCOHERENT
	bool "Cache and PCI noncoherent"
	depends on PCI
	default y
	help
	  Enable this option if your platform does not have a CPU cache which
	  remains coherent with PCI DMA. It is safest to say 'Y', although you
	  will see better performance if you can say 'N', because the PCI DMA
	  code will not have to flush the CPU's caches. If you have a PCI host
	  bridge integrated with your SH CPU, refer carefully to the chip specs
	  to see if you can say 'N' here. Otherwise, leave it as 'Y'.

# Temporary config option for transitioning off of PCI_AUTO
config PCI_NEW
	bool
	depends on PCI
	default y if CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7780 || \
		     CPU_SUBTYPE_SH7785 || CPU_SH5 || \
		     CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R

# This is also board-specific
config PCI_AUTO
	bool
	depends on PCI && !PCI_NEW
	default y

config PCI_AUTO_UPDATE_RESOURCES
	bool
	depends on PCI_AUTO
	default y if !SH_DREAMCAST
	help
	  Selecting this option will cause the PCI auto code to leave your
	  BAR values alone. Otherwise they will be updated automatically. If
	  for some reason, you have a board that simply refuses to work
	  with its resources updated beyond what they are when the device
	  is powered up, set this to N. Everyone else will want this as Y.