diff options
| author | Dan Williams <[email protected]> | 2012-07-10 04:06:08 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2012-08-24 09:10:24 +0000 |
| commit | 8d8e7d13146eb6be8b98dbd58ac30421a4f8edf3 (patch) | |
| tree | d00645c868455e957fc79d61e8bdd07dfe920516 /drivers/scsi/mpt2sas/mpt2sas_debug.h | |
| parent | [SCSI] isci: implement suspend/resume support (diff) | |
| download | kernel-8d8e7d13146eb6be8b98dbd58ac30421a4f8edf3.tar.gz kernel-8d8e7d13146eb6be8b98dbd58ac30421a4f8edf3.zip | |
[SCSI] libsas, ipr: cleanup ata_host flags initialization via ata_host_init
libsas and ipr pass flags to ata_host_init that are meant for the port.
ata_host flags:
ATA_HOST_SIMPLEX = (1 << 0), /* Host is simplex, one DMA channel per host only */
ATA_HOST_STARTED = (1 << 1), /* Host started */
ATA_HOST_PARALLEL_SCAN = (1 << 2), /* Ports on this host can be scanned in parallel */
ATA_HOST_IGNORE_ATA = (1 << 3), /* Ignore ATA devices on this host. */
flags passed by libsas:
ATA_FLAG_SATA = (1 << 1),
ATA_FLAG_PIO_DMA = (1 << 7), /* PIO cmds via DMA */
ATA_FLAG_NCQ = (1 << 10), /* host supports NCQ */
The only one that aliases is ATA_HOST_STARTED which is a 'don't care' in
the libsas and ipr cases since ata_hosts from these sources are not
registered with libata.
Reported-by: Hannes Reinecke <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Acked-by: Brian King <[email protected]>
Acked-by: Jeff Garzik <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_debug.h')
0 files changed, 0 insertions, 0 deletions
