diff options
author | Maciej Patelczyk <maciej.patelczyk@intel.com> | 2011-04-28 22:06:16 +0000 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 04:00:38 -0700 |
commit | 115bd1f9e8ee11744818e6eb5351d05ab6a8402e (patch) | |
tree | f22c291b6a80b5f47ae1f886cf27a19e51ec52c2 /drivers/scsi/isci/port.c | |
parent | e1e72a00dd9db0cd2b7d106916645626f53c0382 (diff) | |
download | blackbird-op-linux-115bd1f9e8ee11744818e6eb5351d05ab6a8402e.tar.gz blackbird-op-linux-115bd1f9e8ee11744818e6eb5351d05ab6a8402e.zip |
isci: Removed sci_base_object from scic_sds_port.
The 'struct sci_base_object' was removed from the struct
scic_sds_port and was replaced by a pointer to
struct isci_port.
Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/port.c')
-rw-r--r-- | drivers/scsi/isci/port.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c index d600b09192e7..30d6ad895ccf 100644 --- a/drivers/scsi/isci/port.c +++ b/drivers/scsi/isci/port.c @@ -100,8 +100,8 @@ void isci_port_init( isci_port_change_state(isci_port, isci_freed); (void)scic_controller_get_port_handle(controller, index, &scic_port); - sci_object_set_association(scic_port, isci_port); isci_port->sci_port_handle = scic_port; + scic_port->iport = isci_port; } @@ -169,9 +169,8 @@ void isci_port_link_up( { unsigned long flags; struct scic_port_properties properties; - struct isci_port *isci_port - = (struct isci_port *)sci_object_get_association(port); struct isci_phy *isci_phy = phy->iphy; + struct isci_port *isci_port = port->iport; enum sci_status call_status; unsigned long success = true; |