Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] libsas: drop sata port multiplier infrastructure

On the way to add a new sata_device field, noticed that libsas is
carrying port multiplier infrastructure that is explicitly disabled by
sas_discover_sata(). The aic94xx touches the unused port_no, so leave
that field in case there was some use for it.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

authored by

Dan Williams and committed by
James Bottomley
a494fd5b b17caa17

-7
-6
drivers/scsi/libsas/sas_discover.c
··· 46 46 INIT_LIST_HEAD(&dev->ex_dev.children); 47 47 mutex_init(&dev->ex_dev.cmd_mutex); 48 48 break; 49 - case SATA_DEV: 50 - case SATA_PM: 51 - case SATA_PM_PORT: 52 - case SATA_PENDING: 53 - INIT_LIST_HEAD(&dev->sata_dev.children); 54 - break; 55 49 default: 56 50 break; 57 51 }
-1
include/scsi/libsas.h
··· 169 169 enum ata_command_set command_set; 170 170 struct smp_resp rps_resp; /* report_phy_sata_resp */ 171 171 u8 port_no; /* port number, if this is a PM (Port) */ 172 - struct list_head children; /* PM Ports if this is a PM */ 173 172 174 173 struct ata_port *ap; 175 174 struct ata_host ata_host;