[SCSI] isci: initial sgpio write support
Basic support to initialize the gpio unit, accept an incomming SAS_GPIO_REG_TX_GP bitstream, and translate it to the ODx.n fields in the hardware registers. If register indexes outside the supported range are specified in the SMP frame we simply accept the write and return how many registers (SFF-8485) were written (libsas reports this as residue in the request). Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:

committed by
James Bottomley

parent
13257cfbc5
commit
ad4f4c1de8
@@ -192,6 +192,9 @@ static struct sas_domain_function_template isci_transport_ops = {
|
||||
|
||||
/* Phy management */
|
||||
.lldd_control_phy = isci_phy_control,
|
||||
|
||||
/* GPIO support */
|
||||
.lldd_write_gpio = isci_gpio_write,
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user