summaryrefslogtreecommitdiff
path: root/drivers/scsi/Kconfig
blob: 4d643816fcce71b991dfde687527729c275b92e4 (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
45
46
47
config SCSI
	bool "Support SCSI controllers"
	select SPL_LEGACY_BLOCK
	help
	  This enables support for SCSI (Small Computer System Interface),
	  a parallel interface widely used with storage peripherals such as
	  hard drives and optical drives. The SCSI standards define physical
	  interfaces as well as protocols for controlling devices and
	  tranferring data.

config DM_SCSI
	bool "Support SCSI controllers with driver model"
	help
	  This option enables the SCSI (Small Computer System Interface) uclass
	  which supports SCSI and SATA HDDs. For every device configuration
	  (IDs/LUNs) a block device is created with RAW read/write and
	  filesystem support.

if SCSI && !DM_SCSI

config SCSI_AHCI_PLAT
	bool "Platform-specific init of AHCI"
	help
	  This enables a way for boards to set up an AHCI device manually, by
	  called ahci_init() and providing an ahci_reset() mechanism.

	  This is deprecated. An AHCI driver should be provided instead.

config SYS_SCSI_MAX_SCSI_ID
	int "Maximum supporedt SCSI ID"
	default 1
	help
	  Sets the maximum number of SCSI IDs to scan when looking for devices.
	  IDs from 0 to (this value - 1) are scanned.

	  This is deprecated and is not needed when BLK is enabled.

config SYS_SCSI_MAX_LUN
	int "Maximum support SCSI LUN"
	default 1
	help
	  Sets the maximum number of SCSI Logical Unit Numbers (LUNs) to scan on
	  devices. LUNs from 0 to (this value - 1) are scanned.

	  This is deprecated and is not needed when CONFIG_DM_SCSI is enabled.

endif